aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-10-10 10:35:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-25 17:35:07 +0200
commit48adb240498de5f628631ba7c713a4ccd0cda358 (patch)
tree09a2705828ea33bf68508e3b137233fcd915f6c6
parent05a0a100a5e37716c11995532c0b249214846462 (diff)
downloadqemu-48adb240498de5f628631ba7c713a4ccd0cda358.zip
qemu-48adb240498de5f628631ba7c713a4ccd0cda358.tar.gz
qemu-48adb240498de5f628631ba7c713a4ccd0cda358.tar.bz2
tests/tcg/i386: test-avx: add test cases for SHA new instructions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rwxr-xr-xtests/tcg/i386/test-avx.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tcg/i386/test-avx.py b/tests/tcg/i386/test-avx.py
index 641a2ef..6063fb2 100755
--- a/tests/tcg/i386/test-avx.py
+++ b/tests/tcg/i386/test-avx.py
@@ -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,