qemu-e2k/target/s390x
Richard Henderson 8350079329 target/s390x: Fix some helper_ex problems
(1) The OR of the low bits or R1 into INSN were not being done
consistently; it was forgotten along all but the SVC path.
(2) The setting of ILEN was wrong on SVC path for EXRL.
(3) The data load for ICM read too much.

Fix these by consolidating data load at the beginning, using
get_ilen to control the number of bytes loaded, and ORing in
the byte from R1.  Use extract64 from the full aligned insn
to extract arguments.

Pass in ILEN rather than RET as the more natural way to give
the required data along the SVC path.

Modify ENV->CC_OP directly rather than include it in the
functional interface.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
2017-06-06 14:34:31 -07:00
..
Makefile.objs makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables 2017-03-16 11:51:15 +08:00
arch_dump.c s390x/arch_dump: pass cpuid into notes sections 2017-02-24 10:15:18 +01:00
cc_helper.c
cpu-qom.h
cpu.c migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
cpu.h target/s390x: Add support for the TEST BLOCK instruction 2017-06-06 14:34:31 -07:00
cpu_features.c
cpu_features.h
cpu_features_def.h
cpu_models.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
cpu_models.h
fpu_helper.c
gdbstub.c * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
gen-features.c
helper.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
helper.h target/s390x: Fix some helper_ex problems 2017-06-06 14:34:31 -07:00
insn-data.def target/s390x: Add support for the TEST BLOCK instruction 2017-06-06 14:34:31 -07:00
insn-format.def
int_helper.c target-s390x: Avoid a loop for popcnt 2017-01-10 08:48:57 -08:00
interrupt.c
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 migration: consolidate VMStateField.start 2017-02-13 17:27:13 +00:00
mem_helper.c target/s390x: Fix some helper_ex problems 2017-06-06 14:34:31 -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: Add support for the TEST BLOCK instruction 2017-06-06 14:34:31 -07:00
trace-events
translate.c target/s390x: Fix some helper_ex problems 2017-06-06 14:34:31 -07:00