summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-amx-complex.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/x86-64-amx-complex.s')
-rw-r--r--gas/testsuite/gas/i386/x86-64-amx-complex.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/x86-64-amx-complex.s b/gas/testsuite/gas/i386/x86-64-amx-complex.s
new file mode 100644
index 00000000000..56f1a00fa9e
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-amx-complex.s
@@ -0,0 +1,15 @@
+# Check 64bit AMX-COMPLEX instructions
+
+ .allow_index_reg
+ .text
+_start:
+ tcmmimfp16ps %tmm4, %tmm5, %tmm6 #AMX-COMPLEX
+ tcmmimfp16ps %tmm1, %tmm2, %tmm3 #AMX-COMPLEX
+ tcmmrlfp16ps %tmm4, %tmm5, %tmm6 #AMX-COMPLEX
+ tcmmrlfp16ps %tmm1, %tmm2, %tmm3 #AMX-COMPLEX
+
+.intel_syntax noprefix
+ tcmmimfp16ps tmm6, tmm5, tmm4 #AMX-COMPLEX
+ tcmmimfp16ps tmm3, tmm2, tmm1 #AMX-COMPLEX
+ tcmmrlfp16ps tmm6, tmm5, tmm4 #AMX-COMPLEX
+ tcmmrlfp16ps tmm3, tmm2, tmm1 #AMX-COMPLEX