tests/tcg/i386: test-avx: add test cases for SHA new instructions
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Oct 2023 08:35:45 +0000 (10:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Oct 2023 15:35:07 +0000 (17:35 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/tcg/i386/test-avx.py

index 641a2ef69ebc31a89125ff84953fede2d2edd602..6063fb2d11da67acd33d1be19bff091957e5b8a8 100755 (executable)
@@ -9,7 +9,7 @@ from fnmatch import fnmatch
 archs = [
     "SSE", "SSE2", "SSE3", "SSSE3", "SSE4_1", "SSE4_2",
     "AES", "AVX", "AVX2", "AES+AVX", "VAES+AVX",
-    "F16C", "FMA",
+    "F16C", "FMA", "SHA",
 ]
 
 ignore = set(["FISTTP",
@@ -43,6 +43,7 @@ imask = {
     'vPS[LR][AL][WDQ]': 0x3f,
     'vPS[RL]LDQ': 0x1f,
     'vROUND[PS][SD]': 0x7,
+    'SHA1RNDS4': 0x03,
     'vSHUFPD': 0x0f,
     'vSHUFPS': 0xff,
     'vAESKEYGENASSIST': 0xff,