From: Paolo Bonzini Date: Wed, 10 May 2023 16:36:39 +0000 (+0200) Subject: tests/tcg/i386: correct mask for VPERM2F128/VPERM2I128 X-Git-Tag: v8.1.0-rc0~118^2~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e65829699f901c62a612316a2897f4ad8a27049;p=thirdparty%2Fqemu.git tests/tcg/i386: correct mask for VPERM2F128/VPERM2I128 The instructions also use bits 3 and 7 of their 8-byte immediate. Signed-off-by: Paolo Bonzini --- diff --git a/tests/tcg/i386/test-avx.py b/tests/tcg/i386/test-avx.py index d9ca00a49e6..641a2ef69eb 100755 --- a/tests/tcg/i386/test-avx.py +++ b/tests/tcg/i386/test-avx.py @@ -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,