unicorn/qemu/qom
Joseph Myers e5b84c6d59
target/i386: set rip_offset for some SSE4.1 instructions
When emulating various SSE4.1 instructions such as pinsrd, the address
of a memory operand is computed without allowing for the 8-bit
immediate operand located after the memory operand, meaning that the
memory operand uses the wrong address in the case where it is
rip-relative. This patch adds the required rip_offset setting for
those instructions, so fixing some GCC test failures (13 in the gcc
testsuite in my GCC 6-based testing) when testing with a default CPU
setting enabling those instructions.

Backports commit ab6ab3e9972a49a359f59895a88bed311472ca97 from qemu
2018-03-04 01:41:43 -05:00
..
container.c qom: Allow properties to be registered against classes 2018-02-21 21:00:56 -05:00
cpu.c target/i386: set rip_offset for some SSE4.1 instructions 2018-03-04 01:41:43 -05:00
Makefile.objs import 2015-08-21 15:04:50 +08:00
object.c qom: Fix ambiguous path detection when ambiguous=NULL 2018-03-03 22:49:21 -05:00
qom-qobject.c qapi: Drop unused non-strict qobject input visitor 2018-03-02 12:14:52 -05:00