xref: /llvm-project/llvm/test/MC/X86/AMX/amx-error.s (revision 42b193c962bd04b840b121e5fd27131038404925)
1// RUN: not llvm-mc -triple x86_64 %s 2>&1 | FileCheck %s
2
3// CHECK: error: all tmm registers must be distinct
4tcmmimfp16ps %tmm0, %tmm0, %tmm0
5
6// CHECK: error: all tmm registers must be distinct
7tcmmrlfp16ps %tmm1, %tmm0, %tmm1
8
9// CHECK: error: all tmm registers must be distinct
10tdpbf16ps %tmm2, %tmm2, %tmm0
11
12// CHECK: error: all tmm registers must be distinct
13tdpfp16ps %tmm3, %tmm0, %tmm0
14
15// CHECK: error: all tmm registers must be distinct
16tdpbssd %tmm0, %tmm0, %tmm0
17
18// CHECK: error: all tmm registers must be distinct
19tdpbsud %tmm1, %tmm0, %tmm1
20
21// CHECK: error: all tmm registers must be distinct
22tdpbusd %tmm2, %tmm2, %tmm0
23
24// CHECK: error: all tmm registers must be distinct
25tdpbuud %tmm3, %tmm0, %tmm0
26