unicorn/qemu
Joseph Myers 84b3c54b18
target/i386: set rip_offset for further SSE instructions
It turns out that my recent fix to set rip_offset when emulating some
SSE4.1 instructions needs generalizing to cover a wider class of
instructions. Specifically, every instruction in the sse_op_table7
table, coming from various instruction set extensions, has an 8-bit
immediate operand that comes after any memory operand, and so needs
rip_offset set for correctness if there is a memory operand that is
rip-relative, and my patch only set it for a subset of those
instructions. This patch moves the rip_offset setting to cover the
wider class of instructions, so fixing 9 further gcc testsuite
failures in my GCC 6-based testing. (I do not know whether there
might be still further classes of instructions missing this setting.)

Backports commit c6a8242915328cda0df0fbc0803da3448137e614 from qemu
2018-03-04 23:57:12 -05:00
..
accel target/arm: [tcg] Port to generic translation framework 2018-03-04 20:28:06 -05:00
crypto
default-configs
docs
fpu
hw
include tcg/s390: Use constant pool for movi 2018-03-04 22:32:04 -05:00
qapi
qobject
qom boards.h: Define new flag ignore_memory_transaction_failures 2018-03-04 21:27:15 -05:00
scripts
target target/i386: set rip_offset for further SSE instructions 2018-03-04 23:57:12 -05:00
tcg tcg/mips: Fully convert tcg_target_op_def 2018-03-04 23:54:26 -05:00
util configure: Drop AIX host support 2018-03-04 21:32:40 -05:00
aarch64.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
aarch64eb.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
accel.c
arm.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
armeb.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
atomic_template.h
CODING_STYLE
configure configure: Drop AIX host support 2018-03-04 21:32:40 -05:00
COPYING
COPYING.LIB
cpu-exec-common.c
cpu-exec.c tcg: Move USE_DIRECT_JUMP discriminator to tcg/cpu/tcg-target.h 2018-03-04 21:52:35 -05:00
cpus.c
cputlb.c cputlb: Support generating CPU exceptions on memory transaction failures 2018-03-04 13:14:50 -05:00
exec.c memory: Open code FlatView rendering 2018-03-04 02:06:48 -05:00
gen_all_header.sh
glib_compat.c
HACKING
header_gen.py tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
ioport.c
LICENSE
m68k.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
Makefile
Makefile.objs
Makefile.target tcg: Add generic translation framework 2018-03-04 14:31:16 -05:00
memory_ldst.inc.c
memory_mapping.c
memory.c memory: Move FlatView allocation to a helper 2018-03-04 02:08:37 -05:00
mips64.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
mips64el.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
mips.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
mipsel.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
powerpc.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
qapi-schema.json
qemu-timer.c
rules.mak
softmmu_template.h cputlb: Support generating CPU exceptions on memory transaction failures 2018-03-04 13:14:50 -05:00
sparc64.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
sparc.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00
tcg-runtime.c
translate-all.c tcg: Infrastructure for managing constant pools 2018-03-04 22:17:33 -05:00
translate-all.h
translate-common.c
unicorn_common.h
VERSION
vl.c
vl.h
x86_64.h tcg: Add tcg_op_supported 2018-03-04 23:20:28 -05:00