run_dump_test "x86-64-amx-fp16"
run_dump_test "x86-64-amx-fp16-intel"
run_dump_test "x86-64-amx-fp16-bad"
+ run_list_test "x86-64-amx-fp16-inval"
run_dump_test "x86-64-avx-ifma"
run_dump_test "x86-64-avx-ifma-intel"
run_list_test "x86-64-avx-ifma-inval"
run_dump_test "x86-64-amx-complex"
run_dump_test "x86-64-amx-complex-intel"
run_dump_test "x86-64-amx-complex-bad"
+ run_list_test "x86-64-amx-complex-inval"
run_dump_test "x86-64-clzero"
run_dump_test "x86-64-mwaitx-bdver4"
run_list_test "x86-64-mwaitx-reg"
--- /dev/null
+.* Assembler messages:
+.*:5: Error: all tmm registers must be distinct for `tcmmimfp16ps'
+.*:6: Error: all tmm registers must be distinct for `tcmmimfp16ps'
+.*:7: Error: all tmm registers must be distinct for `tcmmimfp16ps'
+.*:10: Error: all tmm registers must be distinct for `tcmmimfp16ps'
+.*:11: Error: all tmm registers must be distinct for `tcmmimfp16ps'
+.*:12: Error: all tmm registers must be distinct for `tcmmimfp16ps'
--- /dev/null
+# Check illegal register usage in AMX-COMPLEX instructions
+
+ .text
+_start:
+ tcmmimfp16ps %tmm1, %tmm1, %tmm0
+ tcmmimfp16ps %tmm1, %tmm0, %tmm1
+ tcmmimfp16ps %tmm0, %tmm1, %tmm1
+
+ .intel_syntax noprefix
+ tcmmimfp16ps tmm0, tmm1, tmm1
+ tcmmimfp16ps tmm1, tmm0, tmm1
+ tcmmimfp16ps tmm0, tmm1, tmm1
--- /dev/null
+.* Assembler messages:
+.*:5: Error: all tmm registers must be distinct for `tdpfp16ps'
+.*:6: Error: all tmm registers must be distinct for `tdpfp16ps'
+.*:7: Error: all tmm registers must be distinct for `tdpfp16ps'
+.*:10: Error: all tmm registers must be distinct for `tdpfp16ps'
+.*:11: Error: all tmm registers must be distinct for `tdpfp16ps'
+.*:12: Error: all tmm registers must be distinct for `tdpfp16ps'
--- /dev/null
+# Check illegal register usage in AMX-FP16 instructions
+
+ .text
+_start:
+ tdpfp16ps %tmm1, %tmm1, %tmm0
+ tdpfp16ps %tmm1, %tmm0, %tmm1
+ tdpfp16ps %tmm0, %tmm1, %tmm1
+
+ .intel_syntax noprefix
+ tdpfp16ps tmm0, tmm1, tmm1
+ tdpfp16ps tmm1, tmm0, tmm1
+ tdpfp16ps tmm0, tmm1, tmm1
.*:10: Error: all tmm registers must be distinct for `tdpbssd'
.*:11: Error: all tmm registers must be distinct for `tdpbssd'
.*:12: Error: all tmm registers must be distinct for `tdpbssd'
-.*:15: Error: `\[rip\]' cannot be used here
-.*:16: Error: `\[rip\]' cannot be used here
-.*:17: Error: `\[rip\]' cannot be used here
-.*:18: Error: operand size mismatch for `tdpbssd'
-.*:19: Error: operand size mismatch for `vaddps'
-.*:20: Error: all tmm registers must be distinct for `tdpbssd'
-.*:21: Error: all tmm registers must be distinct for `tdpbssd'
-.*:22: Error: all tmm registers must be distinct for `tdpbssd'
+.*:13: Error: all tmm registers must be distinct for `tdpbf16ps'
+.*:14: Error: all tmm registers must be distinct for `tdpbf16ps'
+.*:15: Error: all tmm registers must be distinct for `tdpbf16ps'
+.*:18: Error: `\[rip\]' cannot be used here
+.*:19: Error: `\[rip\]' cannot be used here
+.*:20: Error: `\[rip\]' cannot be used here
+.*:21: Error: operand size mismatch for `tdpbssd'
+.*:22: Error: operand size mismatch for `vaddps'
+.*:23: Error: all tmm registers must be distinct for `tdpbssd'
+.*:24: Error: all tmm registers must be distinct for `tdpbssd'
+.*:25: Error: all tmm registers must be distinct for `tdpbssd'
+.*:26: Error: all tmm registers must be distinct for `tdpbf16ps'
+.*:27: Error: all tmm registers must be distinct for `tdpbf16ps'
+.*:28: Error: all tmm registers must be distinct for `tdpbf16ps'
tdpbssd %tmm1, %tmm1, %tmm0
tdpbssd %tmm1, %tmm0, %tmm1
tdpbssd %tmm0, %tmm1, %tmm1
+ tdpbf16ps %tmm1, %tmm1, %tmm0
+ tdpbf16ps %tmm1, %tmm0, %tmm1
+ tdpbf16ps %tmm0, %tmm1, %tmm1
.intel_syntax noprefix
tileloadd tmm1, [rip]
tdpbssd tmm0, tmm1, tmm1
tdpbssd tmm1, tmm0, tmm1
tdpbssd tmm1, tmm1, tmm0
+ tdpbf16ps tmm0, tmm1, tmm1
+ tdpbf16ps tmm1, tmm0, tmm1
+ tdpbf16ps tmm0, tmm1, tmm1