Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / SME2 / smax.s
blobdecae3635e67c0327ac206b87662c88ce6dfd43a
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %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 < %s \
6 // RUN: | llvm-objdump -d --mattr=+sme2 - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \
8 // RUN: | llvm-objdump -d --mattr=-sme2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \
10 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
11 // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \
12 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
15 smax {z0.h, z1.h}, {z0.h, z1.h}, z0.h // 11000001-01100000-10100000-00000000
16 // CHECK-INST: smax { z0.h, z1.h }, { z0.h, z1.h }, z0.h
17 // CHECK-ENCODING: [0x00,0xa0,0x60,0xc1]
18 // CHECK-ERROR: instruction requires: sme2
19 // CHECK-UNKNOWN: c160a000 <unknown>
21 smax {z20.h, z21.h}, {z20.h, z21.h}, z5.h // 11000001-01100101-10100000-00010100
22 // CHECK-INST: smax { z20.h, z21.h }, { z20.h, z21.h }, z5.h
23 // CHECK-ENCODING: [0x14,0xa0,0x65,0xc1]
24 // CHECK-ERROR: instruction requires: sme2
25 // CHECK-UNKNOWN: c165a014 <unknown>
27 smax {z22.h, z23.h}, {z22.h, z23.h}, z8.h // 11000001-01101000-10100000-00010110
28 // CHECK-INST: smax { z22.h, z23.h }, { z22.h, z23.h }, z8.h
29 // CHECK-ENCODING: [0x16,0xa0,0x68,0xc1]
30 // CHECK-ERROR: instruction requires: sme2
31 // CHECK-UNKNOWN: c168a016 <unknown>
33 smax {z30.h, z31.h}, {z30.h, z31.h}, z15.h // 11000001-01101111-10100000-00011110
34 // CHECK-INST: smax { z30.h, z31.h }, { z30.h, z31.h }, z15.h
35 // CHECK-ENCODING: [0x1e,0xa0,0x6f,0xc1]
36 // CHECK-ERROR: instruction requires: sme2
37 // CHECK-UNKNOWN: c16fa01e <unknown>
40 smax {z0.h, z1.h}, {z0.h, z1.h}, {z0.h, z1.h} // 11000001-01100000-10110000-00000000
41 // CHECK-INST: smax { z0.h, z1.h }, { z0.h, z1.h }, { z0.h, z1.h }
42 // CHECK-ENCODING: [0x00,0xb0,0x60,0xc1]
43 // CHECK-ERROR: instruction requires: sme2
44 // CHECK-UNKNOWN: c160b000 <unknown>
46 smax {z20.h, z21.h}, {z20.h, z21.h}, {z20.h, z21.h} // 11000001-01110100-10110000-00010100
47 // CHECK-INST: smax { z20.h, z21.h }, { z20.h, z21.h }, { z20.h, z21.h }
48 // CHECK-ENCODING: [0x14,0xb0,0x74,0xc1]
49 // CHECK-ERROR: instruction requires: sme2
50 // CHECK-UNKNOWN: c174b014 <unknown>
52 smax {z22.h, z23.h}, {z22.h, z23.h}, {z8.h, z9.h} // 11000001-01101000-10110000-00010110
53 // CHECK-INST: smax { z22.h, z23.h }, { z22.h, z23.h }, { z8.h, z9.h }
54 // CHECK-ENCODING: [0x16,0xb0,0x68,0xc1]
55 // CHECK-ERROR: instruction requires: sme2
56 // CHECK-UNKNOWN: c168b016 <unknown>
58 smax {z30.h, z31.h}, {z30.h, z31.h}, {z30.h, z31.h} // 11000001-01111110-10110000-00011110
59 // CHECK-INST: smax { z30.h, z31.h }, { z30.h, z31.h }, { z30.h, z31.h }
60 // CHECK-ENCODING: [0x1e,0xb0,0x7e,0xc1]
61 // CHECK-ERROR: instruction requires: sme2
62 // CHECK-UNKNOWN: c17eb01e <unknown>
65 smax {z0.s, z1.s}, {z0.s, z1.s}, z0.s // 11000001-10100000-10100000-00000000
66 // CHECK-INST: smax { z0.s, z1.s }, { z0.s, z1.s }, z0.s
67 // CHECK-ENCODING: [0x00,0xa0,0xa0,0xc1]
68 // CHECK-ERROR: instruction requires: sme2
69 // CHECK-UNKNOWN: c1a0a000 <unknown>
71 smax {z20.s, z21.s}, {z20.s, z21.s}, z5.s // 11000001-10100101-10100000-00010100
72 // CHECK-INST: smax { z20.s, z21.s }, { z20.s, z21.s }, z5.s
73 // CHECK-ENCODING: [0x14,0xa0,0xa5,0xc1]
74 // CHECK-ERROR: instruction requires: sme2
75 // CHECK-UNKNOWN: c1a5a014 <unknown>
77 smax {z22.s, z23.s}, {z22.s, z23.s}, z8.s // 11000001-10101000-10100000-00010110
78 // CHECK-INST: smax { z22.s, z23.s }, { z22.s, z23.s }, z8.s
79 // CHECK-ENCODING: [0x16,0xa0,0xa8,0xc1]
80 // CHECK-ERROR: instruction requires: sme2
81 // CHECK-UNKNOWN: c1a8a016 <unknown>
83 smax {z30.s, z31.s}, {z30.s, z31.s}, z15.s // 11000001-10101111-10100000-00011110
84 // CHECK-INST: smax { z30.s, z31.s }, { z30.s, z31.s }, z15.s
85 // CHECK-ENCODING: [0x1e,0xa0,0xaf,0xc1]
86 // CHECK-ERROR: instruction requires: sme2
87 // CHECK-UNKNOWN: c1afa01e <unknown>
90 smax {z0.s, z1.s}, {z0.s, z1.s}, {z0.s, z1.s} // 11000001-10100000-10110000-00000000
91 // CHECK-INST: smax { z0.s, z1.s }, { z0.s, z1.s }, { z0.s, z1.s }
92 // CHECK-ENCODING: [0x00,0xb0,0xa0,0xc1]
93 // CHECK-ERROR: instruction requires: sme2
94 // CHECK-UNKNOWN: c1a0b000 <unknown>
96 smax {z20.s, z21.s}, {z20.s, z21.s}, {z20.s, z21.s} // 11000001-10110100-10110000-00010100
97 // CHECK-INST: smax { z20.s, z21.s }, { z20.s, z21.s }, { z20.s, z21.s }
98 // CHECK-ENCODING: [0x14,0xb0,0xb4,0xc1]
99 // CHECK-ERROR: instruction requires: sme2
100 // CHECK-UNKNOWN: c1b4b014 <unknown>
102 smax {z22.s, z23.s}, {z22.s, z23.s}, {z8.s, z9.s} // 11000001-10101000-10110000-00010110
103 // CHECK-INST: smax { z22.s, z23.s }, { z22.s, z23.s }, { z8.s, z9.s }
104 // CHECK-ENCODING: [0x16,0xb0,0xa8,0xc1]
105 // CHECK-ERROR: instruction requires: sme2
106 // CHECK-UNKNOWN: c1a8b016 <unknown>
108 smax {z30.s, z31.s}, {z30.s, z31.s}, {z30.s, z31.s} // 11000001-10111110-10110000-00011110
109 // CHECK-INST: smax { z30.s, z31.s }, { z30.s, z31.s }, { z30.s, z31.s }
110 // CHECK-ENCODING: [0x1e,0xb0,0xbe,0xc1]
111 // CHECK-ERROR: instruction requires: sme2
112 // CHECK-UNKNOWN: c1beb01e <unknown>
115 smax {z0.d, z1.d}, {z0.d, z1.d}, z0.d // 11000001-11100000-10100000-00000000
116 // CHECK-INST: smax { z0.d, z1.d }, { z0.d, z1.d }, z0.d
117 // CHECK-ENCODING: [0x00,0xa0,0xe0,0xc1]
118 // CHECK-ERROR: instruction requires: sme2
119 // CHECK-UNKNOWN: c1e0a000 <unknown>
121 smax {z20.d, z21.d}, {z20.d, z21.d}, z5.d // 11000001-11100101-10100000-00010100
122 // CHECK-INST: smax { z20.d, z21.d }, { z20.d, z21.d }, z5.d
123 // CHECK-ENCODING: [0x14,0xa0,0xe5,0xc1]
124 // CHECK-ERROR: instruction requires: sme2
125 // CHECK-UNKNOWN: c1e5a014 <unknown>
127 smax {z22.d, z23.d}, {z22.d, z23.d}, z8.d // 11000001-11101000-10100000-00010110
128 // CHECK-INST: smax { z22.d, z23.d }, { z22.d, z23.d }, z8.d
129 // CHECK-ENCODING: [0x16,0xa0,0xe8,0xc1]
130 // CHECK-ERROR: instruction requires: sme2
131 // CHECK-UNKNOWN: c1e8a016 <unknown>
133 smax {z30.d, z31.d}, {z30.d, z31.d}, z15.d // 11000001-11101111-10100000-00011110
134 // CHECK-INST: smax { z30.d, z31.d }, { z30.d, z31.d }, z15.d
135 // CHECK-ENCODING: [0x1e,0xa0,0xef,0xc1]
136 // CHECK-ERROR: instruction requires: sme2
137 // CHECK-UNKNOWN: c1efa01e <unknown>
140 smax {z0.d, z1.d}, {z0.d, z1.d}, {z0.d, z1.d} // 11000001-11100000-10110000-00000000
141 // CHECK-INST: smax { z0.d, z1.d }, { z0.d, z1.d }, { z0.d, z1.d }
142 // CHECK-ENCODING: [0x00,0xb0,0xe0,0xc1]
143 // CHECK-ERROR: instruction requires: sme2
144 // CHECK-UNKNOWN: c1e0b000 <unknown>
146 smax {z20.d, z21.d}, {z20.d, z21.d}, {z20.d, z21.d} // 11000001-11110100-10110000-00010100
147 // CHECK-INST: smax { z20.d, z21.d }, { z20.d, z21.d }, { z20.d, z21.d }
148 // CHECK-ENCODING: [0x14,0xb0,0xf4,0xc1]
149 // CHECK-ERROR: instruction requires: sme2
150 // CHECK-UNKNOWN: c1f4b014 <unknown>
152 smax {z22.d, z23.d}, {z22.d, z23.d}, {z8.d, z9.d} // 11000001-11101000-10110000-00010110
153 // CHECK-INST: smax { z22.d, z23.d }, { z22.d, z23.d }, { z8.d, z9.d }
154 // CHECK-ENCODING: [0x16,0xb0,0xe8,0xc1]
155 // CHECK-ERROR: instruction requires: sme2
156 // CHECK-UNKNOWN: c1e8b016 <unknown>
158 smax {z30.d, z31.d}, {z30.d, z31.d}, {z30.d, z31.d} // 11000001-11111110-10110000-00011110
159 // CHECK-INST: smax { z30.d, z31.d }, { z30.d, z31.d }, { z30.d, z31.d }
160 // CHECK-ENCODING: [0x1e,0xb0,0xfe,0xc1]
161 // CHECK-ERROR: instruction requires: sme2
162 // CHECK-UNKNOWN: c1feb01e <unknown>
165 smax {z0.b, z1.b}, {z0.b, z1.b}, z0.b // 11000001-00100000-10100000-00000000
166 // CHECK-INST: smax { z0.b, z1.b }, { z0.b, z1.b }, z0.b
167 // CHECK-ENCODING: [0x00,0xa0,0x20,0xc1]
168 // CHECK-ERROR: instruction requires: sme2
169 // CHECK-UNKNOWN: c120a000 <unknown>
171 smax {z20.b, z21.b}, {z20.b, z21.b}, z5.b // 11000001-00100101-10100000-00010100
172 // CHECK-INST: smax { z20.b, z21.b }, { z20.b, z21.b }, z5.b
173 // CHECK-ENCODING: [0x14,0xa0,0x25,0xc1]
174 // CHECK-ERROR: instruction requires: sme2
175 // CHECK-UNKNOWN: c125a014 <unknown>
177 smax {z22.b, z23.b}, {z22.b, z23.b}, z8.b // 11000001-00101000-10100000-00010110
178 // CHECK-INST: smax { z22.b, z23.b }, { z22.b, z23.b }, z8.b
179 // CHECK-ENCODING: [0x16,0xa0,0x28,0xc1]
180 // CHECK-ERROR: instruction requires: sme2
181 // CHECK-UNKNOWN: c128a016 <unknown>
183 smax {z30.b, z31.b}, {z30.b, z31.b}, z15.b // 11000001-00101111-10100000-00011110
184 // CHECK-INST: smax { z30.b, z31.b }, { z30.b, z31.b }, z15.b
185 // CHECK-ENCODING: [0x1e,0xa0,0x2f,0xc1]
186 // CHECK-ERROR: instruction requires: sme2
187 // CHECK-UNKNOWN: c12fa01e <unknown>
190 smax {z0.b, z1.b}, {z0.b, z1.b}, {z0.b, z1.b} // 11000001-00100000-10110000-00000000
191 // CHECK-INST: smax { z0.b, z1.b }, { z0.b, z1.b }, { z0.b, z1.b }
192 // CHECK-ENCODING: [0x00,0xb0,0x20,0xc1]
193 // CHECK-ERROR: instruction requires: sme2
194 // CHECK-UNKNOWN: c120b000 <unknown>
196 smax {z20.b, z21.b}, {z20.b, z21.b}, {z20.b, z21.b} // 11000001-00110100-10110000-00010100
197 // CHECK-INST: smax { z20.b, z21.b }, { z20.b, z21.b }, { z20.b, z21.b }
198 // CHECK-ENCODING: [0x14,0xb0,0x34,0xc1]
199 // CHECK-ERROR: instruction requires: sme2
200 // CHECK-UNKNOWN: c134b014 <unknown>
202 smax {z22.b, z23.b}, {z22.b, z23.b}, {z8.b, z9.b} // 11000001-00101000-10110000-00010110
203 // CHECK-INST: smax { z22.b, z23.b }, { z22.b, z23.b }, { z8.b, z9.b }
204 // CHECK-ENCODING: [0x16,0xb0,0x28,0xc1]
205 // CHECK-ERROR: instruction requires: sme2
206 // CHECK-UNKNOWN: c128b016 <unknown>
208 smax {z30.b, z31.b}, {z30.b, z31.b}, {z30.b, z31.b} // 11000001-00111110-10110000-00011110
209 // CHECK-INST: smax { z30.b, z31.b }, { z30.b, z31.b }, { z30.b, z31.b }
210 // CHECK-ENCODING: [0x1e,0xb0,0x3e,0xc1]
211 // CHECK-ERROR: instruction requires: sme2
212 // CHECK-UNKNOWN: c13eb01e <unknown>
215 smax {z0.h - z3.h}, {z0.h - z3.h}, z0.h // 11000001-01100000-10101000-00000000
216 // CHECK-INST: smax { z0.h - z3.h }, { z0.h - z3.h }, z0.h
217 // CHECK-ENCODING: [0x00,0xa8,0x60,0xc1]
218 // CHECK-ERROR: instruction requires: sme2
219 // CHECK-UNKNOWN: c160a800 <unknown>
221 smax {z20.h - z23.h}, {z20.h - z23.h}, z5.h // 11000001-01100101-10101000-00010100
222 // CHECK-INST: smax { z20.h - z23.h }, { z20.h - z23.h }, z5.h
223 // CHECK-ENCODING: [0x14,0xa8,0x65,0xc1]
224 // CHECK-ERROR: instruction requires: sme2
225 // CHECK-UNKNOWN: c165a814 <unknown>
227 smax {z20.h - z23.h}, {z20.h - z23.h}, z8.h // 11000001-01101000-10101000-00010100
228 // CHECK-INST: smax { z20.h - z23.h }, { z20.h - z23.h }, z8.h
229 // CHECK-ENCODING: [0x14,0xa8,0x68,0xc1]
230 // CHECK-ERROR: instruction requires: sme2
231 // CHECK-UNKNOWN: c168a814 <unknown>
233 smax {z28.h - z31.h}, {z28.h - z31.h}, z15.h // 11000001-01101111-10101000-00011100
234 // CHECK-INST: smax { z28.h - z31.h }, { z28.h - z31.h }, z15.h
235 // CHECK-ENCODING: [0x1c,0xa8,0x6f,0xc1]
236 // CHECK-ERROR: instruction requires: sme2
237 // CHECK-UNKNOWN: c16fa81c <unknown>
240 smax {z0.h - z3.h}, {z0.h - z3.h}, {z0.h - z3.h} // 11000001-01100000-10111000-00000000
241 // CHECK-INST: smax { z0.h - z3.h }, { z0.h - z3.h }, { z0.h - z3.h }
242 // CHECK-ENCODING: [0x00,0xb8,0x60,0xc1]
243 // CHECK-ERROR: instruction requires: sme2
244 // CHECK-UNKNOWN: c160b800 <unknown>
246 smax {z20.h - z23.h}, {z20.h - z23.h}, {z20.h - z23.h} // 11000001-01110100-10111000-00010100
247 // CHECK-INST: smax { z20.h - z23.h }, { z20.h - z23.h }, { z20.h - z23.h }
248 // CHECK-ENCODING: [0x14,0xb8,0x74,0xc1]
249 // CHECK-ERROR: instruction requires: sme2
250 // CHECK-UNKNOWN: c174b814 <unknown>
252 smax {z20.h - z23.h}, {z20.h - z23.h}, {z8.h - z11.h} // 11000001-01101000-10111000-00010100
253 // CHECK-INST: smax { z20.h - z23.h }, { z20.h - z23.h }, { z8.h - z11.h }
254 // CHECK-ENCODING: [0x14,0xb8,0x68,0xc1]
255 // CHECK-ERROR: instruction requires: sme2
256 // CHECK-UNKNOWN: c168b814 <unknown>
258 smax {z28.h - z31.h}, {z28.h - z31.h}, {z28.h - z31.h} // 11000001-01111100-10111000-00011100
259 // CHECK-INST: smax { z28.h - z31.h }, { z28.h - z31.h }, { z28.h - z31.h }
260 // CHECK-ENCODING: [0x1c,0xb8,0x7c,0xc1]
261 // CHECK-ERROR: instruction requires: sme2
262 // CHECK-UNKNOWN: c17cb81c <unknown>
265 smax {z0.s - z3.s}, {z0.s - z3.s}, z0.s // 11000001-10100000-10101000-00000000
266 // CHECK-INST: smax { z0.s - z3.s }, { z0.s - z3.s }, z0.s
267 // CHECK-ENCODING: [0x00,0xa8,0xa0,0xc1]
268 // CHECK-ERROR: instruction requires: sme2
269 // CHECK-UNKNOWN: c1a0a800 <unknown>
271 smax {z20.s - z23.s}, {z20.s - z23.s}, z5.s // 11000001-10100101-10101000-00010100
272 // CHECK-INST: smax { z20.s - z23.s }, { z20.s - z23.s }, z5.s
273 // CHECK-ENCODING: [0x14,0xa8,0xa5,0xc1]
274 // CHECK-ERROR: instruction requires: sme2
275 // CHECK-UNKNOWN: c1a5a814 <unknown>
277 smax {z20.s - z23.s}, {z20.s - z23.s}, z8.s // 11000001-10101000-10101000-00010100
278 // CHECK-INST: smax { z20.s - z23.s }, { z20.s - z23.s }, z8.s
279 // CHECK-ENCODING: [0x14,0xa8,0xa8,0xc1]
280 // CHECK-ERROR: instruction requires: sme2
281 // CHECK-UNKNOWN: c1a8a814 <unknown>
283 smax {z28.s - z31.s}, {z28.s - z31.s}, z15.s // 11000001-10101111-10101000-00011100
284 // CHECK-INST: smax { z28.s - z31.s }, { z28.s - z31.s }, z15.s
285 // CHECK-ENCODING: [0x1c,0xa8,0xaf,0xc1]
286 // CHECK-ERROR: instruction requires: sme2
287 // CHECK-UNKNOWN: c1afa81c <unknown>
290 smax {z0.s - z3.s}, {z0.s - z3.s}, {z0.s - z3.s} // 11000001-10100000-10111000-00000000
291 // CHECK-INST: smax { z0.s - z3.s }, { z0.s - z3.s }, { z0.s - z3.s }
292 // CHECK-ENCODING: [0x00,0xb8,0xa0,0xc1]
293 // CHECK-ERROR: instruction requires: sme2
294 // CHECK-UNKNOWN: c1a0b800 <unknown>
296 smax {z20.s - z23.s}, {z20.s - z23.s}, {z20.s - z23.s} // 11000001-10110100-10111000-00010100
297 // CHECK-INST: smax { z20.s - z23.s }, { z20.s - z23.s }, { z20.s - z23.s }
298 // CHECK-ENCODING: [0x14,0xb8,0xb4,0xc1]
299 // CHECK-ERROR: instruction requires: sme2
300 // CHECK-UNKNOWN: c1b4b814 <unknown>
302 smax {z20.s - z23.s}, {z20.s - z23.s}, {z8.s - z11.s} // 11000001-10101000-10111000-00010100
303 // CHECK-INST: smax { z20.s - z23.s }, { z20.s - z23.s }, { z8.s - z11.s }
304 // CHECK-ENCODING: [0x14,0xb8,0xa8,0xc1]
305 // CHECK-ERROR: instruction requires: sme2
306 // CHECK-UNKNOWN: c1a8b814 <unknown>
308 smax {z28.s - z31.s}, {z28.s - z31.s}, {z28.s - z31.s} // 11000001-10111100-10111000-00011100
309 // CHECK-INST: smax { z28.s - z31.s }, { z28.s - z31.s }, { z28.s - z31.s }
310 // CHECK-ENCODING: [0x1c,0xb8,0xbc,0xc1]
311 // CHECK-ERROR: instruction requires: sme2
312 // CHECK-UNKNOWN: c1bcb81c <unknown>
315 smax {z0.d - z3.d}, {z0.d - z3.d}, z0.d // 11000001-11100000-10101000-00000000
316 // CHECK-INST: smax { z0.d - z3.d }, { z0.d - z3.d }, z0.d
317 // CHECK-ENCODING: [0x00,0xa8,0xe0,0xc1]
318 // CHECK-ERROR: instruction requires: sme2
319 // CHECK-UNKNOWN: c1e0a800 <unknown>
321 smax {z20.d - z23.d}, {z20.d - z23.d}, z5.d // 11000001-11100101-10101000-00010100
322 // CHECK-INST: smax { z20.d - z23.d }, { z20.d - z23.d }, z5.d
323 // CHECK-ENCODING: [0x14,0xa8,0xe5,0xc1]
324 // CHECK-ERROR: instruction requires: sme2
325 // CHECK-UNKNOWN: c1e5a814 <unknown>
327 smax {z20.d - z23.d}, {z20.d - z23.d}, z8.d // 11000001-11101000-10101000-00010100
328 // CHECK-INST: smax { z20.d - z23.d }, { z20.d - z23.d }, z8.d
329 // CHECK-ENCODING: [0x14,0xa8,0xe8,0xc1]
330 // CHECK-ERROR: instruction requires: sme2
331 // CHECK-UNKNOWN: c1e8a814 <unknown>
333 smax {z28.d - z31.d}, {z28.d - z31.d}, z15.d // 11000001-11101111-10101000-00011100
334 // CHECK-INST: smax { z28.d - z31.d }, { z28.d - z31.d }, z15.d
335 // CHECK-ENCODING: [0x1c,0xa8,0xef,0xc1]
336 // CHECK-ERROR: instruction requires: sme2
337 // CHECK-UNKNOWN: c1efa81c <unknown>
340 smax {z0.d - z3.d}, {z0.d - z3.d}, {z0.d - z3.d} // 11000001-11100000-10111000-00000000
341 // CHECK-INST: smax { z0.d - z3.d }, { z0.d - z3.d }, { z0.d - z3.d }
342 // CHECK-ENCODING: [0x00,0xb8,0xe0,0xc1]
343 // CHECK-ERROR: instruction requires: sme2
344 // CHECK-UNKNOWN: c1e0b800 <unknown>
346 smax {z20.d - z23.d}, {z20.d - z23.d}, {z20.d - z23.d} // 11000001-11110100-10111000-00010100
347 // CHECK-INST: smax { z20.d - z23.d }, { z20.d - z23.d }, { z20.d - z23.d }
348 // CHECK-ENCODING: [0x14,0xb8,0xf4,0xc1]
349 // CHECK-ERROR: instruction requires: sme2
350 // CHECK-UNKNOWN: c1f4b814 <unknown>
352 smax {z20.d - z23.d}, {z20.d - z23.d}, {z8.d - z11.d} // 11000001-11101000-10111000-00010100
353 // CHECK-INST: smax { z20.d - z23.d }, { z20.d - z23.d }, { z8.d - z11.d }
354 // CHECK-ENCODING: [0x14,0xb8,0xe8,0xc1]
355 // CHECK-ERROR: instruction requires: sme2
356 // CHECK-UNKNOWN: c1e8b814 <unknown>
358 smax {z28.d - z31.d}, {z28.d - z31.d}, {z28.d - z31.d} // 11000001-11111100-10111000-00011100
359 // CHECK-INST: smax { z28.d - z31.d }, { z28.d - z31.d }, { z28.d - z31.d }
360 // CHECK-ENCODING: [0x1c,0xb8,0xfc,0xc1]
361 // CHECK-ERROR: instruction requires: sme2
362 // CHECK-UNKNOWN: c1fcb81c <unknown>
365 smax {z0.b - z3.b}, {z0.b - z3.b}, z0.b // 11000001-00100000-10101000-00000000
366 // CHECK-INST: smax { z0.b - z3.b }, { z0.b - z3.b }, z0.b
367 // CHECK-ENCODING: [0x00,0xa8,0x20,0xc1]
368 // CHECK-ERROR: instruction requires: sme2
369 // CHECK-UNKNOWN: c120a800 <unknown>
371 smax {z20.b - z23.b}, {z20.b - z23.b}, z5.b // 11000001-00100101-10101000-00010100
372 // CHECK-INST: smax { z20.b - z23.b }, { z20.b - z23.b }, z5.b
373 // CHECK-ENCODING: [0x14,0xa8,0x25,0xc1]
374 // CHECK-ERROR: instruction requires: sme2
375 // CHECK-UNKNOWN: c125a814 <unknown>
377 smax {z20.b - z23.b}, {z20.b - z23.b}, z8.b // 11000001-00101000-10101000-00010100
378 // CHECK-INST: smax { z20.b - z23.b }, { z20.b - z23.b }, z8.b
379 // CHECK-ENCODING: [0x14,0xa8,0x28,0xc1]
380 // CHECK-ERROR: instruction requires: sme2
381 // CHECK-UNKNOWN: c128a814 <unknown>
383 smax {z28.b - z31.b}, {z28.b - z31.b}, z15.b // 11000001-00101111-10101000-00011100
384 // CHECK-INST: smax { z28.b - z31.b }, { z28.b - z31.b }, z15.b
385 // CHECK-ENCODING: [0x1c,0xa8,0x2f,0xc1]
386 // CHECK-ERROR: instruction requires: sme2
387 // CHECK-UNKNOWN: c12fa81c <unknown>
390 smax {z0.b - z3.b}, {z0.b - z3.b}, {z0.b - z3.b} // 11000001-00100000-10111000-00000000
391 // CHECK-INST: smax { z0.b - z3.b }, { z0.b - z3.b }, { z0.b - z3.b }
392 // CHECK-ENCODING: [0x00,0xb8,0x20,0xc1]
393 // CHECK-ERROR: instruction requires: sme2
394 // CHECK-UNKNOWN: c120b800 <unknown>
396 smax {z20.b - z23.b}, {z20.b - z23.b}, {z20.b - z23.b} // 11000001-00110100-10111000-00010100
397 // CHECK-INST: smax { z20.b - z23.b }, { z20.b - z23.b }, { z20.b - z23.b }
398 // CHECK-ENCODING: [0x14,0xb8,0x34,0xc1]
399 // CHECK-ERROR: instruction requires: sme2
400 // CHECK-UNKNOWN: c134b814 <unknown>
402 smax {z20.b - z23.b}, {z20.b - z23.b}, {z8.b - z11.b} // 11000001-00101000-10111000-00010100
403 // CHECK-INST: smax { z20.b - z23.b }, { z20.b - z23.b }, { z8.b - z11.b }
404 // CHECK-ENCODING: [0x14,0xb8,0x28,0xc1]
405 // CHECK-ERROR: instruction requires: sme2
406 // CHECK-UNKNOWN: c128b814 <unknown>
408 smax {z28.b - z31.b}, {z28.b - z31.b}, {z28.b - z31.b} // 11000001-00111100-10111000-00011100
409 // CHECK-INST: smax { z28.b - z31.b }, { z28.b - z31.b }, { z28.b - z31.b }
410 // CHECK-ENCODING: [0x1c,0xb8,0x3c,0xc1]
411 // CHECK-ERROR: instruction requires: sme2
412 // CHECK-UNKNOWN: c13cb81c <unknown>