• Home
  • Raw
  • Download

Lines Matching refs:R6

4 …-gnu   -mcpu=mips32r6 -relocation-model=pic -verify-machineinstrs | FileCheck %s -check-prefix=32R6
7 …ux-gnu -mcpu=mips64r6 -relocation-model=pic -verify-machineinstrs | FileCheck %s -check-prefix=64R6
25 ; 32R6-LABEL: i32_icmp_ne_i32_val:
26 ; 32R6: # %bb.0: # %entry
27 ; 32R6-NEXT: seleqz $1, $5, $4
28 ; 32R6-NEXT: selnez $2, $6, $4
29 ; 32R6-NEXT: jr $ra
30 ; 32R6-NEXT: or $2, $2, $1
44 ; 64R6-LABEL: i32_icmp_ne_i32_val:
45 ; 64R6: # %bb.0: # %entry
46 ; 64R6-NEXT: seleqz $1, $5, $4
47 ; 64R6-NEXT: selnez $2, $6, $4
48 ; 64R6-NEXT: jr $ra
49 ; 64R6-NEXT: or $2, $2, $1
81 ; 32R6-LABEL: i32_icmp_ne_i64_val:
82 ; 32R6: # %bb.0: # %entry
83 ; 32R6-NEXT: seleqz $1, $6, $4
84 ; 32R6-NEXT: lw $2, 16($sp)
85 ; 32R6-NEXT: selnez $2, $2, $4
86 ; 32R6-NEXT: or $2, $2, $1
87 ; 32R6-NEXT: seleqz $1, $7, $4
88 ; 32R6-NEXT: lw $3, 20($sp)
89 ; 32R6-NEXT: selnez $3, $3, $4
90 ; 32R6-NEXT: jr $ra
91 ; 32R6-NEXT: or $3, $3, $1
105 ; 64R6-LABEL: i32_icmp_ne_i64_val:
106 ; 64R6: # %bb.0: # %entry
107 ; 64R6-NEXT: sll $1, $4, 0
108 ; 64R6-NEXT: seleqz $2, $5, $1
109 ; 64R6-NEXT: selnez $1, $6, $1
110 ; 64R6-NEXT: jr $ra
111 ; 64R6-NEXT: or $2, $1, $2
141 ; 32R6-LABEL: i64_icmp_ne_i64_val:
142 ; 32R6: # %bb.0: # %entry
143 ; 32R6-NEXT: or $1, $4, $5
144 ; 32R6-NEXT: seleqz $2, $6, $1
145 ; 32R6-NEXT: lw $3, 16($sp)
146 ; 32R6-NEXT: selnez $3, $3, $1
147 ; 32R6-NEXT: or $2, $3, $2
148 ; 32R6-NEXT: seleqz $3, $7, $1
149 ; 32R6-NEXT: lw $4, 20($sp)
150 ; 32R6-NEXT: selnez $1, $4, $1
151 ; 32R6-NEXT: jr $ra
152 ; 32R6-NEXT: or $3, $1, $3
166 ; 64R6-LABEL: i64_icmp_ne_i64_val:
167 ; 64R6: # %bb.0: # %entry
168 ; 64R6-NEXT: seleqz $1, $5, $4
169 ; 64R6-NEXT: selnez $2, $6, $4
170 ; 64R6-NEXT: jr $ra
171 ; 64R6-NEXT: or $2, $2, $1
193 ; 32R6-LABEL: i32_icmp_ne_f32_val:
194 ; 32R6: # %bb.0: # %entry
195 ; 32R6-NEXT: sltu $1, $zero, $4
196 ; 32R6-NEXT: negu $1, $1
197 ; 32R6-NEXT: mtc1 $5, $f1
198 ; 32R6-NEXT: mtc1 $6, $f2
199 ; 32R6-NEXT: mtc1 $1, $f0
200 ; 32R6-NEXT: jr $ra
201 ; 32R6-NEXT: sel.s $f0, $f2, $f1
215 ; 64R6-LABEL: i32_icmp_ne_f32_val:
216 ; 64R6: # %bb.0: # %entry
217 ; 64R6-NEXT: sltu $1, $zero, $4
218 ; 64R6-NEXT: negu $1, $1
219 ; 64R6-NEXT: mtc1 $1, $f0
220 ; 64R6-NEXT: jr $ra
221 ; 64R6-NEXT: sel.s $f0, $f14, $f13
245 ; 32R6-LABEL: i32_icmp_ne_f64_val:
246 ; 32R6: # %bb.0: # %entry
247 ; 32R6-NEXT: mtc1 $6, $f1
248 ; 32R6-NEXT: mthc1 $7, $f1
249 ; 32R6-NEXT: sltu $1, $zero, $4
250 ; 32R6-NEXT: negu $1, $1
251 ; 32R6-NEXT: mtc1 $1, $f0
252 ; 32R6-NEXT: ldc1 $f2, 16($sp)
253 ; 32R6-NEXT: jr $ra
254 ; 32R6-NEXT: sel.d $f0, $f2, $f1
268 ; 64R6-LABEL: i32_icmp_ne_f64_val:
269 ; 64R6: # %bb.0: # %entry
270 ; 64R6-NEXT: sltu $1, $zero, $4
271 ; 64R6-NEXT: negu $1, $1
272 ; 64R6-NEXT: mtc1 $1, $f0
273 ; 64R6-NEXT: jr $ra
274 ; 64R6-NEXT: sel.d $f0, $f14, $f13
300 ; 32R6-LABEL: f32_fcmp_oeq_f32_val:
301 ; 32R6: # %bb.0: # %entry
302 ; 32R6-NEXT: mtc1 $7, $f0
303 ; 32R6-NEXT: mtc1 $6, $f1
304 ; 32R6-NEXT: cmp.eq.s $f0, $f1, $f0
305 ; 32R6-NEXT: jr $ra
306 ; 32R6-NEXT: sel.s $f0, $f14, $f12
322 ; 64R6-LABEL: f32_fcmp_oeq_f32_val:
323 ; 64R6: # %bb.0: # %entry
324 ; 64R6-NEXT: cmp.eq.s $f0, $f14, $f15
325 ; 64R6-NEXT: jr $ra
326 ; 64R6-NEXT: sel.s $f0, $f13, $f12
352 ; 32R6-LABEL: f32_fcmp_olt_f32_val:
353 ; 32R6: # %bb.0: # %entry
354 ; 32R6-NEXT: mtc1 $7, $f0
355 ; 32R6-NEXT: mtc1 $6, $f1
356 ; 32R6-NEXT: cmp.lt.s $f0, $f1, $f0
357 ; 32R6-NEXT: jr $ra
358 ; 32R6-NEXT: sel.s $f0, $f14, $f12
374 ; 64R6-LABEL: f32_fcmp_olt_f32_val:
375 ; 64R6: # %bb.0: # %entry
376 ; 64R6-NEXT: cmp.lt.s $f0, $f14, $f15
377 ; 64R6-NEXT: jr $ra
378 ; 64R6-NEXT: sel.s $f0, $f13, $f12
404 ; 32R6-LABEL: f32_fcmp_ogt_f32_val:
405 ; 32R6: # %bb.0: # %entry
406 ; 32R6-NEXT: mtc1 $6, $f0
407 ; 32R6-NEXT: mtc1 $7, $f1
408 ; 32R6-NEXT: cmp.lt.s $f0, $f1, $f0
409 ; 32R6-NEXT: jr $ra
410 ; 32R6-NEXT: sel.s $f0, $f14, $f12
426 ; 64R6-LABEL: f32_fcmp_ogt_f32_val:
427 ; 64R6: # %bb.0: # %entry
428 ; 64R6-NEXT: cmp.lt.s $f0, $f15, $f14
429 ; 64R6-NEXT: jr $ra
430 ; 64R6-NEXT: sel.s $f0, $f13, $f12
456 ; 32R6-LABEL: f32_fcmp_ogt_f64_val:
457 ; 32R6: # %bb.0: # %entry
458 ; 32R6-NEXT: lwc1 $f0, 16($sp)
459 ; 32R6-NEXT: lwc1 $f1, 20($sp)
460 ; 32R6-NEXT: cmp.lt.s $f0, $f1, $f0
461 ; 32R6-NEXT: mfc1 $1, $f0
462 ; 32R6-NEXT: mtc1 $1, $f0
463 ; 32R6-NEXT: jr $ra
464 ; 32R6-NEXT: sel.d $f0, $f14, $f12
480 ; 64R6-LABEL: f32_fcmp_ogt_f64_val:
481 ; 64R6: # %bb.0: # %entry
482 ; 64R6-NEXT: cmp.lt.s $f0, $f15, $f14
483 ; 64R6-NEXT: mfc1 $1, $f0
484 ; 64R6-NEXT: mtc1 $1, $f0
485 ; 64R6-NEXT: jr $ra
486 ; 64R6-NEXT: sel.d $f0, $f13, $f12
512 ; 32R6-LABEL: f64_fcmp_oeq_f64_val:
513 ; 32R6: # %bb.0: # %entry
514 ; 32R6-NEXT: ldc1 $f0, 24($sp)
515 ; 32R6-NEXT: ldc1 $f1, 16($sp)
516 ; 32R6-NEXT: cmp.eq.d $f0, $f1, $f0
517 ; 32R6-NEXT: mfc1 $1, $f0
518 ; 32R6-NEXT: mtc1 $1, $f0
519 ; 32R6-NEXT: jr $ra
520 ; 32R6-NEXT: sel.d $f0, $f14, $f12
536 ; 64R6-LABEL: f64_fcmp_oeq_f64_val:
537 ; 64R6: # %bb.0: # %entry
538 ; 64R6-NEXT: cmp.eq.d $f0, $f14, $f15
539 ; 64R6-NEXT: mfc1 $1, $f0
540 ; 64R6-NEXT: mtc1 $1, $f0
541 ; 64R6-NEXT: jr $ra
542 ; 64R6-NEXT: sel.d $f0, $f13, $f12
568 ; 32R6-LABEL: f64_fcmp_olt_f64_val:
569 ; 32R6: # %bb.0: # %entry
570 ; 32R6-NEXT: ldc1 $f0, 24($sp)
571 ; 32R6-NEXT: ldc1 $f1, 16($sp)
572 ; 32R6-NEXT: cmp.lt.d $f0, $f1, $f0
573 ; 32R6-NEXT: mfc1 $1, $f0
574 ; 32R6-NEXT: mtc1 $1, $f0
575 ; 32R6-NEXT: jr $ra
576 ; 32R6-NEXT: sel.d $f0, $f14, $f12
592 ; 64R6-LABEL: f64_fcmp_olt_f64_val:
593 ; 64R6: # %bb.0: # %entry
594 ; 64R6-NEXT: cmp.lt.d $f0, $f14, $f15
595 ; 64R6-NEXT: mfc1 $1, $f0
596 ; 64R6-NEXT: mtc1 $1, $f0
597 ; 64R6-NEXT: jr $ra
598 ; 64R6-NEXT: sel.d $f0, $f13, $f12
624 ; 32R6-LABEL: f64_fcmp_ogt_f64_val:
625 ; 32R6: # %bb.0: # %entry
626 ; 32R6-NEXT: ldc1 $f0, 16($sp)
627 ; 32R6-NEXT: ldc1 $f1, 24($sp)
628 ; 32R6-NEXT: cmp.lt.d $f0, $f1, $f0
629 ; 32R6-NEXT: mfc1 $1, $f0
630 ; 32R6-NEXT: mtc1 $1, $f0
631 ; 32R6-NEXT: jr $ra
632 ; 32R6-NEXT: sel.d $f0, $f14, $f12
648 ; 64R6-LABEL: f64_fcmp_ogt_f64_val:
649 ; 64R6: # %bb.0: # %entry
650 ; 64R6-NEXT: cmp.lt.d $f0, $f15, $f14
651 ; 64R6-NEXT: mfc1 $1, $f0
652 ; 64R6-NEXT: mtc1 $1, $f0
653 ; 64R6-NEXT: jr $ra
654 ; 64R6-NEXT: sel.d $f0, $f13, $f12
682 ; 32R6-LABEL: f64_fcmp_ogt_f32_val:
683 ; 32R6: # %bb.0: # %entry
684 ; 32R6-NEXT: mtc1 $6, $f0
685 ; 32R6-NEXT: mthc1 $7, $f0
686 ; 32R6-NEXT: ldc1 $f1, 16($sp)
687 ; 32R6-NEXT: cmp.lt.d $f0, $f1, $f0
688 ; 32R6-NEXT: jr $ra
689 ; 32R6-NEXT: sel.s $f0, $f14, $f12
705 ; 64R6-LABEL: f64_fcmp_ogt_f32_val:
706 ; 64R6: # %bb.0: # %entry
707 ; 64R6-NEXT: cmp.lt.d $f0, $f15, $f14
708 ; 64R6-NEXT: jr $ra
709 ; 64R6-NEXT: sel.s $f0, $f13, $f12
735 ; 32R6-LABEL: f32_fcmp_oeq_i32_val:
736 ; 32R6: # %bb.0: # %entry
737 ; 32R6-NEXT: mtc1 $7, $f0
738 ; 32R6-NEXT: mtc1 $6, $f1
739 ; 32R6-NEXT: cmp.eq.s $f0, $f1, $f0
740 ; 32R6-NEXT: mfc1 $1, $f0
741 ; 32R6-NEXT: andi $1, $1, 1
742 ; 32R6-NEXT: seleqz $2, $5, $1
743 ; 32R6-NEXT: selnez $1, $4, $1
744 ; 32R6-NEXT: jr $ra
745 ; 32R6-NEXT: or $2, $1, $2
761 ; 64R6-LABEL: f32_fcmp_oeq_i32_val:
762 ; 64R6: # %bb.0: # %entry
763 ; 64R6-NEXT: cmp.eq.s $f0, $f14, $f15
764 ; 64R6-NEXT: mfc1 $1, $f0
765 ; 64R6-NEXT: andi $1, $1, 1
766 ; 64R6-NEXT: seleqz $2, $5, $1
767 ; 64R6-NEXT: selnez $1, $4, $1
768 ; 64R6-NEXT: jr $ra
769 ; 64R6-NEXT: or $2, $1, $2
795 ; 32R6-LABEL: f32_fcmp_olt_i32_val:
796 ; 32R6: # %bb.0: # %entry
797 ; 32R6-NEXT: mtc1 $7, $f0
798 ; 32R6-NEXT: mtc1 $6, $f1
799 ; 32R6-NEXT: cmp.lt.s $f0, $f1, $f0
800 ; 32R6-NEXT: mfc1 $1, $f0
801 ; 32R6-NEXT: andi $1, $1, 1
802 ; 32R6-NEXT: seleqz $2, $5, $1
803 ; 32R6-NEXT: selnez $1, $4, $1
804 ; 32R6-NEXT: jr $ra
805 ; 32R6-NEXT: or $2, $1, $2
821 ; 64R6-LABEL: f32_fcmp_olt_i32_val:
822 ; 64R6: # %bb.0: # %entry
823 ; 64R6-NEXT: cmp.lt.s $f0, $f14, $f15
824 ; 64R6-NEXT: mfc1 $1, $f0
825 ; 64R6-NEXT: andi $1, $1, 1
826 ; 64R6-NEXT: seleqz $2, $5, $1
827 ; 64R6-NEXT: selnez $1, $4, $1
828 ; 64R6-NEXT: jr $ra
829 ; 64R6-NEXT: or $2, $1, $2
855 ; 32R6-LABEL: f32_fcmp_ogt_i32_val:
856 ; 32R6: # %bb.0: # %entry
857 ; 32R6-NEXT: mtc1 $6, $f0
858 ; 32R6-NEXT: mtc1 $7, $f1
859 ; 32R6-NEXT: cmp.lt.s $f0, $f1, $f0
860 ; 32R6-NEXT: mfc1 $1, $f0
861 ; 32R6-NEXT: andi $1, $1, 1
862 ; 32R6-NEXT: seleqz $2, $5, $1
863 ; 32R6-NEXT: selnez $1, $4, $1
864 ; 32R6-NEXT: jr $ra
865 ; 32R6-NEXT: or $2, $1, $2
881 ; 64R6-LABEL: f32_fcmp_ogt_i32_val:
882 ; 64R6: # %bb.0: # %entry
883 ; 64R6-NEXT: cmp.lt.s $f0, $f15, $f14
884 ; 64R6-NEXT: mfc1 $1, $f0
885 ; 64R6-NEXT: andi $1, $1, 1
886 ; 64R6-NEXT: seleqz $2, $5, $1
887 ; 64R6-NEXT: selnez $1, $4, $1
888 ; 64R6-NEXT: jr $ra
889 ; 64R6-NEXT: or $2, $1, $2
925 ; 32R6-LABEL: f64_fcmp_oeq_i32_val:
926 ; 32R6: # %bb.0: # %entry
927 ; 32R6-NEXT: lui $2, %hi(_gp_disp)
928 ; 32R6-NEXT: addiu $2, $2, %lo(_gp_disp)
929 ; 32R6-NEXT: addu $1, $2, $25
930 ; 32R6-NEXT: lw $2, %got(d3)($1)
931 ; 32R6-NEXT: ldc1 $f0, 0($2)
932 ; 32R6-NEXT: lw $1, %got(d2)($1)
933 ; 32R6-NEXT: ldc1 $f1, 0($1)
934 ; 32R6-NEXT: cmp.eq.d $f0, $f1, $f0
935 ; 32R6-NEXT: mfc1 $1, $f0
936 ; 32R6-NEXT: andi $1, $1, 1
937 ; 32R6-NEXT: seleqz $2, $5, $1
938 ; 32R6-NEXT: selnez $1, $4, $1
939 ; 32R6-NEXT: jr $ra
940 ; 32R6-NEXT: or $2, $1, $2
970 ; 64R6-LABEL: f64_fcmp_oeq_i32_val:
971 ; 64R6: # %bb.0: # %entry
972 ; 64R6-NEXT: lui $1, %hi(%neg(%gp_rel(f64_fcmp_oeq_i32_val)))
973 ; 64R6-NEXT: daddu $1, $1, $25
974 ; 64R6-NEXT: daddiu $1, $1, %lo(%neg(%gp_rel(f64_fcmp_oeq_i32_val)))
975 ; 64R6-NEXT: ld $2, %got_disp(d3)($1)
976 ; 64R6-NEXT: ldc1 $f0, 0($2)
977 ; 64R6-NEXT: ld $1, %got_disp(d2)($1)
978 ; 64R6-NEXT: ldc1 $f1, 0($1)
979 ; 64R6-NEXT: cmp.eq.d $f0, $f1, $f0
980 ; 64R6-NEXT: mfc1 $1, $f0
981 ; 64R6-NEXT: andi $1, $1, 1
982 ; 64R6-NEXT: seleqz $2, $5, $1
983 ; 64R6-NEXT: selnez $1, $4, $1
984 ; 64R6-NEXT: jr $ra
985 ; 64R6-NEXT: or $2, $1, $2
1023 ; 32R6-LABEL: f64_fcmp_olt_i32_val:
1024 ; 32R6: # %bb.0: # %entry
1025 ; 32R6-NEXT: lui $2, %hi(_gp_disp)
1026 ; 32R6-NEXT: addiu $2, $2, %lo(_gp_disp)
1027 ; 32R6-NEXT: addu $1, $2, $25
1028 ; 32R6-NEXT: lw $2, %got(d3)($1)
1029 ; 32R6-NEXT: ldc1 $f0, 0($2)
1030 ; 32R6-NEXT: lw $1, %got(d2)($1)
1031 ; 32R6-NEXT: ldc1 $f1, 0($1)
1032 ; 32R6-NEXT: cmp.lt.d $f0, $f1, $f0
1033 ; 32R6-NEXT: mfc1 $1, $f0
1034 ; 32R6-NEXT: andi $1, $1, 1
1035 ; 32R6-NEXT: seleqz $2, $5, $1
1036 ; 32R6-NEXT: selnez $1, $4, $1
1037 ; 32R6-NEXT: jr $ra
1038 ; 32R6-NEXT: or $2, $1, $2
1068 ; 64R6-LABEL: f64_fcmp_olt_i32_val:
1069 ; 64R6: # %bb.0: # %entry
1070 ; 64R6-NEXT: lui $1, %hi(%neg(%gp_rel(f64_fcmp_olt_i32_val)))
1071 ; 64R6-NEXT: daddu $1, $1, $25
1072 ; 64R6-NEXT: daddiu $1, $1, %lo(%neg(%gp_rel(f64_fcmp_olt_i32_val)))
1073 ; 64R6-NEXT: ld $2, %got_disp(d3)($1)
1074 ; 64R6-NEXT: ldc1 $f0, 0($2)
1075 ; 64R6-NEXT: ld $1, %got_disp(d2)($1)
1076 ; 64R6-NEXT: ldc1 $f1, 0($1)
1077 ; 64R6-NEXT: cmp.lt.d $f0, $f1, $f0
1078 ; 64R6-NEXT: mfc1 $1, $f0
1079 ; 64R6-NEXT: andi $1, $1, 1
1080 ; 64R6-NEXT: seleqz $2, $5, $1
1081 ; 64R6-NEXT: selnez $1, $4, $1
1082 ; 64R6-NEXT: jr $ra
1083 ; 64R6-NEXT: or $2, $1, $2
1121 ; 32R6-LABEL: f64_fcmp_ogt_i32_val:
1122 ; 32R6: # %bb.0: # %entry
1123 ; 32R6-NEXT: lui $2, %hi(_gp_disp)
1124 ; 32R6-NEXT: addiu $2, $2, %lo(_gp_disp)
1125 ; 32R6-NEXT: addu $1, $2, $25
1126 ; 32R6-NEXT: lw $2, %got(d2)($1)
1127 ; 32R6-NEXT: ldc1 $f0, 0($2)
1128 ; 32R6-NEXT: lw $1, %got(d3)($1)
1129 ; 32R6-NEXT: ldc1 $f1, 0($1)
1130 ; 32R6-NEXT: cmp.lt.d $f0, $f1, $f0
1131 ; 32R6-NEXT: mfc1 $1, $f0
1132 ; 32R6-NEXT: andi $1, $1, 1
1133 ; 32R6-NEXT: seleqz $2, $5, $1
1134 ; 32R6-NEXT: selnez $1, $4, $1
1135 ; 32R6-NEXT: jr $ra
1136 ; 32R6-NEXT: or $2, $1, $2
1166 ; 64R6-LABEL: f64_fcmp_ogt_i32_val:
1167 ; 64R6: # %bb.0: # %entry
1168 ; 64R6-NEXT: lui $1, %hi(%neg(%gp_rel(f64_fcmp_ogt_i32_val)))
1169 ; 64R6-NEXT: daddu $1, $1, $25
1170 ; 64R6-NEXT: daddiu $1, $1, %lo(%neg(%gp_rel(f64_fcmp_ogt_i32_val)))
1171 ; 64R6-NEXT: ld $2, %got_disp(d2)($1)
1172 ; 64R6-NEXT: ldc1 $f0, 0($2)
1173 ; 64R6-NEXT: ld $1, %got_disp(d3)($1)
1174 ; 64R6-NEXT: ldc1 $f1, 0($1)
1175 ; 64R6-NEXT: cmp.lt.d $f0, $f1, $f0
1176 ; 64R6-NEXT: mfc1 $1, $f0
1177 ; 64R6-NEXT: andi $1, $1, 1
1178 ; 64R6-NEXT: seleqz $2, $5, $1
1179 ; 64R6-NEXT: selnez $1, $4, $1
1180 ; 64R6-NEXT: jr $ra
1181 ; 64R6-NEXT: or $2, $1, $2