xref: /llvm-project/llvm/test/MC/RISCV/rvv/compare.s (revision b27f86b40b20942c0e809128214b43d6edde365a)
1# RUN: llvm-mc -triple=riscv64 -show-encoding --mattr=+v %s \
2# RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING
3# RUN: not llvm-mc -triple=riscv64 -show-encoding %s 2>&1 \
4# RUN:        | FileCheck %s --check-prefix=CHECK-ERROR
5# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+v %s \
6# RUN:        | llvm-objdump -d --mattr=+v - \
7# RUN:        | FileCheck %s --check-prefix=CHECK-INST
8# RUN: llvm-mc -triple=riscv64 -filetype=obj --mattr=+v %s \
9# RUN:        | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN
10
11vmslt.vv v0, v4, v20, v0.t
12# CHECK-INST: vmslt.vv v0, v4, v20, v0.t
13# CHECK-ENCODING: [0x57,0x00,0x4a,0x6c]
14# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
15# CHECK-UNKNOWN: 6c4a0057 <unknown>
16
17vmseq.vv v8, v4, v20, v0.t
18# CHECK-INST: vmseq.vv v8, v4, v20, v0.t
19# CHECK-ENCODING: [0x57,0x04,0x4a,0x60]
20# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
21# CHECK-UNKNOWN: 604a0457 <unknown>
22
23vmseq.vv v8, v4, v20
24# CHECK-INST: vmseq.vv v8, v4, v20
25# CHECK-ENCODING: [0x57,0x04,0x4a,0x62]
26# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
27# CHECK-UNKNOWN: 624a0457 <unknown>
28
29vmseq.vx v8, v4, a0, v0.t
30# CHECK-INST: vmseq.vx v8, v4, a0, v0.t
31# CHECK-ENCODING: [0x57,0x44,0x45,0x60]
32# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
33# CHECK-UNKNOWN: 60454457 <unknown>
34
35vmseq.vx v8, v4, a0
36# CHECK-INST: vmseq.vx v8, v4, a0
37# CHECK-ENCODING: [0x57,0x44,0x45,0x62]
38# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
39# CHECK-UNKNOWN: 62454457 <unknown>
40
41vmseq.vi v8, v4, 15, v0.t
42# CHECK-INST: vmseq.vi v8, v4, 0xf, v0.t
43# CHECK-ENCODING: [0x57,0xb4,0x47,0x60]
44# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
45# CHECK-UNKNOWN: 6047b457 <unknown>
46
47vmseq.vi v8, v4, 15
48# CHECK-INST: vmseq.vi v8, v4, 0xf
49# CHECK-ENCODING: [0x57,0xb4,0x47,0x62]
50# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
51# CHECK-UNKNOWN: 6247b457 <unknown>
52
53vmsne.vv v8, v4, v20, v0.t
54# CHECK-INST: vmsne.vv v8, v4, v20, v0.t
55# CHECK-ENCODING: [0x57,0x04,0x4a,0x64]
56# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
57# CHECK-UNKNOWN: 644a0457 <unknown>
58
59vmsne.vv v8, v4, v20
60# CHECK-INST: vmsne.vv v8, v4, v20
61# CHECK-ENCODING: [0x57,0x04,0x4a,0x66]
62# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
63# CHECK-UNKNOWN: 664a0457 <unknown>
64
65vmsne.vx v8, v4, a0, v0.t
66# CHECK-INST: vmsne.vx v8, v4, a0, v0.t
67# CHECK-ENCODING: [0x57,0x44,0x45,0x64]
68# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
69# CHECK-UNKNOWN: 64454457 <unknown>
70
71vmsne.vx v8, v4, a0
72# CHECK-INST: vmsne.vx v8, v4, a0
73# CHECK-ENCODING: [0x57,0x44,0x45,0x66]
74# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
75# CHECK-UNKNOWN: 66454457 <unknown>
76
77vmsne.vi v8, v4, 15, v0.t
78# CHECK-INST: vmsne.vi v8, v4, 0xf, v0.t
79# CHECK-ENCODING: [0x57,0xb4,0x47,0x64]
80# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
81# CHECK-UNKNOWN: 6447b457 <unknown>
82
83vmsne.vi v8, v4, 15
84# CHECK-INST: vmsne.vi v8, v4, 0xf
85# CHECK-ENCODING: [0x57,0xb4,0x47,0x66]
86# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
87# CHECK-UNKNOWN: 6647b457 <unknown>
88
89vmsltu.vv v8, v4, v20, v0.t
90# CHECK-INST: vmsltu.vv v8, v4, v20, v0.t
91# CHECK-ENCODING: [0x57,0x04,0x4a,0x68]
92# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
93# CHECK-UNKNOWN: 684a0457 <unknown>
94
95vmsltu.vv v8, v4, v20
96# CHECK-INST: vmsltu.vv v8, v4, v20
97# CHECK-ENCODING: [0x57,0x04,0x4a,0x6a]
98# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
99# CHECK-UNKNOWN: 6a4a0457 <unknown>
100
101vmsltu.vx v8, v4, a0, v0.t
102# CHECK-INST: vmsltu.vx v8, v4, a0, v0.t
103# CHECK-ENCODING: [0x57,0x44,0x45,0x68]
104# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
105# CHECK-UNKNOWN: 68454457 <unknown>
106
107vmsltu.vx v8, v4, a0
108# CHECK-INST: vmsltu.vx v8, v4, a0
109# CHECK-ENCODING: [0x57,0x44,0x45,0x6a]
110# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
111# CHECK-UNKNOWN: 6a454457 <unknown>
112
113vmslt.vv v8, v4, v20, v0.t
114# CHECK-INST: vmslt.vv v8, v4, v20, v0.t
115# CHECK-ENCODING: [0x57,0x04,0x4a,0x6c]
116# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
117# CHECK-UNKNOWN: 6c4a0457 <unknown>
118
119vmslt.vv v8, v4, v20
120# CHECK-INST: vmslt.vv v8, v4, v20
121# CHECK-ENCODING: [0x57,0x04,0x4a,0x6e]
122# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
123# CHECK-UNKNOWN: 6e4a0457 <unknown>
124
125vmslt.vx v8, v4, a0, v0.t
126# CHECK-INST: vmslt.vx v8, v4, a0, v0.t
127# CHECK-ENCODING: [0x57,0x44,0x45,0x6c]
128# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
129# CHECK-UNKNOWN: 6c454457 <unknown>
130
131vmslt.vx v8, v4, a0
132# CHECK-INST: vmslt.vx v8, v4, a0
133# CHECK-ENCODING: [0x57,0x44,0x45,0x6e]
134# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
135# CHECK-UNKNOWN: 6e454457 <unknown>
136
137vmsleu.vv v8, v4, v20, v0.t
138# CHECK-INST: vmsleu.vv v8, v4, v20, v0.t
139# CHECK-ENCODING: [0x57,0x04,0x4a,0x70]
140# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
141# CHECK-UNKNOWN: 704a0457 <unknown>
142
143vmsleu.vv v8, v4, v20
144# CHECK-INST: vmsleu.vv v8, v4, v20
145# CHECK-ENCODING: [0x57,0x04,0x4a,0x72]
146# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
147# CHECK-UNKNOWN: 724a0457 <unknown>
148
149vmsleu.vx v8, v4, a0, v0.t
150# CHECK-INST: vmsleu.vx v8, v4, a0, v0.t
151# CHECK-ENCODING: [0x57,0x44,0x45,0x70]
152# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
153# CHECK-UNKNOWN: 70454457 <unknown>
154
155vmsleu.vx v8, v4, a0
156# CHECK-INST: vmsleu.vx v8, v4, a0
157# CHECK-ENCODING: [0x57,0x44,0x45,0x72]
158# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
159# CHECK-UNKNOWN: 72454457 <unknown>
160
161vmsleu.vi v8, v4, 15, v0.t
162# CHECK-INST: vmsleu.vi v8, v4, 0xf, v0.t
163# CHECK-ENCODING: [0x57,0xb4,0x47,0x70]
164# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
165# CHECK-UNKNOWN: 7047b457 <unknown>
166
167vmsleu.vi v8, v4, 15
168# CHECK-INST: vmsleu.vi v8, v4, 0xf
169# CHECK-ENCODING: [0x57,0xb4,0x47,0x72]
170# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
171# CHECK-UNKNOWN: 7247b457 <unknown>
172
173vmsle.vv v8, v4, v20, v0.t
174# CHECK-INST: vmsle.vv v8, v4, v20, v0.t
175# CHECK-ENCODING: [0x57,0x04,0x4a,0x74]
176# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
177# CHECK-UNKNOWN: 744a0457 <unknown>
178
179vmsle.vv v8, v4, v20
180# CHECK-INST: vmsle.vv v8, v4, v20
181# CHECK-ENCODING: [0x57,0x04,0x4a,0x76]
182# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
183# CHECK-UNKNOWN: 764a0457 <unknown>
184
185vmsle.vx v8, v4, a0, v0.t
186# CHECK-INST: vmsle.vx v8, v4, a0, v0.t
187# CHECK-ENCODING: [0x57,0x44,0x45,0x74]
188# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
189# CHECK-UNKNOWN: 74454457 <unknown>
190
191vmsle.vx v8, v4, a0
192# CHECK-INST: vmsle.vx v8, v4, a0
193# CHECK-ENCODING: [0x57,0x44,0x45,0x76]
194# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
195# CHECK-UNKNOWN: 76454457 <unknown>
196
197vmsle.vi v8, v4, 15, v0.t
198# CHECK-INST: vmsle.vi v8, v4, 0xf, v0.t
199# CHECK-ENCODING: [0x57,0xb4,0x47,0x74]
200# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
201# CHECK-UNKNOWN: 7447b457 <unknown>
202
203vmsle.vi v8, v4, 15
204# CHECK-INST: vmsle.vi v8, v4, 0xf
205# CHECK-ENCODING: [0x57,0xb4,0x47,0x76]
206# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
207# CHECK-UNKNOWN: 7647b457 <unknown>
208
209vmsgtu.vx v8, v4, a0, v0.t
210# CHECK-INST: vmsgtu.vx v8, v4, a0, v0.t
211# CHECK-ENCODING: [0x57,0x44,0x45,0x78]
212# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
213# CHECK-UNKNOWN: 78454457 <unknown>
214
215vmsgtu.vx v8, v4, a0
216# CHECK-INST: vmsgtu.vx v8, v4, a0
217# CHECK-ENCODING: [0x57,0x44,0x45,0x7a]
218# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
219# CHECK-UNKNOWN: 7a454457 <unknown>
220
221vmsgtu.vi v8, v4, 15, v0.t
222# CHECK-INST: vmsgtu.vi v8, v4, 0xf, v0.t
223# CHECK-ENCODING: [0x57,0xb4,0x47,0x78]
224# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
225# CHECK-UNKNOWN: 7847b457 <unknown>
226
227vmsgtu.vi v8, v4, 15
228# CHECK-INST: vmsgtu.vi v8, v4, 0xf
229# CHECK-ENCODING: [0x57,0xb4,0x47,0x7a]
230# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
231# CHECK-UNKNOWN: 7a47b457 <unknown>
232
233vmsgt.vx v8, v4, a0, v0.t
234# CHECK-INST: vmsgt.vx v8, v4, a0, v0.t
235# CHECK-ENCODING: [0x57,0x44,0x45,0x7c]
236# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
237# CHECK-UNKNOWN: 7c454457 <unknown>
238
239vmsgt.vx v8, v4, a0
240# CHECK-INST: vmsgt.vx v8, v4, a0
241# CHECK-ENCODING: [0x57,0x44,0x45,0x7e]
242# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
243# CHECK-UNKNOWN: 7e454457 <unknown>
244
245vmsgt.vi v8, v4, 15, v0.t
246# CHECK-INST: vmsgt.vi v8, v4, 0xf, v0.t
247# CHECK-ENCODING: [0x57,0xb4,0x47,0x7c]
248# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
249# CHECK-UNKNOWN: 7c47b457 <unknown>
250
251vmsgt.vi v8, v4, 15
252# CHECK-INST: vmsgt.vi v8, v4, 0xf
253# CHECK-ENCODING: [0x57,0xb4,0x47,0x7e]
254# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
255# CHECK-UNKNOWN: 7e47b457 <unknown>
256
257vmsgtu.vv v8, v20, v4, v0.t
258# CHECK-INST: vmsltu.vv v8, v4, v20, v0.t
259# CHECK-ENCODING: [0x57,0x04,0x4a,0x68]
260# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
261# CHECK-UNKNOWN: 684a0457 <unknown>
262
263vmsgtu.vv v8, v20, v4
264# CHECK-INST: vmsltu.vv v8, v4, v20
265# CHECK-ENCODING: [0x57,0x04,0x4a,0x6a]
266# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
267# CHECK-UNKNOWN: 6a4a0457 <unknown>
268
269vmsgt.vv v8, v20, v4, v0.t
270# CHECK-INST: vmslt.vv v8, v4, v20, v0.t
271# CHECK-ENCODING: [0x57,0x04,0x4a,0x6c]
272# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
273# CHECK-UNKNOWN: 6c4a0457 <unknown>
274
275vmsgt.vv v8, v20, v4
276# CHECK-INST: vmslt.vv v8, v4, v20
277# CHECK-ENCODING: [0x57,0x04,0x4a,0x6e]
278# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
279# CHECK-UNKNOWN: 6e4a0457 <unknown>
280
281vmsgeu.vv v8, v20, v4, v0.t
282# CHECK-INST: vmsleu.vv v8, v4, v20, v0.t
283# CHECK-ENCODING: [0x57,0x04,0x4a,0x70]
284# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
285# CHECK-UNKNOWN: 704a0457 <unknown>
286
287vmsgeu.vv v8, v20, v4
288# CHECK-INST: vmsleu.vv v8, v4, v20
289# CHECK-ENCODING: [0x57,0x04,0x4a,0x72]
290# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
291# CHECK-UNKNOWN: 724a0457 <unknown>
292
293vmsge.vv v8, v20, v4, v0.t
294# CHECK-INST: vmsle.vv v8, v4, v20, v0.t
295# CHECK-ENCODING: [0x57,0x04,0x4a,0x74]
296# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
297# CHECK-UNKNOWN: 744a0457 <unknown>
298
299vmsge.vv v8, v20, v4
300# CHECK-INST: vmsle.vv v8, v4, v20
301# CHECK-ENCODING: [0x57,0x04,0x4a,0x76]
302# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
303# CHECK-UNKNOWN: 764a0457 <unknown>
304
305vmsltu.vi v8, v4, 16, v0.t
306# CHECK-INST: vmsleu.vi v8, v4, 0xf, v0.t
307# CHECK-ENCODING: [0x57,0xb4,0x47,0x70]
308# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
309# CHECK-UNKNOWN: 7047b457 <unknown>
310
311vmsltu.vi v8, v4, 16
312# CHECK-INST: vmsleu.vi v8, v4, 0xf
313# CHECK-ENCODING: [0x57,0xb4,0x47,0x72]
314# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
315# CHECK-UNKNOWN: 7247b457 <unknown>
316
317vmsltu.vi v8, v4, 0, v0.t
318# CHECK-INST: vmsne.vv v8, v4, v4, v0.t
319# CHECK-ENCODING: [0x57,0x04,0x42,0x64]
320# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
321# CHECK-UNKNOWN: 64420457 <unknown>
322
323vmsltu.vi v8, v4, 0
324# CHECK-INST: vmsne.vv v8, v4, v4
325# CHECK-ENCODING: [0x57,0x04,0x42,0x66]
326# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
327# CHECK-UNKNOWN: 66420457 <unknown>
328
329vmslt.vi v8, v4, 16, v0.t
330# CHECK-INST: vmsle.vi v8, v4, 0xf, v0.t
331# CHECK-ENCODING: [0x57,0xb4,0x47,0x74]
332# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
333# CHECK-UNKNOWN: 7447b457 <unknown>
334
335vmslt.vi v8, v4, 16
336# CHECK-INST: vmsle.vi v8, v4, 0xf
337# CHECK-ENCODING: [0x57,0xb4,0x47,0x76]
338# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
339# CHECK-UNKNOWN: 7647b457 <unknown>
340
341vmsgeu.vi v8, v4, 16, v0.t
342# CHECK-INST: vmsgtu.vi v8, v4, 0xf, v0.t
343# CHECK-ENCODING: [0x57,0xb4,0x47,0x78]
344# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
345# CHECK-UNKNOWN: 7847b457 <unknown>
346
347vmsgeu.vi v8, v4, 16
348# CHECK-INST: vmsgtu.vi v8, v4, 0xf
349# CHECK-ENCODING: [0x57,0xb4,0x47,0x7a]
350# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
351# CHECK-UNKNOWN: 7a47b457 <unknown>
352
353vmsgeu.vi v8, v4, 0, v0.t
354# CHECK-INST: vmseq.vv v8, v4, v4, v0.t
355# CHECK-ENCODING: [0x57,0x04,0x42,0x60]
356# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
357# CHECK-UNKNOWN: 60420457 <unknown>
358
359vmsgeu.vi v8, v4, 0
360# CHECK-INST: vmseq.vv v8, v4, v4
361# CHECK-ENCODING: [0x57,0x04,0x42,0x62]
362# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
363# CHECK-UNKNOWN: 62420457 <unknown>
364
365vmsge.vi v8, v4, 16, v0.t
366# CHECK-INST: vmsgt.vi v8, v4, 0xf, v0.t
367# CHECK-ENCODING: [0x57,0xb4,0x47,0x7c]
368# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
369# CHECK-UNKNOWN: 7c47b457 <unknown>
370
371vmsge.vi v8, v4, 16
372# CHECK-INST: vmsgt.vi v8, v4, 0xf
373# CHECK-ENCODING: [0x57,0xb4,0x47,0x7e]
374# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
375# CHECK-UNKNOWN: 7e47b457 <unknown>
376
377vmsgeu.vx v8, v4, a0
378# CHECK-INST: vmsltu.vx v8, v4, a0
379# CHECK-INST: vmnot.m v8, v8
380# CHECK-ENCODING: [0x57,0x44,0x45,0x6a]
381# CHECK-ENCODING: [0x57,0x24,0x84,0x76]
382# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
383# CHECK-UNKNOWN: 6a454457 <unknown>
384# CHECK-UNKNOWN: 76842457 <unknown>
385
386vmsge.vx v0, v4, a0
387# CHECK-INST: vmslt.vx v0, v4, a0
388# CHECK-INST: vmnot.m v0, v0
389# CHECK-ENCODING: [0x57,0x40,0x45,0x6e]
390# CHECK-ENCODING: [0x57,0x20,0x00,0x76]
391# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
392# CHECK-UNKNOWN: 6e454057 <unknown>
393# CHECK-UNKNOWN: 76002057 <unknown>
394
395vmsge.vx v8, v4, a0
396# CHECK-INST: vmslt.vx v8, v4, a0
397# CHECK-INST: vmnot.m v8, v8
398# CHECK-ENCODING: [0x57,0x44,0x45,0x6e]
399# CHECK-ENCODING: [0x57,0x24,0x84,0x76]
400# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
401# CHECK-UNKNOWN: 6e454457 <unknown>
402# CHECK-UNKNOWN: 76842457 <unknown>
403
404vmsgeu.vx v8, v4, a0, v0.t
405# CHECK-INST: vmsltu.vx v8, v4, a0, v0.t
406# CHECK-INST: vmxor.mm v8, v8, v0
407# CHECK-ENCODING: [0x57,0x44,0x45,0x68]
408# CHECK-ENCODING: [0x57,0x24,0x80,0x6e]
409# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
410# CHECK-UNKNOWN: 68454457 <unknown>
411# CHECK-UNKNOWN: 6e802457 <unknown>
412
413vmsge.vx v8, v4, a0, v0.t
414# CHECK-INST: vmslt.vx v8, v4, a0, v0.t
415# CHECK-INST: vmxor.mm v8, v8, v0
416# CHECK-ENCODING: [0x57,0x44,0x45,0x6c]
417# CHECK-ENCODING: [0x57,0x24,0x80,0x6e]
418# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
419# CHECK-UNKNOWN: 6c454457 <unknown>
420# CHECK-UNKNOWN: 6e802457 <unknown>
421
422vmsgeu.vx v0, v4, a0, v0.t, v2
423# CHECK-INST: vmsltu.vx v2, v4, a0
424# CHECK-INST: vmandn.mm v0, v0, v2
425# CHECK-ENCODING: [0x57,0x41,0x45,0x6a]
426# CHECK-ENCODING: [0x57,0x20,0x01,0x62]
427# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
428# CHECK-UNKNOWN: 6a454157 <unknown>
429# CHECK-UNKNOWN: 62012057 <unknown>
430
431vmsge.vx v0, v4, a0, v0.t, v2
432# CHECK-INST: vmslt.vx v2, v4, a0
433# CHECK-INST: vmandn.mm v0, v0, v2
434# CHECK-ENCODING: [0x57,0x41,0x45,0x6e]
435# CHECK-ENCODING: [0x57,0x20,0x01,0x62]
436# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
437# CHECK-UNKNOWN: 6e454157 <unknown>
438# CHECK-UNKNOWN: 62012057 <unknown>
439
440vmsgeu.vx v9, v4, a0, v0.t, v2
441# CHECK-INST: vmsltu.vx v2, v4, a0
442# CHECK-INST: vmandn.mm v2, v0, v2
443# CHECK-INST: vmandn.mm v9, v9, v0
444# CHECK-INST: vmor.mm v9, v2, v9
445# CHECK-ENCODING: [0x57,0x41,0x45,0x6a]
446# CHECK-ENCODING: [0x57,0x21,0x01,0x62]
447# CHECK-ENCODING: [0xd7,0x24,0x90,0x62]
448# CHECK-ENCODING: [0xd7,0xa4,0x24,0x6a]
449# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
450# CHECK-UNKNOWN: 6a454157 <unknown>
451# CHECK-UNKNOWN: 62012157 <unknown>
452# CHECK-UNKNOWN: 629024d7 <unknown>
453# CHECK-UNKNOWN: 6a24a4d7 <unknown>
454
455vmsge.vx v8, v4, a0, v0.t, v2
456# CHECK-INST: vmslt.vx v2, v4, a0
457# CHECK-INST: vmandn.mm v2, v0, v2
458# CHECK-INST: vmandn.mm v8, v8, v0
459# CHECK-INST: vmor.mm v8, v2, v8
460# CHECK-ENCODING: [0x57,0x41,0x45,0x6e]
461# CHECK-ENCODING: [0x57,0x21,0x01,0x62]
462# CHECK-ENCODING: [0x57,0x24,0x80,0x62]
463# CHECK-ENCODING: [0x57,0x24,0x24,0x6a]
464# CHECK-ERROR: instruction requires the following: 'V' (Vector Extension for Application Processors), 'Zve32x' (Vector Extensions for Embedded Processors){{$}}
465# CHECK-UNKNOWN: 6e454157 <unknown>
466# CHECK-UNKNOWN: 62012157 <unknown>
467# CHECK-UNKNOWN: 62802457 <unknown>
468# CHECK-UNKNOWN: 6a242457 <unknown>
469