summary refs log tree commit diff stats
path: root/util/scsi.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-08-08 23:51:29 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-19 14:09:10 +0200
commitc6a8242915328cda0df0fbc0803da3448137e614 (patch)
tree6e2ce41ed3ecc4d51c86c96e8f57f2bc99bbfc09 /util/scsi.c
parentc6a56c8e990b213a1638af2d34352771d5fa4d9c (diff)
downloadfocaccia-qemu-c6a8242915328cda0df0fbc0803da3448137e614.tar.gz
focaccia-qemu-c6a8242915328cda0df0fbc0803da3448137e614.zip
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.)

Signed-off-by: Joseph Myers <joseph@codesourcery.com>

Message-Id: <alpine.DEB.2.20.1708082350340.23380@digraph.polyomino.org.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/scsi.c')
0 files changed, 0 insertions, 0 deletions