diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-01-07 18:14:20 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-10-04 17:41:04 +0300 |
commit | c9a2d122bfc274ea4ca4a460b7a0d0ee7499190d (patch) | |
tree | 619c0ded29e2d23a63f142c3e45c24c8376b5b2a /qga/commands-linux.c | |
parent | 8da0da879929e5b7593e8f841d8accd54b5ad511 (diff) |
target/i386: fix operand size of unary SSE operations
VRCPSS, VRSQRTSS and VCVTSx2Sx have a 32-bit or 64-bit memory operand,
which is represented in the decoding tables by X86_VEX_REPScalar. Add it
to the tables, and make validate_vex() handle the case of an instruction
that is in exception type 4 without the REP prefix and exception type 5
with it; this is the cas of VRCP and VRSQRT.
Reported-by: yongwoo <https://gitlab.com/yongwoo36>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1377
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 3d304620ec6c95f31db17acc132f42f243369299)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qga/commands-linux.c')
0 files changed, 0 insertions, 0 deletions