1 # RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32r2
3 # CHECK: abs.d $f12,$f14
12 # CHECK: add.d $f8,$f12,$f14
15 # CHECK: add.s $f9,$f6,$f7
18 # CHECK: addi t1,a2,17767
21 # CHECK: addiu t1,a2,-15001
24 # CHECK: addu t1,a2,a3
30 # CHECK: andi t1,a2,0x4567
39 # CHECK: bc1f 00000534
42 # CHECK: bc1t 00000534
45 # CHECK: beq t1,a2,00000534
48 # CHECK: bgez a2,00000534
51 # CHECK: bgezal a2,00000534
54 # CHECK: bgtz a2,00000534
57 # CHECK: blez a2,00000534
60 # CHECK: bne t1,a2,00000534
63 # CHECK: c.eq.d $f12,$f14
66 # CHECK: c.eq.s $f6,$f7
69 # CHECK: c.f.d $f12,$f14
72 # CHECK: c.f.s $f6,$f7
75 # CHECK: c.le.d $f12,$f14
78 # CHECK: c.le.s $f6,$f7
81 # CHECK: c.lt.d $f12,$f14
84 # CHECK: c.lt.s $f6,$f7
87 # CHECK: c.nge.d $f12,$f14
90 # CHECK: c.nge.s $f6,$f7
93 # CHECK: c.ngl.d $f12,$f14
96 # CHECK: c.ngl.s $f6,$f7
99 # CHECK: c.ngle.d $f12,$f14
102 # CHECK: c.ngle.s $f6,$f7
105 # CHECK: c.ngt.d $f12,$f14
108 # CHECK: c.ngt.s $f6,$f7
111 # CHECK: c.ole.d $f12,$f14
114 # CHECK: c.ole.s $f6,$f7
117 # CHECK: c.olt.d $f12,$f14
120 # CHECK: c.olt.s $f6,$f7
123 # CHECK: c.seq.d $f12,$f14
126 # CHECK: c.seq.s $f6,$f7
129 # CHECK: c.sf.d $f12,$f14
132 # CHECK: c.sf.s $f6,$f7
135 # CHECK: c.ueq.d $f12,$f14
138 # CHECK: c.ueq.s $f28,$f18
141 # CHECK: c.ule.d $f12,$f14
144 # CHECK: c.ule.s $f6,$f7
147 # CHECK: c.ult.d $f12,$f14
150 # CHECK: c.ult.s $f6,$f7
153 # CHECK: c.un.d $f12,$f14
156 # CHECK: c.un.s $f6,$f7
159 # CHECK: ceil.w.d $f12,$f14
162 # CHECK: ceil.w.s $f6,$f7
177 # CHECK: cvt.d.s $f6,$f7
180 # CHECK: cvt.d.w $f12,$f14
183 # CHECK: cvt.l.d $f12,$f14
186 # CHECK: cvt.l.s $f6,$f7
189 # CHECK: cvt.s.d $f12,$f14
192 # CHECK: cvt.s.w $f6,$f7
195 # CHECK: cvt.w.d $f12,$f14
198 # CHECK: cvt.w.s $f6,$f7
201 # CHECK: floor.w.d $f12,$f14
204 # CHECK: floor.w.s $f6,$f7
207 # CHECK: ins s3,t1,0x6,0x7
213 # CHECK: jal 00000530
222 # CHECK: lb a0,9158(a1)
225 # CHECK: lbu a0,6(a1)
228 # CHECK: ldc1 $f9,9158(a3)
231 # CHECK: lh a0,12(a1)
234 # CHECK: lh a0,12(a1)
240 # CHECK: ll t1,9158(a3)
243 # CHECK: lui a2,0x4567
246 # CHECK: lw a0,24(a1)
249 # CHECK: lwc1 $f9,9158(a3)
267 # CHECK: mov.d $f6,$f8
270 # CHECK: mov.s $f6,$f7
291 # CHECK: mul.d $f8,$f12,$f14
294 # CHECK: mul.s $f9,$f6,$f7
297 # CHECK: mul t1,a2,a3
306 # CHECK: neg.d $f12,$f14
309 # CHECK: neg.s $f6,$f7
318 # CHECK: nor t1,a2,a3
327 # CHECK: ori t1,a2,0x4567
330 # CHECK: rdhwr a2,$29
333 # CHECK: ror t1,a2,0x7
336 # CHECK: rorv t1,a2,a3
339 # CHECK: round.w.d $f6,$f14
342 # CHECK: round.w.s $f6,$f7
345 # CHECK: sb a0,9158(a1)
351 # CHECK: sc t1,9158(a3)
354 # CHECK: sdc1 $f9,9158(a3)
363 # CHECK: sh a0,9158(a1)
366 # CHECK: sll a0,v1,0x7
369 # CHECK: sllv v0,v1,a1
372 # CHECK: slt v1,v1,a1
375 # CHECK: slti v1,v1,103
378 # CHECK: sltiu v1,v1,103
381 # CHECK: sltu v1,v1,a1
384 # CHECK: sqrt.d $f12,$f14
387 # CHECK: sqrt.s $f6,$f7
390 # CHECK: sra a0,v1,0x7
393 # CHECK: sra a0,v1,0x7
396 # CHECK: srav v0,v1,a1
399 # CHECK: srl a0,v1,0x7
402 # CHECK: srlv v0,v1,a1
405 # CHECK: sub.d $f8,$f12,$f14
408 # CHECK: sub.s $f9,$f6,$f7
411 # CHECK: sub t1,a2,a3
414 # CHECK: subu a0,v1,a1
417 # CHECK: sw a0,24(a1)
420 # CHECK: swc1 $f9,9158(a3)
426 # CHECK: trunc.w.d $f12,$f14
429 # CHECK: trunc.w.s $f6,$f7
435 # CHECK: xor v1,v1,a1
438 # CHECK: xori t1,a2,0x4567