OSDN Git Service

target/i386: tcg: high bits SSE cmp operation must be ignored
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Mar 2022 08:08:39 +0000 (09:08 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Mar 2022 08:11:03 +0000 (09:11 +0100)
commitde65b39a517c9977769c612af716dc418ce2ea0b
treea98cfc64dc1230134c98f9cf3f4b09d696f25cbb
parent98a02bc4492c7e00a703ad42f1ff9d2f3521a138
target/i386: tcg: high bits SSE cmp operation must be ignored

High bits in the immediate operand of SSE comparisons are ignored, they
do not result in an undefined opcode exception.  This is mentioned
explicitly in the Intel documentation.

Reported-by: sonicadvance1@gmail.com
Closes: https://gitlab.com/qemu-project/qemu/-/issues/184
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c