1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc --mtriple=loongarch64 --mattr=+lasx < %s | FileCheck %s
4 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.caf.s(<8 x float>, <8 x float>)
6 define <8 x i32> @lasx_xvfcmp_caf_s(<8 x float> %va, <8 x float> %vb) nounwind {
7 ; CHECK-LABEL: lasx_xvfcmp_caf_s:
8 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: xvfcmp.caf.s $xr0, $xr0, $xr1
12 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.caf.s(<8 x float> %va, <8 x float> %vb)
16 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.caf.d(<4 x double>, <4 x double>)
18 define <4 x i64> @lasx_xvfcmp_caf_d(<4 x double> %va, <4 x double> %vb) nounwind {
19 ; CHECK-LABEL: lasx_xvfcmp_caf_d:
20 ; CHECK: # %bb.0: # %entry
21 ; CHECK-NEXT: xvfcmp.caf.d $xr0, $xr0, $xr1
24 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.caf.d(<4 x double> %va, <4 x double> %vb)
28 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cun.s(<8 x float>, <8 x float>)
30 define <8 x i32> @lasx_xvfcmp_cun_s(<8 x float> %va, <8 x float> %vb) nounwind {
31 ; CHECK-LABEL: lasx_xvfcmp_cun_s:
32 ; CHECK: # %bb.0: # %entry
33 ; CHECK-NEXT: xvfcmp.cun.s $xr0, $xr0, $xr1
36 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cun.s(<8 x float> %va, <8 x float> %vb)
40 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cun.d(<4 x double>, <4 x double>)
42 define <4 x i64> @lasx_xvfcmp_cun_d(<4 x double> %va, <4 x double> %vb) nounwind {
43 ; CHECK-LABEL: lasx_xvfcmp_cun_d:
44 ; CHECK: # %bb.0: # %entry
45 ; CHECK-NEXT: xvfcmp.cun.d $xr0, $xr0, $xr1
48 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cun.d(<4 x double> %va, <4 x double> %vb)
52 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.ceq.s(<8 x float>, <8 x float>)
54 define <8 x i32> @lasx_xvfcmp_ceq_s(<8 x float> %va, <8 x float> %vb) nounwind {
55 ; CHECK-LABEL: lasx_xvfcmp_ceq_s:
56 ; CHECK: # %bb.0: # %entry
57 ; CHECK-NEXT: xvfcmp.ceq.s $xr0, $xr0, $xr1
60 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.ceq.s(<8 x float> %va, <8 x float> %vb)
64 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.ceq.d(<4 x double>, <4 x double>)
66 define <4 x i64> @lasx_xvfcmp_ceq_d(<4 x double> %va, <4 x double> %vb) nounwind {
67 ; CHECK-LABEL: lasx_xvfcmp_ceq_d:
68 ; CHECK: # %bb.0: # %entry
69 ; CHECK-NEXT: xvfcmp.ceq.d $xr0, $xr0, $xr1
72 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.ceq.d(<4 x double> %va, <4 x double> %vb)
76 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cueq.s(<8 x float>, <8 x float>)
78 define <8 x i32> @lasx_xvfcmp_cueq_s(<8 x float> %va, <8 x float> %vb) nounwind {
79 ; CHECK-LABEL: lasx_xvfcmp_cueq_s:
80 ; CHECK: # %bb.0: # %entry
81 ; CHECK-NEXT: xvfcmp.cueq.s $xr0, $xr0, $xr1
84 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cueq.s(<8 x float> %va, <8 x float> %vb)
88 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cueq.d(<4 x double>, <4 x double>)
90 define <4 x i64> @lasx_xvfcmp_cueq_d(<4 x double> %va, <4 x double> %vb) nounwind {
91 ; CHECK-LABEL: lasx_xvfcmp_cueq_d:
92 ; CHECK: # %bb.0: # %entry
93 ; CHECK-NEXT: xvfcmp.cueq.d $xr0, $xr0, $xr1
96 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cueq.d(<4 x double> %va, <4 x double> %vb)
100 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.clt.s(<8 x float>, <8 x float>)
102 define <8 x i32> @lasx_xvfcmp_clt_s(<8 x float> %va, <8 x float> %vb) nounwind {
103 ; CHECK-LABEL: lasx_xvfcmp_clt_s:
104 ; CHECK: # %bb.0: # %entry
105 ; CHECK-NEXT: xvfcmp.clt.s $xr0, $xr0, $xr1
108 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.clt.s(<8 x float> %va, <8 x float> %vb)
112 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.clt.d(<4 x double>, <4 x double>)
114 define <4 x i64> @lasx_xvfcmp_clt_d(<4 x double> %va, <4 x double> %vb) nounwind {
115 ; CHECK-LABEL: lasx_xvfcmp_clt_d:
116 ; CHECK: # %bb.0: # %entry
117 ; CHECK-NEXT: xvfcmp.clt.d $xr0, $xr0, $xr1
120 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.clt.d(<4 x double> %va, <4 x double> %vb)
124 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cult.s(<8 x float>, <8 x float>)
126 define <8 x i32> @lasx_xvfcmp_cult_s(<8 x float> %va, <8 x float> %vb) nounwind {
127 ; CHECK-LABEL: lasx_xvfcmp_cult_s:
128 ; CHECK: # %bb.0: # %entry
129 ; CHECK-NEXT: xvfcmp.cult.s $xr0, $xr0, $xr1
132 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cult.s(<8 x float> %va, <8 x float> %vb)
136 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cult.d(<4 x double>, <4 x double>)
138 define <4 x i64> @lasx_xvfcmp_cult_d(<4 x double> %va, <4 x double> %vb) nounwind {
139 ; CHECK-LABEL: lasx_xvfcmp_cult_d:
140 ; CHECK: # %bb.0: # %entry
141 ; CHECK-NEXT: xvfcmp.cult.d $xr0, $xr0, $xr1
144 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cult.d(<4 x double> %va, <4 x double> %vb)
148 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cle.s(<8 x float>, <8 x float>)
150 define <8 x i32> @lasx_xvfcmp_cle_s(<8 x float> %va, <8 x float> %vb) nounwind {
151 ; CHECK-LABEL: lasx_xvfcmp_cle_s:
152 ; CHECK: # %bb.0: # %entry
153 ; CHECK-NEXT: xvfcmp.cle.s $xr0, $xr0, $xr1
156 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cle.s(<8 x float> %va, <8 x float> %vb)
160 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cle.d(<4 x double>, <4 x double>)
162 define <4 x i64> @lasx_xvfcmp_cle_d(<4 x double> %va, <4 x double> %vb) nounwind {
163 ; CHECK-LABEL: lasx_xvfcmp_cle_d:
164 ; CHECK: # %bb.0: # %entry
165 ; CHECK-NEXT: xvfcmp.cle.d $xr0, $xr0, $xr1
168 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cle.d(<4 x double> %va, <4 x double> %vb)
172 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cule.s(<8 x float>, <8 x float>)
174 define <8 x i32> @lasx_xvfcmp_cule_s(<8 x float> %va, <8 x float> %vb) nounwind {
175 ; CHECK-LABEL: lasx_xvfcmp_cule_s:
176 ; CHECK: # %bb.0: # %entry
177 ; CHECK-NEXT: xvfcmp.cule.s $xr0, $xr0, $xr1
180 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cule.s(<8 x float> %va, <8 x float> %vb)
184 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cule.d(<4 x double>, <4 x double>)
186 define <4 x i64> @lasx_xvfcmp_cule_d(<4 x double> %va, <4 x double> %vb) nounwind {
187 ; CHECK-LABEL: lasx_xvfcmp_cule_d:
188 ; CHECK: # %bb.0: # %entry
189 ; CHECK-NEXT: xvfcmp.cule.d $xr0, $xr0, $xr1
192 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cule.d(<4 x double> %va, <4 x double> %vb)
196 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cne.s(<8 x float>, <8 x float>)
198 define <8 x i32> @lasx_xvfcmp_cne_s(<8 x float> %va, <8 x float> %vb) nounwind {
199 ; CHECK-LABEL: lasx_xvfcmp_cne_s:
200 ; CHECK: # %bb.0: # %entry
201 ; CHECK-NEXT: xvfcmp.cne.s $xr0, $xr0, $xr1
204 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cne.s(<8 x float> %va, <8 x float> %vb)
208 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cne.d(<4 x double>, <4 x double>)
210 define <4 x i64> @lasx_xvfcmp_cne_d(<4 x double> %va, <4 x double> %vb) nounwind {
211 ; CHECK-LABEL: lasx_xvfcmp_cne_d:
212 ; CHECK: # %bb.0: # %entry
213 ; CHECK-NEXT: xvfcmp.cne.d $xr0, $xr0, $xr1
216 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cne.d(<4 x double> %va, <4 x double> %vb)
220 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cor.s(<8 x float>, <8 x float>)
222 define <8 x i32> @lasx_xvfcmp_cor_s(<8 x float> %va, <8 x float> %vb) nounwind {
223 ; CHECK-LABEL: lasx_xvfcmp_cor_s:
224 ; CHECK: # %bb.0: # %entry
225 ; CHECK-NEXT: xvfcmp.cor.s $xr0, $xr0, $xr1
228 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cor.s(<8 x float> %va, <8 x float> %vb)
232 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cor.d(<4 x double>, <4 x double>)
234 define <4 x i64> @lasx_xvfcmp_cor_d(<4 x double> %va, <4 x double> %vb) nounwind {
235 ; CHECK-LABEL: lasx_xvfcmp_cor_d:
236 ; CHECK: # %bb.0: # %entry
237 ; CHECK-NEXT: xvfcmp.cor.d $xr0, $xr0, $xr1
240 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cor.d(<4 x double> %va, <4 x double> %vb)
244 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.cune.s(<8 x float>, <8 x float>)
246 define <8 x i32> @lasx_xvfcmp_cune_s(<8 x float> %va, <8 x float> %vb) nounwind {
247 ; CHECK-LABEL: lasx_xvfcmp_cune_s:
248 ; CHECK: # %bb.0: # %entry
249 ; CHECK-NEXT: xvfcmp.cune.s $xr0, $xr0, $xr1
252 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.cune.s(<8 x float> %va, <8 x float> %vb)
256 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.cune.d(<4 x double>, <4 x double>)
258 define <4 x i64> @lasx_xvfcmp_cune_d(<4 x double> %va, <4 x double> %vb) nounwind {
259 ; CHECK-LABEL: lasx_xvfcmp_cune_d:
260 ; CHECK: # %bb.0: # %entry
261 ; CHECK-NEXT: xvfcmp.cune.d $xr0, $xr0, $xr1
264 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.cune.d(<4 x double> %va, <4 x double> %vb)
268 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.saf.s(<8 x float>, <8 x float>)
270 define <8 x i32> @lasx_xvfcmp_saf_s(<8 x float> %va, <8 x float> %vb) nounwind {
271 ; CHECK-LABEL: lasx_xvfcmp_saf_s:
272 ; CHECK: # %bb.0: # %entry
273 ; CHECK-NEXT: xvfcmp.saf.s $xr0, $xr0, $xr1
276 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.saf.s(<8 x float> %va, <8 x float> %vb)
280 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.saf.d(<4 x double>, <4 x double>)
282 define <4 x i64> @lasx_xvfcmp_saf_d(<4 x double> %va, <4 x double> %vb) nounwind {
283 ; CHECK-LABEL: lasx_xvfcmp_saf_d:
284 ; CHECK: # %bb.0: # %entry
285 ; CHECK-NEXT: xvfcmp.saf.d $xr0, $xr0, $xr1
288 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.saf.d(<4 x double> %va, <4 x double> %vb)
292 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sun.s(<8 x float>, <8 x float>)
294 define <8 x i32> @lasx_xvfcmp_sun_s(<8 x float> %va, <8 x float> %vb) nounwind {
295 ; CHECK-LABEL: lasx_xvfcmp_sun_s:
296 ; CHECK: # %bb.0: # %entry
297 ; CHECK-NEXT: xvfcmp.sun.s $xr0, $xr0, $xr1
300 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sun.s(<8 x float> %va, <8 x float> %vb)
304 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sun.d(<4 x double>, <4 x double>)
306 define <4 x i64> @lasx_xvfcmp_sun_d(<4 x double> %va, <4 x double> %vb) nounwind {
307 ; CHECK-LABEL: lasx_xvfcmp_sun_d:
308 ; CHECK: # %bb.0: # %entry
309 ; CHECK-NEXT: xvfcmp.sun.d $xr0, $xr0, $xr1
312 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sun.d(<4 x double> %va, <4 x double> %vb)
316 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.seq.s(<8 x float>, <8 x float>)
318 define <8 x i32> @lasx_xvfcmp_seq_s(<8 x float> %va, <8 x float> %vb) nounwind {
319 ; CHECK-LABEL: lasx_xvfcmp_seq_s:
320 ; CHECK: # %bb.0: # %entry
321 ; CHECK-NEXT: xvfcmp.seq.s $xr0, $xr0, $xr1
324 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.seq.s(<8 x float> %va, <8 x float> %vb)
328 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.seq.d(<4 x double>, <4 x double>)
330 define <4 x i64> @lasx_xvfcmp_seq_d(<4 x double> %va, <4 x double> %vb) nounwind {
331 ; CHECK-LABEL: lasx_xvfcmp_seq_d:
332 ; CHECK: # %bb.0: # %entry
333 ; CHECK-NEXT: xvfcmp.seq.d $xr0, $xr0, $xr1
336 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.seq.d(<4 x double> %va, <4 x double> %vb)
340 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sueq.s(<8 x float>, <8 x float>)
342 define <8 x i32> @lasx_xvfcmp_sueq_s(<8 x float> %va, <8 x float> %vb) nounwind {
343 ; CHECK-LABEL: lasx_xvfcmp_sueq_s:
344 ; CHECK: # %bb.0: # %entry
345 ; CHECK-NEXT: xvfcmp.sueq.s $xr0, $xr0, $xr1
348 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sueq.s(<8 x float> %va, <8 x float> %vb)
352 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sueq.d(<4 x double>, <4 x double>)
354 define <4 x i64> @lasx_xvfcmp_sueq_d(<4 x double> %va, <4 x double> %vb) nounwind {
355 ; CHECK-LABEL: lasx_xvfcmp_sueq_d:
356 ; CHECK: # %bb.0: # %entry
357 ; CHECK-NEXT: xvfcmp.sueq.d $xr0, $xr0, $xr1
360 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sueq.d(<4 x double> %va, <4 x double> %vb)
364 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.slt.s(<8 x float>, <8 x float>)
366 define <8 x i32> @lasx_xvfcmp_slt_s(<8 x float> %va, <8 x float> %vb) nounwind {
367 ; CHECK-LABEL: lasx_xvfcmp_slt_s:
368 ; CHECK: # %bb.0: # %entry
369 ; CHECK-NEXT: xvfcmp.slt.s $xr0, $xr0, $xr1
372 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.slt.s(<8 x float> %va, <8 x float> %vb)
376 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.slt.d(<4 x double>, <4 x double>)
378 define <4 x i64> @lasx_xvfcmp_slt_d(<4 x double> %va, <4 x double> %vb) nounwind {
379 ; CHECK-LABEL: lasx_xvfcmp_slt_d:
380 ; CHECK: # %bb.0: # %entry
381 ; CHECK-NEXT: xvfcmp.slt.d $xr0, $xr0, $xr1
384 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.slt.d(<4 x double> %va, <4 x double> %vb)
388 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sult.s(<8 x float>, <8 x float>)
390 define <8 x i32> @lasx_xvfcmp_sult_s(<8 x float> %va, <8 x float> %vb) nounwind {
391 ; CHECK-LABEL: lasx_xvfcmp_sult_s:
392 ; CHECK: # %bb.0: # %entry
393 ; CHECK-NEXT: xvfcmp.sult.s $xr0, $xr0, $xr1
396 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sult.s(<8 x float> %va, <8 x float> %vb)
400 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sult.d(<4 x double>, <4 x double>)
402 define <4 x i64> @lasx_xvfcmp_sult_d(<4 x double> %va, <4 x double> %vb) nounwind {
403 ; CHECK-LABEL: lasx_xvfcmp_sult_d:
404 ; CHECK: # %bb.0: # %entry
405 ; CHECK-NEXT: xvfcmp.sult.d $xr0, $xr0, $xr1
408 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sult.d(<4 x double> %va, <4 x double> %vb)
412 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sle.s(<8 x float>, <8 x float>)
414 define <8 x i32> @lasx_xvfcmp_sle_s(<8 x float> %va, <8 x float> %vb) nounwind {
415 ; CHECK-LABEL: lasx_xvfcmp_sle_s:
416 ; CHECK: # %bb.0: # %entry
417 ; CHECK-NEXT: xvfcmp.sle.s $xr0, $xr0, $xr1
420 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sle.s(<8 x float> %va, <8 x float> %vb)
424 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sle.d(<4 x double>, <4 x double>)
426 define <4 x i64> @lasx_xvfcmp_sle_d(<4 x double> %va, <4 x double> %vb) nounwind {
427 ; CHECK-LABEL: lasx_xvfcmp_sle_d:
428 ; CHECK: # %bb.0: # %entry
429 ; CHECK-NEXT: xvfcmp.sle.d $xr0, $xr0, $xr1
432 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sle.d(<4 x double> %va, <4 x double> %vb)
436 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sule.s(<8 x float>, <8 x float>)
438 define <8 x i32> @lasx_xvfcmp_sule_s(<8 x float> %va, <8 x float> %vb) nounwind {
439 ; CHECK-LABEL: lasx_xvfcmp_sule_s:
440 ; CHECK: # %bb.0: # %entry
441 ; CHECK-NEXT: xvfcmp.sule.s $xr0, $xr0, $xr1
444 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sule.s(<8 x float> %va, <8 x float> %vb)
448 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sule.d(<4 x double>, <4 x double>)
450 define <4 x i64> @lasx_xvfcmp_sule_d(<4 x double> %va, <4 x double> %vb) nounwind {
451 ; CHECK-LABEL: lasx_xvfcmp_sule_d:
452 ; CHECK: # %bb.0: # %entry
453 ; CHECK-NEXT: xvfcmp.sule.d $xr0, $xr0, $xr1
456 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sule.d(<4 x double> %va, <4 x double> %vb)
460 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sne.s(<8 x float>, <8 x float>)
462 define <8 x i32> @lasx_xvfcmp_sne_s(<8 x float> %va, <8 x float> %vb) nounwind {
463 ; CHECK-LABEL: lasx_xvfcmp_sne_s:
464 ; CHECK: # %bb.0: # %entry
465 ; CHECK-NEXT: xvfcmp.sne.s $xr0, $xr0, $xr1
468 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sne.s(<8 x float> %va, <8 x float> %vb)
472 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sne.d(<4 x double>, <4 x double>)
474 define <4 x i64> @lasx_xvfcmp_sne_d(<4 x double> %va, <4 x double> %vb) nounwind {
475 ; CHECK-LABEL: lasx_xvfcmp_sne_d:
476 ; CHECK: # %bb.0: # %entry
477 ; CHECK-NEXT: xvfcmp.sne.d $xr0, $xr0, $xr1
480 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sne.d(<4 x double> %va, <4 x double> %vb)
484 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sor.s(<8 x float>, <8 x float>)
486 define <8 x i32> @lasx_xvfcmp_sor_s(<8 x float> %va, <8 x float> %vb) nounwind {
487 ; CHECK-LABEL: lasx_xvfcmp_sor_s:
488 ; CHECK: # %bb.0: # %entry
489 ; CHECK-NEXT: xvfcmp.sor.s $xr0, $xr0, $xr1
492 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sor.s(<8 x float> %va, <8 x float> %vb)
496 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sor.d(<4 x double>, <4 x double>)
498 define <4 x i64> @lasx_xvfcmp_sor_d(<4 x double> %va, <4 x double> %vb) nounwind {
499 ; CHECK-LABEL: lasx_xvfcmp_sor_d:
500 ; CHECK: # %bb.0: # %entry
501 ; CHECK-NEXT: xvfcmp.sor.d $xr0, $xr0, $xr1
504 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sor.d(<4 x double> %va, <4 x double> %vb)
508 declare <8 x i32> @llvm.loongarch.lasx.xvfcmp.sune.s(<8 x float>, <8 x float>)
510 define <8 x i32> @lasx_xvfcmp_sune_s(<8 x float> %va, <8 x float> %vb) nounwind {
511 ; CHECK-LABEL: lasx_xvfcmp_sune_s:
512 ; CHECK: # %bb.0: # %entry
513 ; CHECK-NEXT: xvfcmp.sune.s $xr0, $xr0, $xr1
516 %res = call <8 x i32> @llvm.loongarch.lasx.xvfcmp.sune.s(<8 x float> %va, <8 x float> %vb)
520 declare <4 x i64> @llvm.loongarch.lasx.xvfcmp.sune.d(<4 x double>, <4 x double>)
522 define <4 x i64> @lasx_xvfcmp_sune_d(<4 x double> %va, <4 x double> %vb) nounwind {
523 ; CHECK-LABEL: lasx_xvfcmp_sune_d:
524 ; CHECK: # %bb.0: # %entry
525 ; CHECK-NEXT: xvfcmp.sune.d $xr0, $xr0, $xr1
528 %res = call <4 x i64> @llvm.loongarch.lasx.xvfcmp.sune.d(<4 x double> %va, <4 x double> %vb)