Hi Ricky,

On 12/2/23 09:28, Ricky Zhou wrote:
Fix the exception classes for some SSE/AVX instructions to match what is
documented in the Intel manual.

Most of these changes have no functional effect on the behavior that
qemu implements (primarily >= 16-byte memory alignment checks). For
example, 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.

Having this patch split in 2 (documentation first, logical change then)
would ease code review.

There is one functional change:

Before this change, MOVNTPS and MOVNTPD were labeled as Exception Class
4 (only requiring alignment for legacy SSE instructions). This changes
them to Exception Class 1 (always requiring memory alignment), as
documented in the Intel manual.

This could be a 3rd patch.

Signed-off-by: Ricky Zhou <ri...@rzhou.org>
---
  target/i386/tcg/decode-new.c.inc | 79 ++++++++++++++++----------------
  1 file changed, 40 insertions(+), 39 deletions(-)

Regards,

Phil.

Reply via email to