• Home
  • Raw
  • Download

Lines Matching refs:MIPS64

3 ; RUN: llc -mtriple=mips64el-mti-linux-gnu < %s | FileCheck %s -check-prefix=MIPS64
13 ; MIPS64-LABEL: mul5_32:
14 ; MIPS64: # %bb.0: # %entry
15 ; MIPS64-NEXT: sll $1, $4, 2
16 ; MIPS64-NEXT: jr $ra
17 ; MIPS64-NEXT: addu $2, $1, $4
32 ; MIPS64-LABEL: mul27_32:
33 ; MIPS64: # %bb.0: # %entry
34 ; MIPS64-NEXT: sll $1, $4, 2
35 ; MIPS64-NEXT: addu $1, $1, $4
36 ; MIPS64-NEXT: sll $2, $4, 5
37 ; MIPS64-NEXT: jr $ra
38 ; MIPS64-NEXT: subu $2, $2, $1
53 ; MIPS64-LABEL: muln2147483643_32:
54 ; MIPS64: # %bb.0: # %entry
55 ; MIPS64-NEXT: sll $1, $4, 2
56 ; MIPS64-NEXT: addu $1, $1, $4
57 ; MIPS64-NEXT: sll $2, $4, 31
58 ; MIPS64-NEXT: jr $ra
59 ; MIPS64-NEXT: addu $2, $2, $1
80 ; MIPS64-LABEL: muln9223372036854775805_64:
81 ; MIPS64: # %bb.0: # %entry
82 ; MIPS64-NEXT: dsll $1, $4, 1
83 ; MIPS64-NEXT: daddu $1, $1, $4
84 ; MIPS64-NEXT: dsll $2, $4, 63
85 ; MIPS64-NEXT: jr $ra
86 ; MIPS64-NEXT: daddu $2, $2, $1
124 ; MIPS64-LABEL: muln170141183460469231731687303715884105725_128:
125 ; MIPS64: # %bb.0: # %entry
126 ; MIPS64-NEXT: dsrl $1, $4, 63
127 ; MIPS64-NEXT: dsll $2, $5, 1
128 ; MIPS64-NEXT: or $1, $2, $1
129 ; MIPS64-NEXT: daddu $1, $1, $5
130 ; MIPS64-NEXT: dsll $3, $4, 1
131 ; MIPS64-NEXT: daddu $2, $3, $4
132 ; MIPS64-NEXT: sltu $3, $2, $3
133 ; MIPS64-NEXT: dsll $3, $3, 32
134 ; MIPS64-NEXT: dsrl $3, $3, 32
135 ; MIPS64-NEXT: daddu $1, $1, $3
136 ; MIPS64-NEXT: dsll $3, $4, 63
137 ; MIPS64-NEXT: jr $ra
138 ; MIPS64-NEXT: daddu $3, $3, $1
187 ; MIPS64-LABEL: mul170141183460469231731687303715884105723_128:
188 ; MIPS64: # %bb.0: # %entry
189 ; MIPS64-NEXT: dsrl $1, $4, 62
190 ; MIPS64-NEXT: dsll $2, $5, 2
191 ; MIPS64-NEXT: or $1, $2, $1
192 ; MIPS64-NEXT: daddu $1, $1, $5
193 ; MIPS64-NEXT: dsll $2, $4, 2
194 ; MIPS64-NEXT: daddu $5, $2, $4
195 ; MIPS64-NEXT: sltu $2, $5, $2
196 ; MIPS64-NEXT: dsll $2, $2, 32
197 ; MIPS64-NEXT: dsrl $2, $2, 32
198 ; MIPS64-NEXT: daddu $1, $1, $2
199 ; MIPS64-NEXT: dsll $2, $4, 63
200 ; MIPS64-NEXT: dsubu $1, $2, $1
201 ; MIPS64-NEXT: sltu $2, $zero, $5
202 ; MIPS64-NEXT: dsll $2, $2, 32
203 ; MIPS64-NEXT: dsrl $2, $2, 32
204 ; MIPS64-NEXT: dsubu $3, $1, $2
205 ; MIPS64-NEXT: jr $ra
206 ; MIPS64-NEXT: dnegu $2, $5
220 ; MIPS64-LABEL: mul42949673_32:
221 ; MIPS64: # %bb.0:
222 ; MIPS64-NEXT: lui $1, 655
223 ; MIPS64-NEXT: ori $1, $1, 23593
224 ; MIPS64-NEXT: sll $2, $4, 0
225 ; MIPS64-NEXT: jr $ra
226 ; MIPS64-NEXT: mul $2, $2, $1
243 ; MIPS64-LABEL: mul42949673_64:
244 ; MIPS64: # %bb.0: # %entry
245 ; MIPS64-NEXT: lui $1, 655
246 ; MIPS64-NEXT: ori $1, $1, 23593
247 ; MIPS64-NEXT: dmult $4, $1
248 ; MIPS64-NEXT: jr $ra
249 ; MIPS64-NEXT: mflo $2
263 ; MIPS64-LABEL: mul22224078_32:
264 ; MIPS64: # %bb.0: # %entry
265 ; MIPS64-NEXT: lui $1, 339
266 ; MIPS64-NEXT: ori $1, $1, 7374
267 ; MIPS64-NEXT: sll $2, $4, 0
268 ; MIPS64-NEXT: jr $ra
269 ; MIPS64-NEXT: mul $2, $2, $1
287 ; MIPS64-LABEL: mul22224078_64:
288 ; MIPS64: # %bb.0: # %entry
289 ; MIPS64-NEXT: lui $1, 339
290 ; MIPS64-NEXT: ori $1, $1, 7374
291 ; MIPS64-NEXT: dmult $4, $1
292 ; MIPS64-NEXT: jr $ra
293 ; MIPS64-NEXT: mflo $2
307 ; MIPS64-LABEL: mul22245375_32:
308 ; MIPS64: # %bb.0: # %entry
309 ; MIPS64-NEXT: lui $1, 339
310 ; MIPS64-NEXT: ori $1, $1, 28671
311 ; MIPS64-NEXT: sll $2, $4, 0
312 ; MIPS64-NEXT: jr $ra
313 ; MIPS64-NEXT: mul $2, $2, $1
331 ; MIPS64-LABEL: mul22245375_64:
332 ; MIPS64: # %bb.0: # %entry
333 ; MIPS64-NEXT: lui $1, 339
334 ; MIPS64-NEXT: ori $1, $1, 28671
335 ; MIPS64-NEXT: dmult $4, $1
336 ; MIPS64-NEXT: jr $ra
337 ; MIPS64-NEXT: mflo $2
351 ; MIPS64-LABEL: mul25165824_32:
352 ; MIPS64: # %bb.0: # %entry
353 ; MIPS64-NEXT: lui $1, 339
354 ; MIPS64-NEXT: ori $1, $1, 28671
355 ; MIPS64-NEXT: sll $2, $4, 0
356 ; MIPS64-NEXT: jr $ra
357 ; MIPS64-NEXT: mul $2, $2, $1
380 ; MIPS64-LABEL: mul25165824_64:
381 ; MIPS64: # %bb.0: # %entry
382 ; MIPS64-NEXT: dsll $1, $4, 23
383 ; MIPS64-NEXT: dsll $2, $4, 24
384 ; MIPS64-NEXT: jr $ra
385 ; MIPS64-NEXT: daddu $2, $2, $1
399 ; MIPS64-LABEL: mul33554432_32:
400 ; MIPS64: # %bb.0: # %entry
401 ; MIPS64-NEXT: lui $1, 339
402 ; MIPS64-NEXT: ori $1, $1, 28671
403 ; MIPS64-NEXT: sll $2, $4, 0
404 ; MIPS64-NEXT: jr $ra
405 ; MIPS64-NEXT: mul $2, $2, $1
420 ; MIPS64-LABEL: mul33554432_64:
421 ; MIPS64: # %bb.0: # %entry
422 ; MIPS64-NEXT: jr $ra
423 ; MIPS64-NEXT: dsll $2, $4, 25