Lines Matching full:all

2 ; RUN: llc -march=mips -mattr=+msa,+fp64,+mips32r2 < %s | FileCheck %s --check-prefixes=ALL,MIPS
3 ; RUN: llc -march=mipsel -mattr=+msa,+fp64,+mips32r2 < %s | FileCheck %s --check-prefixes=ALL,MIPSEL
6 ; ALL-LABEL: add_v16i8:
7 ; ALL: # %bb.0:
8 ; ALL-NEXT: ld.b $w0, 0($6)
9 ; ALL-NEXT: ld.b $w1, 0($5)
10 ; ALL-NEXT: addv.b $w0, $w1, $w0
11 ; ALL-NEXT: jr $ra
12 ; ALL-NEXT: st.b $w0, 0($4)
21 ; ALL-LABEL: add_v8i16:
22 ; ALL: # %bb.0:
23 ; ALL-NEXT: ld.h $w0, 0($6)
24 ; ALL-NEXT: ld.h $w1, 0($5)
25 ; ALL-NEXT: addv.h $w0, $w1, $w0
26 ; ALL-NEXT: jr $ra
27 ; ALL-NEXT: st.h $w0, 0($4)
36 ; ALL-LABEL: add_v4i32:
37 ; ALL: # %bb.0:
38 ; ALL-NEXT: ld.w $w0, 0($6)
39 ; ALL-NEXT: ld.w $w1, 0($5)
40 ; ALL-NEXT: addv.w $w0, $w1, $w0
41 ; ALL-NEXT: jr $ra
42 ; ALL-NEXT: st.w $w0, 0($4)
51 ; ALL-LABEL: add_v2i64:
52 ; ALL: # %bb.0:
53 ; ALL-NEXT: ld.d $w0, 0($6)
54 ; ALL-NEXT: ld.d $w1, 0($5)
55 ; ALL-NEXT: addv.d $w0, $w1, $w0
56 ; ALL-NEXT: jr $ra
57 ; ALL-NEXT: st.d $w0, 0($4)
66 ; ALL-LABEL: add_v16i8_i:
67 ; ALL: # %bb.0:
68 ; ALL-NEXT: ld.b $w0, 0($5)
69 ; ALL-NEXT: addvi.b $w0, $w0, 1
70 ; ALL-NEXT: jr $ra
71 ; ALL-NEXT: st.b $w0, 0($4)
80 ; ALL-LABEL: add_v8i16_i:
81 ; ALL: # %bb.0:
82 ; ALL-NEXT: ld.h $w0, 0($5)
83 ; ALL-NEXT: addvi.h $w0, $w0, 1
84 ; ALL-NEXT: jr $ra
85 ; ALL-NEXT: st.h $w0, 0($4)
94 ; ALL-LABEL: add_v4i32_i:
95 ; ALL: # %bb.0:
96 ; ALL-NEXT: ld.w $w0, 0($5)
97 ; ALL-NEXT: addvi.w $w0, $w0, 1
98 ; ALL-NEXT: jr $ra
99 ; ALL-NEXT: st.w $w0, 0($4)
107 ; ALL-LABEL: add_v2i64_i:
108 ; ALL: # %bb.0:
109 ; ALL-NEXT: ld.d $w0, 0($5)
110 ; ALL-NEXT: addvi.d $w0, $w0, 1
111 ; ALL-NEXT: jr $ra
112 ; ALL-NEXT: st.d $w0, 0($4)
120 ; ALL-LABEL: sub_v16i8:
121 ; ALL: # %bb.0:
122 ; ALL-NEXT: ld.b $w0, 0($6)
123 ; ALL-NEXT: ld.b $w1, 0($5)
124 ; ALL-NEXT: subv.b $w0, $w1, $w0
125 ; ALL-NEXT: jr $ra
126 ; ALL-NEXT: st.b $w0, 0($4)
135 ; ALL-LABEL: sub_v8i16:
136 ; ALL: # %bb.0:
137 ; ALL-NEXT: ld.h $w0, 0($6)
138 ; ALL-NEXT: ld.h $w1, 0($5)
139 ; ALL-NEXT: subv.h $w0, $w1, $w0
140 ; ALL-NEXT: jr $ra
141 ; ALL-NEXT: st.h $w0, 0($4)
150 ; ALL-LABEL: sub_v4i32:
151 ; ALL: # %bb.0:
152 ; ALL-NEXT: ld.w $w0, 0($6)
153 ; ALL-NEXT: ld.w $w1, 0($5)
154 ; ALL-NEXT: subv.w $w0, $w1, $w0
155 ; ALL-NEXT: jr $ra
156 ; ALL-NEXT: st.w $w0, 0($4)
165 ; ALL-LABEL: sub_v2i64:
166 ; ALL: # %bb.0:
167 ; ALL-NEXT: ld.d $w0, 0($6)
168 ; ALL-NEXT: ld.d $w1, 0($5)
169 ; ALL-NEXT: subv.d $w0, $w1, $w0
170 ; ALL-NEXT: jr $ra
171 ; ALL-NEXT: st.d $w0, 0($4)
180 ; ALL-LABEL: sub_v16i8_i:
181 ; ALL: # %bb.0:
182 ; ALL-NEXT: ld.b $w0, 0($5)
183 ; ALL-NEXT: subvi.b $w0, $w0, 1
184 ; ALL-NEXT: jr $ra
185 ; ALL-NEXT: st.b $w0, 0($4)
194 ; ALL-LABEL: sub_v16i8_i_negated:
195 ; ALL: # %bb.0:
196 ; ALL-NEXT: ld.b $w0, 0($5)
197 ; ALL-NEXT: subvi.b $w0, $w0, 1
198 ; ALL-NEXT: jr $ra
199 ; ALL-NEXT: st.b $w0, 0($4)
208 ; ALL-LABEL: sub_v8i16_i:
209 ; ALL: # %bb.0:
210 ; ALL-NEXT: ld.h $w0, 0($5)
211 ; ALL-NEXT: subvi.h $w0, $w0, 1
212 ; ALL-NEXT: jr $ra
213 ; ALL-NEXT: st.h $w0, 0($4)
222 ; ALL-LABEL: sub_v8i16_i_negated:
223 ; ALL: # %bb.0:
224 ; ALL-NEXT: ld.h $w0, 0($5)
225 ; ALL-NEXT: subvi.h $w0, $w0, 1
226 ; ALL-NEXT: jr $ra
227 ; ALL-NEXT: st.h $w0, 0($4)
236 ; ALL-LABEL: sub_v4i32_i:
237 ; ALL: # %bb.0:
238 ; ALL-NEXT: ld.w $w0, 0($5)
239 ; ALL-NEXT: subvi.w $w0, $w0, 1
240 ; ALL-NEXT: jr $ra
241 ; ALL-NEXT: st.w $w0, 0($4)
249 ; ALL-LABEL: sub_v4i32_i_negated:
250 ; ALL: # %bb.0:
251 ; ALL-NEXT: ld.w $w0, 0($5)
252 ; ALL-NEXT: subvi.w $w0, $w0, 1
253 ; ALL-NEXT: jr $ra
254 ; ALL-NEXT: st.w $w0, 0($4)
262 ; ALL-LABEL: sub_v2i64_i:
263 ; ALL: # %bb.0:
264 ; ALL-NEXT: ld.d $w0, 0($5)
265 ; ALL-NEXT: subvi.d $w0, $w0, 1
266 ; ALL-NEXT: jr $ra
267 ; ALL-NEXT: st.d $w0, 0($4)
298 ; ALL-LABEL: mul_v16i8:
299 ; ALL: # %bb.0:
300 ; ALL-NEXT: ld.b $w0, 0($6)
301 ; ALL-NEXT: ld.b $w1, 0($5)
302 ; ALL-NEXT: mulv.b $w0, $w1, $w0
303 ; ALL-NEXT: jr $ra
304 ; ALL-NEXT: st.b $w0, 0($4)
313 ; ALL-LABEL: mul_v8i16:
314 ; ALL: # %bb.0:
315 ; ALL-NEXT: ld.h $w0, 0($6)
316 ; ALL-NEXT: ld.h $w1, 0($5)
317 ; ALL-NEXT: mulv.h $w0, $w1, $w0
318 ; ALL-NEXT: jr $ra
319 ; ALL-NEXT: st.h $w0, 0($4)
328 ; ALL-LABEL: mul_v4i32:
329 ; ALL: # %bb.0:
330 ; ALL-NEXT: ld.w $w0, 0($6)
331 ; ALL-NEXT: ld.w $w1, 0($5)
332 ; ALL-NEXT: mulv.w $w0, $w1, $w0
333 ; ALL-NEXT: jr $ra
334 ; ALL-NEXT: st.w $w0, 0($4)
343 ; ALL-LABEL: mul_v2i64:
344 ; ALL: # %bb.0:
345 ; ALL-NEXT: ld.d $w0, 0($6)
346 ; ALL-NEXT: ld.d $w1, 0($5)
347 ; ALL-NEXT: mulv.d $w0, $w1, $w0
348 ; ALL-NEXT: jr $ra
349 ; ALL-NEXT: st.d $w0, 0($4)
358 ; ALL-LABEL: maddv_v16i8:
359 ; ALL: # %bb.0:
360 ; ALL-NEXT: ld.b $w0, 0($7)
361 ; ALL-NEXT: ld.b $w1, 0($6)
362 ; ALL-NEXT: ld.b $w2, 0($5)
363 ; ALL-NEXT: maddv.b $w2, $w1, $w0
364 ; ALL-NEXT: jr $ra
365 ; ALL-NEXT: st.b $w2, 0($4)
377 ; ALL-LABEL: maddv_v8i16:
378 ; ALL: # %bb.0:
379 ; ALL-NEXT: ld.h $w0, 0($7)
380 ; ALL-NEXT: ld.h $w1, 0($6)
381 ; ALL-NEXT: ld.h $w2, 0($5)
382 ; ALL-NEXT: maddv.h $w2, $w1, $w0
383 ; ALL-NEXT: jr $ra
384 ; ALL-NEXT: st.h $w2, 0($4)
396 ; ALL-LABEL: maddv_v4i32:
397 ; ALL: # %bb.0:
398 ; ALL-NEXT: ld.w $w0, 0($7)
399 ; ALL-NEXT: ld.w $w1, 0($6)
400 ; ALL-NEXT: ld.w $w2, 0($5)
401 ; ALL-NEXT: maddv.w $w2, $w1, $w0
402 ; ALL-NEXT: jr $ra
403 ; ALL-NEXT: st.w $w2, 0($4)
415 ; ALL-LABEL: maddv_v2i64:
416 ; ALL: # %bb.0:
417 ; ALL-NEXT: ld.d $w0, 0($7)
418 ; ALL-NEXT: ld.d $w1, 0($6)
419 ; ALL-NEXT: ld.d $w2, 0($5)
420 ; ALL-NEXT: maddv.d $w2, $w1, $w0
421 ; ALL-NEXT: jr $ra
422 ; ALL-NEXT: st.d $w2, 0($4)
434 ; ALL-LABEL: msubv_v16i8:
435 ; ALL: # %bb.0:
436 ; ALL-NEXT: ld.b $w0, 0($7)
437 ; ALL-NEXT: ld.b $w1, 0($6)
438 ; ALL-NEXT: ld.b $w2, 0($5)
439 ; ALL-NEXT: msubv.b $w2, $w1, $w0
440 ; ALL-NEXT: jr $ra
441 ; ALL-NEXT: st.b $w2, 0($4)
453 ; ALL-LABEL: msubv_v8i16:
454 ; ALL: # %bb.0:
455 ; ALL-NEXT: ld.h $w0, 0($7)
456 ; ALL-NEXT: ld.h $w1, 0($6)
457 ; ALL-NEXT: ld.h $w2, 0($5)
458 ; ALL-NEXT: msubv.h $w2, $w1, $w0
459 ; ALL-NEXT: jr $ra
460 ; ALL-NEXT: st.h $w2, 0($4)
472 ; ALL-LABEL: msubv_v4i32:
473 ; ALL: # %bb.0:
474 ; ALL-NEXT: ld.w $w0, 0($7)
475 ; ALL-NEXT: ld.w $w1, 0($6)
476 ; ALL-NEXT: ld.w $w2, 0($5)
477 ; ALL-NEXT: msubv.w $w2, $w1, $w0
478 ; ALL-NEXT: jr $ra
479 ; ALL-NEXT: st.w $w2, 0($4)
491 ; ALL-LABEL: msubv_v2i64:
492 ; ALL: # %bb.0:
493 ; ALL-NEXT: ld.d $w0, 0($7)
494 ; ALL-NEXT: ld.d $w1, 0($6)
495 ; ALL-NEXT: ld.d $w2, 0($5)
496 ; ALL-NEXT: msubv.d $w2, $w1, $w0
497 ; ALL-NEXT: jr $ra
498 ; ALL-NEXT: st.d $w2, 0($4)
510 ; ALL-LABEL: div_s_v16i8:
511 ; ALL: # %bb.0:
512 ; ALL-NEXT: ld.b $w0, 0($6)
513 ; ALL-NEXT: ld.b $w1, 0($5)
514 ; ALL-NEXT: div_s.b $w0, $w1, $w0
515 ; ALL-NEXT: jr $ra
516 ; ALL-NEXT: st.b $w0, 0($4)
525 ; ALL-LABEL: div_s_v8i16:
526 ; ALL: # %bb.0:
527 ; ALL-NEXT: ld.h $w0, 0($6)
528 ; ALL-NEXT: ld.h $w1, 0($5)
529 ; ALL-NEXT: div_s.h $w0, $w1, $w0
530 ; ALL-NEXT: jr $ra
531 ; ALL-NEXT: st.h $w0, 0($4)
540 ; ALL-LABEL: div_s_v4i32:
541 ; ALL: # %bb.0:
542 ; ALL-NEXT: ld.w $w0, 0($6)
543 ; ALL-NEXT: ld.w $w1, 0($5)
544 ; ALL-NEXT: div_s.w $w0, $w1, $w0
545 ; ALL-NEXT: jr $ra
546 ; ALL-NEXT: st.w $w0, 0($4)
555 ; ALL-LABEL: div_s_v2i64:
556 ; ALL: # %bb.0:
557 ; ALL-NEXT: ld.d $w0, 0($6)
558 ; ALL-NEXT: ld.d $w1, 0($5)
559 ; ALL-NEXT: div_s.d $w0, $w1, $w0
560 ; ALL-NEXT: jr $ra
561 ; ALL-NEXT: st.d $w0, 0($4)
570 ; ALL-LABEL: div_u_v16i8:
571 ; ALL: # %bb.0:
572 ; ALL-NEXT: ld.b $w0, 0($6)
573 ; ALL-NEXT: ld.b $w1, 0($5)
574 ; ALL-NEXT: div_u.b $w0, $w1, $w0
575 ; ALL-NEXT: jr $ra
576 ; ALL-NEXT: st.b $w0, 0($4)
585 ; ALL-LABEL: div_u_v8i16:
586 ; ALL: # %bb.0:
587 ; ALL-NEXT: ld.h $w0, 0($6)
588 ; ALL-NEXT: ld.h $w1, 0($5)
589 ; ALL-NEXT: div_u.h $w0, $w1, $w0
590 ; ALL-NEXT: jr $ra
591 ; ALL-NEXT: st.h $w0, 0($4)
600 ; ALL-LABEL: div_u_v4i32:
601 ; ALL: # %bb.0:
602 ; ALL-NEXT: ld.w $w0, 0($6)
603 ; ALL-NEXT: ld.w $w1, 0($5)
604 ; ALL-NEXT: div_u.w $w0, $w1, $w0
605 ; ALL-NEXT: jr $ra
606 ; ALL-NEXT: st.w $w0, 0($4)
615 ; ALL-LABEL: div_u_v2i64:
616 ; ALL: # %bb.0:
617 ; ALL-NEXT: ld.d $w0, 0($6)
618 ; ALL-NEXT: ld.d $w1, 0($5)
619 ; ALL-NEXT: div_u.d $w0, $w1, $w0
620 ; ALL-NEXT: jr $ra
621 ; ALL-NEXT: st.d $w0, 0($4)
630 ; ALL-LABEL: mod_s_v16i8:
631 ; ALL: # %bb.0:
632 ; ALL-NEXT: ld.b $w0, 0($6)
633 ; ALL-NEXT: ld.b $w1, 0($5)
634 ; ALL-NEXT: mod_s.b $w0, $w1, $w0
635 ; ALL-NEXT: jr $ra
636 ; ALL-NEXT: st.b $w0, 0($4)
645 ; ALL-LABEL: mod_s_v8i16:
646 ; ALL: # %bb.0:
647 ; ALL-NEXT: ld.h $w0, 0($6)
648 ; ALL-NEXT: ld.h $w1, 0($5)
649 ; ALL-NEXT: mod_s.h $w0, $w1, $w0
650 ; ALL-NEXT: jr $ra
651 ; ALL-NEXT: st.h $w0, 0($4)
660 ; ALL-LABEL: mod_s_v4i32:
661 ; ALL: # %bb.0:
662 ; ALL-NEXT: ld.w $w0, 0($6)
663 ; ALL-NEXT: ld.w $w1, 0($5)
664 ; ALL-NEXT: mod_s.w $w0, $w1, $w0
665 ; ALL-NEXT: jr $ra
666 ; ALL-NEXT: st.w $w0, 0($4)
675 ; ALL-LABEL: mod_s_v2i64:
676 ; ALL: # %bb.0:
677 ; ALL-NEXT: ld.d $w0, 0($6)
678 ; ALL-NEXT: ld.d $w1, 0($5)
679 ; ALL-NEXT: mod_s.d $w0, $w1, $w0
680 ; ALL-NEXT: jr $ra
681 ; ALL-NEXT: st.d $w0, 0($4)
690 ; ALL-LABEL: mod_u_v16i8:
691 ; ALL: # %bb.0:
692 ; ALL-NEXT: ld.b $w0, 0($6)
693 ; ALL-NEXT: ld.b $w1, 0($5)
694 ; ALL-NEXT: mod_u.b $w0, $w1, $w0
695 ; ALL-NEXT: jr $ra
696 ; ALL-NEXT: st.b $w0, 0($4)
705 ; ALL-LABEL: mod_u_v8i16:
706 ; ALL: # %bb.0:
707 ; ALL-NEXT: ld.h $w0, 0($6)
708 ; ALL-NEXT: ld.h $w1, 0($5)
709 ; ALL-NEXT: mod_u.h $w0, $w1, $w0
710 ; ALL-NEXT: jr $ra
711 ; ALL-NEXT: st.h $w0, 0($4)
720 ; ALL-LABEL: mod_u_v4i32:
721 ; ALL: # %bb.0:
722 ; ALL-NEXT: ld.w $w0, 0($6)
723 ; ALL-NEXT: ld.w $w1, 0($5)
724 ; ALL-NEXT: mod_u.w $w0, $w1, $w0
725 ; ALL-NEXT: jr $ra
726 ; ALL-NEXT: st.w $w0, 0($4)
735 ; ALL-LABEL: mod_u_v2i64:
736 ; ALL: # %bb.0:
737 ; ALL-NEXT: ld.d $w0, 0($6)
738 ; ALL-NEXT: ld.d $w1, 0($5)
739 ; ALL-NEXT: mod_u.d $w0, $w1, $w0
740 ; ALL-NEXT: jr $ra
741 ; ALL-NEXT: st.d $w0, 0($4)