Lines Matching refs:R6
4 ; RUN: llc -march=mips -mcpu=mips32r6 < %s | FileCheck %s -check-prefixes=32R6
8 ; RUN: llc -march=mips -mcpu=mips64r6 -target-abi n64 < %s | FileCheck %s -check-prefixes=64R6
22 ; 32R6-LABEL: madd1:
23 ; 32R6: # %bb.0: # %entry
24 ; 32R6-NEXT: mul $1, $5, $4
25 ; 32R6-NEXT: addu $3, $1, $6
26 ; 32R6-NEXT: sltu $1, $3, $1
27 ; 32R6-NEXT: muh $2, $5, $4
28 ; 32R6-NEXT: sra $4, $6, 31
29 ; 32R6-NEXT: addu $2, $2, $4
30 ; 32R6-NEXT: jr $ra
31 ; 32R6-NEXT: addu $2, $2, $1
53 ; 64R6-LABEL: madd1:
54 ; 64R6: # %bb.0: # %entry
55 ; 64R6-NEXT: sll $1, $4, 0
56 ; 64R6-NEXT: sll $2, $5, 0
57 ; 64R6-NEXT: dmul $1, $2, $1
58 ; 64R6-NEXT: sll $2, $6, 0
59 ; 64R6-NEXT: jr $ra
60 ; 64R6-NEXT: daddu $2, $1, $2
94 ; 32R6-LABEL: madd2:
95 ; 32R6: # %bb.0: # %entry
96 ; 32R6-NEXT: mul $1, $5, $4
97 ; 32R6-NEXT: addu $3, $1, $6
98 ; 32R6-NEXT: sltu $1, $3, $1
99 ; 32R6-NEXT: muhu $2, $5, $4
100 ; 32R6-NEXT: jr $ra
101 ; 32R6-NEXT: addu $2, $2, $1
120 ; 64R6-LABEL: madd2:
121 ; 64R6: # %bb.0: # %entry
122 ; 64R6-NEXT: dmul $1, $5, $4
123 ; 64R6-NEXT: jr $ra
124 ; 64R6-NEXT: daddu $2, $1, $6
155 ; 32R6-LABEL: madd3:
156 ; 32R6: # %bb.0: # %entry
157 ; 32R6-NEXT: mul $1, $5, $4
158 ; 32R6-NEXT: addu $3, $1, $7
159 ; 32R6-NEXT: sltu $1, $3, $1
160 ; 32R6-NEXT: muh $2, $5, $4
161 ; 32R6-NEXT: addu $2, $2, $6
162 ; 32R6-NEXT: jr $ra
163 ; 32R6-NEXT: addu $2, $2, $1
183 ; 64R6-LABEL: madd3:
184 ; 64R6: # %bb.0: # %entry
185 ; 64R6-NEXT: sll $1, $4, 0
186 ; 64R6-NEXT: sll $2, $5, 0
187 ; 64R6-NEXT: dmul $1, $2, $1
188 ; 64R6-NEXT: jr $ra
189 ; 64R6-NEXT: daddu $2, $1, $6
217 ; 32R6-LABEL: madd4:
218 ; 32R6: # %bb.0: # %entry
219 ; 32R6-NEXT: mul $1, $4, $5
220 ; 32R6-NEXT: jr $ra
221 ; 32R6-NEXT: addu $2, $6, $1
238 ; 64R6-LABEL: madd4:
239 ; 64R6: # %bb.0: # %entry
240 ; 64R6-NEXT: sll $1, $5, 0
241 ; 64R6-NEXT: sll $2, $4, 0
242 ; 64R6-NEXT: mul $1, $2, $1
243 ; 64R6-NEXT: sll $2, $6, 0
244 ; 64R6-NEXT: jr $ra
245 ; 64R6-NEXT: addu $2, $2, $1
271 ; 32R6-LABEL: msub1:
272 ; 32R6: # %bb.0: # %entry
273 ; 32R6-NEXT: mul $1, $5, $4
274 ; 32R6-NEXT: sltu $2, $6, $1
275 ; 32R6-NEXT: muh $3, $5, $4
276 ; 32R6-NEXT: sra $4, $6, 31
277 ; 32R6-NEXT: subu $3, $4, $3
278 ; 32R6-NEXT: subu $2, $3, $2
279 ; 32R6-NEXT: jr $ra
280 ; 32R6-NEXT: subu $3, $6, $1
302 ; 64R6-LABEL: msub1:
303 ; 64R6: # %bb.0: # %entry
304 ; 64R6-NEXT: sll $1, $4, 0
305 ; 64R6-NEXT: sll $2, $5, 0
306 ; 64R6-NEXT: dmul $1, $2, $1
307 ; 64R6-NEXT: sll $2, $6, 0
308 ; 64R6-NEXT: jr $ra
309 ; 64R6-NEXT: dsubu $2, $2, $1
343 ; 32R6-LABEL: msub2:
344 ; 32R6: # %bb.0: # %entry
345 ; 32R6-NEXT: muhu $1, $5, $4
346 ; 32R6-NEXT: mul $3, $5, $4
347 ; 32R6-NEXT: sltu $2, $6, $3
348 ; 32R6-NEXT: addu $1, $1, $2
349 ; 32R6-NEXT: negu $2, $1
350 ; 32R6-NEXT: jr $ra
351 ; 32R6-NEXT: subu $3, $6, $3
370 ; 64R6-LABEL: msub2:
371 ; 64R6: # %bb.0: # %entry
372 ; 64R6-NEXT: dmul $1, $5, $4
373 ; 64R6-NEXT: jr $ra
374 ; 64R6-NEXT: dsubu $2, $6, $1
406 ; 32R6-LABEL: msub3:
407 ; 32R6: # %bb.0: # %entry
408 ; 32R6-NEXT: mul $1, $5, $4
409 ; 32R6-NEXT: sltu $2, $7, $1
410 ; 32R6-NEXT: muh $3, $5, $4
411 ; 32R6-NEXT: subu $3, $6, $3
412 ; 32R6-NEXT: subu $2, $3, $2
413 ; 32R6-NEXT: jr $ra
414 ; 32R6-NEXT: subu $3, $7, $1
434 ; 64R6-LABEL: msub3:
435 ; 64R6: # %bb.0: # %entry
436 ; 64R6-NEXT: sll $1, $4, 0
437 ; 64R6-NEXT: sll $2, $5, 0
438 ; 64R6-NEXT: dmul $1, $2, $1
439 ; 64R6-NEXT: jr $ra
440 ; 64R6-NEXT: dsubu $2, $6, $1
468 ; 32R6-LABEL: msub4:
469 ; 32R6: # %bb.0: # %entry
470 ; 32R6-NEXT: mul $1, $4, $5
471 ; 32R6-NEXT: jr $ra
472 ; 32R6-NEXT: subu $2, $6, $1
489 ; 64R6-LABEL: msub4:
490 ; 64R6: # %bb.0: # %entry
491 ; 64R6-NEXT: sll $1, $5, 0
492 ; 64R6-NEXT: sll $2, $4, 0
493 ; 64R6-NEXT: mul $1, $2, $1
494 ; 64R6-NEXT: sll $2, $6, 0
495 ; 64R6-NEXT: jr $ra
496 ; 64R6-NEXT: subu $2, $2, $1