target/i386: fix INSERTQ implementation
commitca4b1b43bc5ac25c56a3a7a4a2252d6fdc8dcf02
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 18 Sep 2022 07:52:24 +0000 (18 09:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Sep 2022 13:16:00 +0000 (19 15:16 +0200)
treedc74ed91f4801fe548cf36d1476f5b4f224c2b9d
parent034668c329bb3e257a1f259571bd462938522e7a
target/i386: fix INSERTQ implementation

INSERTQ is defined to not modify any bits in the lower 64 bits of the
destination, other than the ones being replaced with bits from the
source operand.  QEMU instead is using unshifted bits from the source
for those bits.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/ops_sse.h
target/i386/ops_sse_header.h
target/i386/tcg/translate.c