tests/tcg/i386: correct mask for VPERM2F128/VPERM2I128
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 May 2023 16:36:39 +0000 (18:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 06:53:50 +0000 (08:53 +0200)
The instructions also use bits 3 and 7 of their 8-byte immediate.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/tcg/i386/test-avx.py

index d9ca00a49e6c47ea6d20a6a6b32cefd9c416e802..641a2ef69ebc31a89125ff84953fede2d2edd602 100755 (executable)
@@ -49,7 +49,7 @@ imask = {
     'VEXTRACT[FI]128': 0x01,
     'VINSERT[FI]128': 0x01,
     'VPBLENDD': 0xff,
-    'VPERM2[FI]128': 0x33,
+    'VPERM2[FI]128': 0xbb,
     'VPERMPD': 0xff,
     'VPERMQ': 0xff,
     'VPERMILPS': 0xff,