[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SME2 / bfminnm.s
blobf0355803ed9f21a43d0704729a72cef6c9e9c78f
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2,+sve-b16b16 < %s \
2 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
4 // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2,+sve-b16b16 < %s \
6 // RUN: | llvm-objdump -d --mattr=-sme2 --mattr=+sme2,+sve-b16b16 - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2,+sve-b16b16 < %s \
8 // RUN: | llvm-objdump -d --mattr=-sme2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2,+sve-b16b16 < %s \
10 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
11 // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2,+sve-b16b16 -disassemble -show-encoding \
12 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
15 bfminnm {z0.h, z1.h}, {z0.h, z1.h}, z0.h // 11000001-00100000-10100001-00100001
16 // CHECK-INST: bfminnm { z0.h, z1.h }, { z0.h, z1.h }, z0.h
17 // CHECK-ENCODING: [0x21,0xa1,0x20,0xc1]
18 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
19 // CHECK-UNKNOWN: c120a121 <unknown>
21 bfminnm {z20.h, z21.h}, {z20.h, z21.h}, z5.h // 11000001-00100101-10100001-00110101
22 // CHECK-INST: bfminnm { z20.h, z21.h }, { z20.h, z21.h }, z5.h
23 // CHECK-ENCODING: [0x35,0xa1,0x25,0xc1]
24 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
25 // CHECK-UNKNOWN: c125a135 <unknown>
27 bfminnm {z22.h, z23.h}, {z22.h, z23.h}, z8.h // 11000001-00101000-10100001-00110111
28 // CHECK-INST: bfminnm { z22.h, z23.h }, { z22.h, z23.h }, z8.h
29 // CHECK-ENCODING: [0x37,0xa1,0x28,0xc1]
30 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
31 // CHECK-UNKNOWN: c128a137 <unknown>
33 bfminnm {z30.h, z31.h}, {z30.h, z31.h}, z15.h // 11000001-00101111-10100001-00111111
34 // CHECK-INST: bfminnm { z30.h, z31.h }, { z30.h, z31.h }, z15.h
35 // CHECK-ENCODING: [0x3f,0xa1,0x2f,0xc1]
36 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
37 // CHECK-UNKNOWN: c12fa13f <unknown>
40 bfminnm {z0.h, z1.h}, {z0.h, z1.h}, {z0.h, z1.h} // 11000001-00100000-10110001-00100001
41 // CHECK-INST: bfminnm { z0.h, z1.h }, { z0.h, z1.h }, { z0.h, z1.h }
42 // CHECK-ENCODING: [0x21,0xb1,0x20,0xc1]
43 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
44 // CHECK-UNKNOWN: c120b121 <unknown>
46 bfminnm {z20.h, z21.h}, {z20.h, z21.h}, {z20.h, z21.h} // 11000001-00110100-10110001-00110101
47 // CHECK-INST: bfminnm { z20.h, z21.h }, { z20.h, z21.h }, { z20.h, z21.h }
48 // CHECK-ENCODING: [0x35,0xb1,0x34,0xc1]
49 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
50 // CHECK-UNKNOWN: c134b135 <unknown>
52 bfminnm {z22.h, z23.h}, {z22.h, z23.h}, {z8.h, z9.h} // 11000001-00101000-10110001-00110111
53 // CHECK-INST: bfminnm { z22.h, z23.h }, { z22.h, z23.h }, { z8.h, z9.h }
54 // CHECK-ENCODING: [0x37,0xb1,0x28,0xc1]
55 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
56 // CHECK-UNKNOWN: c128b137 <unknown>
58 bfminnm {z30.h, z31.h}, {z30.h, z31.h}, {z30.h, z31.h} // 11000001-00111110-10110001-00111111
59 // CHECK-INST: bfminnm { z30.h, z31.h }, { z30.h, z31.h }, { z30.h, z31.h }
60 // CHECK-ENCODING: [0x3f,0xb1,0x3e,0xc1]
61 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
62 // CHECK-UNKNOWN: c13eb13f <unknown>
65 bfminnm {z0.h - z3.h}, {z0.h - z3.h}, z0.h // 11000001-00100000-10101001-00100001
66 // CHECK-INST: bfminnm { z0.h - z3.h }, { z0.h - z3.h }, z0.h
67 // CHECK-ENCODING: [0x21,0xa9,0x20,0xc1]
68 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
69 // CHECK-UNKNOWN: c120a921 <unknown>
71 bfminnm {z20.h - z23.h}, {z20.h - z23.h}, z5.h // 11000001-00100101-10101001-00110101
72 // CHECK-INST: bfminnm { z20.h - z23.h }, { z20.h - z23.h }, z5.h
73 // CHECK-ENCODING: [0x35,0xa9,0x25,0xc1]
74 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
75 // CHECK-UNKNOWN: c125a935 <unknown>
77 bfminnm {z20.h - z23.h}, {z20.h - z23.h}, z8.h // 11000001-00101000-10101001-00110101
78 // CHECK-INST: bfminnm { z20.h - z23.h }, { z20.h - z23.h }, z8.h
79 // CHECK-ENCODING: [0x35,0xa9,0x28,0xc1]
80 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
81 // CHECK-UNKNOWN: c128a935 <unknown>
83 bfminnm {z28.h - z31.h}, {z28.h - z31.h}, z15.h // 11000001-00101111-10101001-00111101
84 // CHECK-INST: bfminnm { z28.h - z31.h }, { z28.h - z31.h }, z15.h
85 // CHECK-ENCODING: [0x3d,0xa9,0x2f,0xc1]
86 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
87 // CHECK-UNKNOWN: c12fa93d <unknown>
90 bfminnm {z0.h - z3.h}, {z0.h - z3.h}, {z0.h - z3.h} // 11000001-00100000-10111001-00100001
91 // CHECK-INST: bfminnm { z0.h - z3.h }, { z0.h - z3.h }, { z0.h - z3.h }
92 // CHECK-ENCODING: [0x21,0xb9,0x20,0xc1]
93 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
94 // CHECK-UNKNOWN: c120b921 <unknown>
96 bfminnm {z20.h - z23.h}, {z20.h - z23.h}, {z20.h - z23.h} // 11000001-00110100-10111001-00110101
97 // CHECK-INST: bfminnm { z20.h - z23.h }, { z20.h - z23.h }, { z20.h - z23.h }
98 // CHECK-ENCODING: [0x35,0xb9,0x34,0xc1]
99 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
100 // CHECK-UNKNOWN: c134b935 <unknown>
102 bfminnm {z20.h - z23.h}, {z20.h - z23.h}, {z8.h - z11.h} // 11000001-00101000-10111001-00110101
103 // CHECK-INST: bfminnm { z20.h - z23.h }, { z20.h - z23.h }, { z8.h - z11.h }
104 // CHECK-ENCODING: [0x35,0xb9,0x28,0xc1]
105 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
106 // CHECK-UNKNOWN: c128b935 <unknown>
108 bfminnm {z28.h - z31.h}, {z28.h - z31.h}, {z28.h - z31.h} // 11000001-00111100-10111001-00111101
109 // CHECK-INST: bfminnm { z28.h - z31.h }, { z28.h - z31.h }, { z28.h - z31.h }
110 // CHECK-ENCODING: [0x3d,0xb9,0x3c,0xc1]
111 // CHECK-ERROR: instruction requires: sme2 sve-b16b16
112 // CHECK-UNKNOWN: c13cb93d <unknown>