]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Fix exception classes for SSE/AVX instructions.
authorRicky Zhou <ricky@rzhou.org>
Mon, 1 May 2023 11:14:27 +0000 (04:14 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 4 Oct 2023 14:58:06 +0000 (17:58 +0300)
commit72ef83b12fbde8334a09598ff97f29efb24d4f38
tree39f63dece8e36dc35e6e8447ab50c788fa91bb0c
parentcebd957e7b62b915a175015691bfb06149c9ccd0
target/i386: Fix exception classes for SSE/AVX instructions.

Fix the exception classes for some SSE/AVX instructions to match what is
documented in the Intel manual.

These changes are expected to have no functional effect on the behavior
that qemu implements (primarily >= 16-byte memory alignment checks). For
instance, since qemu does not implement the AC flag, there is no
difference in behavior between Exception Classes 4 and 5 for
instructions where the SSE version only takes <16 byte memory operands.
Message-Id: <20230501111428.95998-2-ricky@rzhou.org>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit cab529b0dc15746b270e87d77e1dd12c6216807c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/i386/tcg/decode-new.c.inc