qemu-patch-raspberry4/target/s390x
Aurelien Jarno 84aa07f109 target/s390x: fix COMPARE LOGICAL LONG EXTENDED
There are multiple issues with the COMPARE LOGICAL LONG EXTENDED
instruction:
- The test between the two operands is inverted, leading to an inversion
  of the cc values 1 and 2.
- The address and length of an operand continue to be decreased after
  reaching the end of this operand. These values are then wrong write
  back to the registers.
- We should limit the amount of bytes to process, so that interrupts can
  be served correctly.

At the same time rename dest into src1 and src into src3 to match the
operand names and make the code less confusing.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <20170531220129.27724-18-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
2017-06-06 15:20:43 -07:00
..
arch_dump.c s390x/arch_dump: pass cpuid into notes sections 2017-02-24 10:15:18 +01:00
cc_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
cpu.h target/s390x: remove some Linux assumptions from IPTE 2017-06-06 14:34:32 -07:00
cpu_features.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_features.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_features_def.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu_models.c target/s390x/cpu_models: Allow some additional feature bits for the "qemu" CPU 2017-06-06 14:34:32 -07:00
cpu_models.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
fpu_helper.c target/s390x: implement COMPARE AND SIGNAL 2017-06-06 15:20:38 -07:00
gdbstub.c * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
gen-features.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
helper.c target/s390x: Implement EXECUTE via new TranslationBlock 2017-06-06 14:34:32 -07:00
helper.h target/s390x: implement MOVE ZONES 2017-06-06 15:20:42 -07:00
insn-data.def target/s390x: implement MOVE ZONES 2017-06-06 15:20:42 -07:00
insn-format.def Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
int_helper.c target-s390x: Avoid a loop for popcnt 2017-01-10 08:48:57 -08:00
interrupt.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
ioinst.c s390x/css: ccw translation infrastructure 2017-05-19 12:29:01 +02:00
kvm.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
machine.c target/s390x: Implement EXECUTE via new TranslationBlock 2017-06-06 14:34:32 -07:00
Makefile.objs makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables 2017-03-16 11:51:15 +08:00
mem_helper.c target/s390x: fix COMPARE LOGICAL LONG EXTENDED 2017-06-06 15:20:43 -07:00
misc_helper.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
mmu_helper.c target/s390x: remove some Linux assumptions from IPTE 2017-06-06 14:34:32 -07:00
trace-events Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
translate.c target/s390x: fix COMPARE LOGICAL LONG EXTENDED 2017-06-06 15:20:43 -07:00