1# RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips64r2 | FileCheck %s 2# Try a mips* triple to confirm that mips* vs mips64* triples no longer have 3# an effect on the disassembler behaviour. 4# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips64r2 | FileCheck %s 5# CHECK: .text 60x00 0x00 0x00 0x00 # CHECK: nop 70x00 0x00 0x00 0x09 # CHECK: jr $zero 80x00 0x00 0x00 0x0c # CHECK: syscall 90x00 0x00 0x00 0x0d # CHECK: break 100x00 0x00 0x00 0x0f # CHECK: sync 110x00 0x00 0x00 0x20 # CHECK: add $zero, $zero, $zero 120x00 0x00 0x00 0x40 # CHECK: ssnop 130x00 0x00 0x00 0x80 # CHECK: sll $zero, $zero, 2 140x00 0x00 0x00 0xc0 # CHECK: ehb 150x00 0x00 0x01 0xcf # CHECK: sync 7 160x00 0x00 0x04 0xb8 # CHECK: dsll $zero, $zero, 18 170x00 0x00 0x04 0xbc # CHECK: dsll32 $zero, $zero, 18 180x00 0x00 0x04 0xbc # CHECK: dsll32 $zero, $zero, 18 190x00 0x00 0x28 0x09 # CHECK: jalr $5, $zero 200x00 0x00 0x28 0x10 # CHECK: mfhi $5 210x00 0x00 0x28 0x12 # CHECK: mflo $5 220x00 0x00 0x3c 0x80 # CHECK: sll $7, $zero, 18 230x00 0x00 0x72 0x0d # CHECK: break 0, 456 240x00 0x00 0x88 0x12 # CHECK: mflo $17 250x00 0x00 0x98 0x10 # CHECK: mfhi $19 260x00 0x00 0xe8 0x10 # CHECK: mfhi $sp 270x00 0x01 0x0f 0xbb # CHECK: dsra $1, $1, 30 280x00 0x02 0x10 0x23 # CHECK: negu $2, $2 290x00 0x02 0x11 0xc2 # CHECK: srl $2, $2, 7 300x00 0x02 0x11 0xc2 # CHECK: srl $2, $2, 7 310x00 0x03 0x00 0x34 # CHECK: teq $zero, $3 320x00 0x03 0x10 0x23 # CHECK: negu $2, $3 330x00 0x03 0x10 0x2e # CHECK: dneg $2, $3 340x00 0x03 0x10 0x2f # CHECK: dnegu $2, $3 350x00 0x03 0x21 0xc0 # CHECK: sll $4, $3, 7 360x00 0x03 0x21 0xc2 # CHECK: srl $4, $3, 7 370x00 0x03 0x21 0xc3 # CHECK: sra $4, $3, 7 380x00 0x06 0x9d 0xfa # CHECK: dsrl $19, $6, 23 390x00 0x06 0x9d 0xfe # CHECK: dsrl32 $19, $6, 23 400x00 0x07 0x38 0x27 # CHECK: nor $7, $zero, $7 410x00 0x07 0x3c 0x80 # CHECK: sll $7, $7, 18 420x00 0x08 0xe8 0x22 # CHECK: neg $sp, $8 430x00 0x10 0x00 0x80 # CHECK: sll $zero, $16, 2 440x00 0x11 0x8b 0xc3 # CHECK: sra $17, $17, 15 450x00 0x12 0xe2 0xbb # CHECK: dsra $gp, $18, 10 460x00 0x12 0xe2 0xbf # CHECK: dsra32 $gp, $18, 10 470x00 0x13 0x9d 0xfa # CHECK: dsrl $19, $19, 23 480x00 0x13 0x9d 0xfe # CHECK: dsrl32 $19, $19, 23 490x00 0x14 0x04 0xb8 # CHECK: dsll $zero, $20, 18 500x00 0x17 0x8b 0xc3 # CHECK: sra $17, $23, 15 510x00 0x18 0x1c 0x78 # CHECK: dsll $3, $24, 17 520x00 0x1c 0x56 0x3a # CHECK: dsrl $10, $gp, 24 530x00 0x1c 0xe2 0xbb # CHECK: dsra $gp, $gp, 10 540x00 0x1c 0xe2 0xbf # CHECK: dsra32 $gp, $gp, 10 550x00 0x21 0x0b 0xfa # CHECK: drotr $1, $1, 15 560x00 0x21 0x0b 0xfe # CHECK: drotr32 $1, $1, 15 570x00 0x26 0x49 0xc2 # CHECK: rotr $9, $6, 7 580x00 0x2b 0xd0 0x2d # CHECK: daddu $26, $1, $11 590x00 0x2e 0x0b 0xfa # CHECK: drotr $1, $14, 15 600x00 0x2e 0x0b 0xfe # CHECK: drotr32 $1, $14, 15 610x00 0x3a 0x3a 0xcc # CHECK: syscall 59627 620x00 0x3b 0xa1 0xba # CHECK: drotr $20, $27, 6 630x00 0x3f 0x98 0x2c # CHECK: dadd $19, $1, $ra 640x00 0x3f 0x98 0x2d # CHECK: daddu $19, $1, $ra 650x00 0x4c 0xb8 0x24 # CHECK: and $23, $2, $12 660x00 0x53 0x21 0x72 # CHECK: tlt $2, $19, 133 670x00 0x5c 0x18 0x01 # CHECK: movf $3, $2, $fcc7 680x00 0x5d 0x18 0x01 # CHECK: movt $3, $2, $fcc7 690x00 0x65 0x00 0x18 # CHECK: mult $3, $5 700x00 0x65 0x00 0x19 # CHECK: multu $3, $5 710x00 0x65 0x18 0x25 # CHECK: or $3, $3, $5 720x00 0x65 0x18 0x26 # CHECK: xor $3, $3, $5 730x00 0x65 0x18 0x2a # CHECK: slt $3, $3, $5 740x00 0x65 0x18 0x2b # CHECK: sltu $3, $3, $5 750x00 0x65 0x20 0x23 # CHECK: subu $4, $3, $5 760x00 0x80 0xf0 0x21 # CHECK: move $fp, $4 770x00 0x80 0xf0 0x25 # CHECK: move $fp, $4 780x00 0x80 0xfc 0x09 # CHECK: jalr.hb $4 790x00 0x86 0x48 0x21 # CHECK: addu $9, $4, $6 800x00 0x94 0xc8 0x06 # CHECK: srlv $25, $20, $4 810x00 0x94 0xc8 0x06 # CHECK: srlv $25, $20, $4 820x00 0x9e 0x90 0x26 # CHECK: xor $18, $4, $fp 830x00 0xa0 0x24 0x09 # CHECK: jalr.hb $4, $5 840x00 0xa3 0x10 0x04 # CHECK: sllv $2, $3, $5 850x00 0xa3 0x10 0x06 # CHECK: srlv $2, $3, $5 860x00 0xa3 0x10 0x07 # CHECK: srav $2, $3, $5 870x00 0xa6 0x00 0x1d # CHECK: dmultu $5, $6 880x00 0xa7 0x9b 0x34 # CHECK: teq $5, $7, 620 890x00 0xb3 0x55 0x30 # CHECK: tge $5, $19, 340 900x00 0xb7 0xc0 0x56 # CHECK: drotrv $24, $23, $5 910x00 0xc0 0xc8 0x21 # CHECK: move $25, $6 920x00 0xc0 0xc8 0x25 # CHECK: move $25, $6 930x00 0xc0 0xc8 0x27 # CHECK: not $25, $6 940x00 0xba 0x28 0x2f # CHECK: dsubu $5, $5, $26 950x00 0xc7 0x48 0x20 # CHECK: add $9, $6, $7 960x00 0xc7 0x48 0x21 # CHECK: addu $9, $6, $7 970x00 0xc7 0x48 0x22 # CHECK: sub $9, $6, $7 980x00 0xc7 0x48 0x24 # CHECK: and $9, $6, $7 990x00 0xc7 0x48 0x27 # CHECK: nor $9, $6, $7 1000x00 0xd1 0x00 0x36 # CHECK: tne $6, $17 1010x00 0xe0 0x00 0x08 # CHECK: jr $7 1020x00 0xe0 0x00 0x11 # CHECK: mthi $7 1030x00 0xe0 0x00 0x13 # CHECK: mtlo $7 1040x00 0xe0 0xf8 0x09 # CHECK: jalr $7 1050x00 0xe0 0xf8 0x0b # CHECK: movn $ra, $7, $zero 1060x00 0xe6 0x48 0x46 # CHECK: rotrv $9, $6, $7 1070x00 0xe8 0xdd 0x76 # CHECK: tne $7, $8, 885 1080x00 0xea 0x00 0x30 # CHECK: tge $7, $10 1090x01 0x20 0x38 0x04 # CHECK: sllv $7, $zero, $9 1100x01 0x20 0x38 0x04 # CHECK: sllv $7, $zero, $9 1110x01 0x32 0x00 0x19 # CHECK: multu $9, $18 1120x01 0x38 0x00 0x1f # CHECK: ddivu $zero, $9, $24 1130x01 0x70 0x00 0x33 # CHECK: tltu $11, $16 1140x01 0x7a 0x00 0x1c # CHECK: dmult $11, $26 1150x01 0x7b 0xb8 0x2a # CHECK: slt $23, $11, $27 1160x01 0x94 0x00 0x14 # CHECK: dsllv $zero, $20, $12 1170x01 0x94 0x00 0x14 # CHECK: dsllv $zero, $20, $12 1180x01 0xed 0x00 0x32 # CHECK: tlt $15, $13 1190x01 0xee 0x08 0x56 # CHECK: drotrv $1, $14, $15 1200x02 0x11 0x00 0x1f # CHECK: ddivu $zero, $16, $17 1210x02 0x1d 0x60 0x25 # CHECK: or $12, $16, $sp 1220x02 0x1d 0xfe 0x33 # CHECK: tltu $16, $sp, 1016 1230x02 0x20 0x00 0x11 # CHECK: mthi $17 1240x02 0x27 0x00 0x0d # CHECK: break 551 1250x02 0x45 0xb8 0x20 # CHECK: add $23, $18, $5 1260x02 0x6c 0xb0 0x22 # CHECK: sub $22, $19, $12 1270x02 0x72 0xe0 0x17 # CHECK: dsrav $gp, $18, $19 1280x02 0x72 0xe0 0x17 # CHECK: dsrav $gp, $18, $19 1290x02 0x86 0x98 0x16 # CHECK: dsrlv $19, $6, $20 1300x02 0x86 0x98 0x16 # CHECK: dsrlv $19, $6, $20 1310x02 0x8e 0x5e 0xf1 # CHECK: tgeu $20, $14, 379 1320x02 0xab 0xa0 0x2b # CHECK: sltu $20, $21, $11 1330x02 0xc8 0x38 0x2e # CHECK: dsub $7, $22, $8 1340x02 0xd6 0xe8 0x23 # CHECK: subu $sp, $22, $22 1350x02 0xdc 0x00 0x31 # CHECK: tgeu $22, $gp 1360x02 0xe9 0x00 0x1c # CHECK: dmult $23, $9 1370x02 0xea 0xe0 0x16 # CHECK: dsrlv $gp, $10, $23 1380x02 0xed 0x00 0x1d # CHECK: dmultu $23, $13 1390x03 0x1b 0xe0 0x14 # CHECK: dsllv $gp, $27, $24 1400x03 0x20 0x00 0x13 # CHECK: mtlo $25 1410x03 0x2b 0x00 0x1a # CHECK: div $zero, $25, $11 1420x03 0x2f 0x00 0x1b # CHECK: divu $zero, $25, $15 1430x03 0x53 0x00 0x1e # CHECK: ddiv $zero, $26, $19 1440x03 0x56 0x00 0x1e # CHECK: ddiv $zero, $26, $22 1450x03 0x78 0xe0 0x2f # CHECK: dsubu $gp, $27, $24 1460x03 0x9a 0x00 0x19 # CHECK: multu $gp, $26 1470x03 0xa0 0x00 0x13 # CHECK: mtlo $sp 1480x03 0xa2 0x00 0x18 # CHECK: mult $sp, $2 1490x03 0xb4 0x00 0x18 # CHECK: mult $sp, $20 1500x03 0xb7 0x88 0x07 # CHECK: srav $17, $23, $sp 1510x03 0xb7 0x88 0x07 # CHECK: srav $17, $23, $sp 1520x03 0xc1 0x08 0x17 # CHECK: dsrav $1, $1, $fp 1530x03 0xcd 0x23 0xcd # CHECK: break 973, 143 1540x03 0xe0 0x78 0x25 # CHECK: move $15, $ra 1550x03 0xe0 0x78 0x2d # CHECK: move $15, $ra 1560x04 0x11 0x14 0x9b # CHECK: bal 21104 1570x04 0x7f 0x47 0xc0 # CHECK: synci 18368($3) 1580x04 0x83 0xf9 0x4d # CHECK: bgezl $4, -6856 1590x04 0xc1 0x01 0x4c # CHECK: bgez $6, 1332 1600x04 0xd0 0x14 0x9b # CHECK: bltzal $6, 21104 1610x04 0xd1 0x01 0x4c # CHECK: bgezal $6, 1332 1620x04 0xd1 0x14 0x9b # CHECK: bgezal $6, 21104 1630x04 0xd2 0x00 0x7a # CHECK: bltzall $6, 492 1640x05 0x8e 0x8c 0x31 # CHECK: tnei $12, -29647 1650x05 0x93 0x07 0x1f # CHECK: bgezall $12, 7296 1660x05 0xca 0xad 0xbd # CHECK: tlti $14, -21059 1670x06 0x22 0xf6 0x45 # CHECK: bltzl $17, -9960 1680x06 0x28 0x13 0xa1 # CHECK: tgei $17, 5025 1690x06 0xac 0xbb 0xa0 # CHECK: teqi $21, -17504 1700x07 0xa9 0x90 0x33 # CHECK: tgeiu $sp, -28621 1710x07 0xeb 0xec 0x2c # CHECK: tltiu $ra, -5076 1720x08 0x00 0x00 0x01 # CHECK: j 4 1730x08 0x00 0x01 0x4c # CHECK: j 1328 1740x09 0x33 0x00 0x2a # CHECK: j 80478376 1750x0b 0x2a 0xd1 0x44 # CHECK: j 212550928 1760x0c 0x00 0x01 0x4c # CHECK: jal 1328 1770x10 0x00 0x01 0x4c # CHECK: b 1332 1780x11 0x26 0x01 0x4c # CHECK: beq $9, $6, 1332 1790x15 0x26 0x01 0x4c # CHECK: bne $9, $6, 1332 1800x18 0xc0 0x01 0x4c # CHECK: blez $6, 1332 1810x1c 0xc0 0x01 0x4c # CHECK: bgtz $6, 1332 1820x20 0xc9 0x45 0x67 # CHECK: addi $9, $6, 17767 1830x21 0x08 0xff 0xfe # CHECK: addi $8, $8, -2 1840x21 0x2d 0x66 0xd2 # CHECK: addi $13, $9, 26322 1850x21 0xad 0xe6 0x90 # CHECK: addi $13, $13, -6512 1860x21 0xc9 0x3b 0x48 # CHECK: addi $9, $14, 15176 1870x22 0x36 0x0c 0x36 # CHECK: addi $22, $17, 3126 1880x23 0x18 0xe3 0xe7 # CHECK: addi $24, $24, -7193 1890x24 0x00 0x8b 0x3f # CHECK: addiu $zero, $zero, -29889 1900x24 0x01 0x8b 0xb3 # CHECK: addiu $1, $zero, -29773 1910x24 0xc9 0xc5 0x67 # CHECK: addiu $9, $6, -15001 1920x25 0x29 0x00 0x0a # CHECK: addiu $9, $9, 10 1930x28 0x63 0x00 0x67 # CHECK: slti $3, $3, 103 1940x29 0x51 0x25 0x11 # CHECK: slti $17, $10, 9489 1950x2c 0x63 0x00 0x67 # CHECK: sltiu $3, $3, 103 1960x2f 0x38 0xc3 0x55 # CHECK: sltiu $24, $25, -15531 1970x2f 0x39 0xc3 0x55 # CHECK: sltiu $25, $25, -15531 1980x30 0x42 0x00 0x04 # CHECK: andi $2, $2, 4 1990x30 0xc9 0x45 0x67 # CHECK: andi $9, $6, 17767 2000x34 0x42 0x00 0x00 # CHECK: ori $2, $2, 0 2010x34 0x42 0x00 0x04 # CHECK: ori $2, $2, 4 2020x34 0xc9 0x45 0x67 # CHECK: ori $9, $6, 17767 2030x38 0xc9 0x45 0x67 # CHECK: xori $9, $6, 17767 2040x3c 0x00 0x00 0x80 # CHECK: lui $zero, 128 2050x3c 0x01 0x00 0x01 # CHECK: lui $1, 1 2060x3c 0x06 0x45 0x67 # CHECK: lui $6, 17767 2070x3c 0x1f 0x00 0x01 # CHECK: lui $ra, 1 2080x40 0x08 0x78 0x01 # CHECK: mfc0 $8, $15, 1 2090x40 0x08 0x80 0x04 # CHECK: mfc0 $8, $16, 4 2100x40 0x38 0x50 0x00 # CHECK: dmfc0 $24, $10, 0 2110x40 0x89 0x78 0x01 # CHECK: mtc0 $9, $15, 1 2120x40 0xa4 0x50 0x00 # CHECK: dmtc0 $4, $10, 0 2130x41 0x60 0x60 0x00 # CHECK: di 2140x41 0x60 0x60 0x20 # CHECK: ei 2150x41 0x6e 0x60 0x20 # CHECK: ei $14 2160x41 0x7e 0x60 0x00 # CHECK: di $fp 2170x42 0x00 0x00 0x01 # CHECK: tlbr 2180x42 0x00 0x00 0x02 # CHECK: tlbwi 2190x42 0x00 0x00 0x06 # CHECK: tlbwr 2200x42 0x00 0x00 0x08 # CHECK: tlbp 2210x42 0x00 0x00 0x18 # CHECK: eret 2220x42 0x00 0x00 0x20 # CHECK: wait 2230x44 0x06 0x38 0x00 # CHECK: mfc1 $6, $f7 2240x44 0x07 0xd8 0x00 # CHECK: mfc1 $7, $f27 2250x44 0x22 0x70 0x00 # CHECK: dmfc1 $2, $f14 2260x44 0x2c 0x68 0x00 # CHECK: dmfc1 $12, $f13 2270x44 0x46 0x38 0x00 # CHECK: cfc1 $6, $7 2280x44 0x51 0xa8 0x00 # CHECK: cfc1 $17, $21 2290x44 0x7e 0xc0 0x00 # CHECK: mfhc1 $fp, $f24 2300x44 0x86 0x38 0x00 # CHECK: mtc1 $6, $f7 2310x44 0x9e 0x48 0x00 # CHECK: mtc1 $fp, $f9 2320x44 0xb0 0x70 0x00 # CHECK: dmtc1 $16, $f14 2330x44 0xb7 0x28 0x00 # CHECK: dmtc1 $23, $f5 2340x44 0xc6 0x38 0x00 # CHECK: ctc1 $6, $7 2350x44 0xc6 0xd0 0x00 # CHECK: ctc1 $6, $26 2360x44 0xe0 0x80 0x00 # CHECK: mthc1 $zero, $f16 2370x45 0x00 0x00 0x01 # CHECK: bc1f 8 2380x45 0x00 0x01 0x4c # CHECK: bc1f 1332 2390x45 0x01 0x00 0x01 # CHECK: bc1t 8 2400x45 0x01 0x01 0x4c # CHECK: bc1t 1332 2410x45 0x02 0x00 0x0c # CHECK: bc1fl 52 2420x45 0x03 0xf7 0xf4 # CHECK: bc1tl -8236 2430x45 0x1c 0x01 0x4c # CHECK: bc1f $fcc7, 1332 2440x45 0x1d 0x01 0x4c # CHECK: bc1t $fcc7, 1332 2450x46 0x00 0x08 0x04 # CHECK: sqrt.s $f0, $f1 2460x46 0x00 0x2b 0x0b # CHECK: floor.l.s $f12, $f5 2470x46 0x00 0x2e 0x48 # CHECK: round.l.s $f25, $f5 2480x46 0x00 0x39 0x84 # CHECK: sqrt.s $f6, $f7 2490x46 0x00 0x39 0x85 # CHECK: abs.s $f6, $f7 2500x46 0x00 0x39 0x86 # CHECK: mov.s $f6, $f7 2510x46 0x00 0x39 0x87 # CHECK: neg.s $f6, $f7 2520x46 0x00 0x39 0x8c # CHECK: round.w.s $f6, $f7 2530x46 0x00 0x39 0x8d # CHECK: trunc.w.s $f6, $f7 2540x46 0x00 0x39 0x8e # CHECK: ceil.w.s $f6, $f7 2550x46 0x00 0x39 0x8f # CHECK: floor.w.s $f6, $f7 2560x46 0x00 0x39 0xa1 # CHECK: cvt.d.s $f6, $f7 2570x46 0x00 0x39 0xa4 # CHECK: cvt.w.s $f6, $f7 2580x46 0x00 0x39 0xa5 # CHECK: cvt.l.s $f6, $f7 2590x46 0x00 0x46 0xa5 # CHECK: cvt.l.s $f26, $f8 2600x46 0x00 0x4a 0x0f # CHECK: floor.w.s $f8, $f9 2610x46 0x00 0x6c 0x8a # CHECK: ceil.l.s $f18, $f13 2620x46 0x00 0x78 0x47 # CHECK: neg.s $f1, $f15 2630x46 0x00 0x82 0x45 # CHECK: abs.s $f9, $f16 2640x46 0x00 0xa1 0x8e # CHECK: ceil.w.s $f6, $f20 2650x46 0x00 0xc5 0x24 # CHECK: cvt.w.s $f20, $f24 2660x46 0x00 0xc5 0x53 # CHECK: movn.s $f21, $f24, $zero 2670x46 0x00 0xd8 0x86 # CHECK: mov.s $f2, $f27 2680x46 0x00 0xe5 0xa1 # CHECK: cvt.d.s $f22, $f28 2690x46 0x00 0xe6 0xcc # CHECK: round.w.s $f27, $f28 2700x46 0x00 0xf7 0x0d # CHECK: trunc.w.s $f28, $f30 2710x46 0x00 0xff 0x09 # CHECK: trunc.l.s $f28, $f31 2720x46 0x02 0x57 0x82 # CHECK: mul.s $f30, $f10, $f2 2730x46 0x07 0x30 0x30 # CHECK: c.f.s $f6, $f7 2740x46 0x07 0x30 0x31 # CHECK: c.un.s $f6, $f7 2750x46 0x07 0x30 0x32 # CHECK: c.eq.s $f6, $f7 2760x46 0x07 0x30 0x34 # CHECK: c.olt.s $f6, $f7 2770x46 0x07 0x30 0x35 # CHECK: c.ult.s $f6, $f7 2780x46 0x07 0x30 0x36 # CHECK: c.ole.s $f6, $f7 2790x46 0x07 0x30 0x37 # CHECK: c.ule.s $f6, $f7 2800x46 0x07 0x30 0x38 # CHECK: c.sf.s $f6, $f7 2810x46 0x07 0x30 0x39 # CHECK: c.ngle.s $f6, $f7 2820x46 0x07 0x30 0x3a # CHECK: c.seq.s $f6, $f7 2830x46 0x07 0x30 0x3b # CHECK: c.ngl.s $f6, $f7 2840x46 0x07 0x30 0x3c # CHECK: c.lt.s $f6, $f7 2850x46 0x07 0x30 0x3d # CHECK: c.nge.s $f6, $f7 2860x46 0x07 0x30 0x3e # CHECK: c.le.s $f6, $f7 2870x46 0x07 0x30 0x3f # CHECK: c.ngt.s $f6, $f7 2880x46 0x07 0x32 0x40 # CHECK: add.s $f9, $f6, $f7 2890x46 0x07 0x32 0x41 # CHECK: sub.s $f9, $f6, $f7 2900x46 0x07 0x32 0x42 # CHECK: mul.s $f9, $f6, $f7 2910x46 0x0f 0x29 0x03 # CHECK: div.s $f4, $f5, $f15 2920x46 0x12 0xe0 0x33 # CHECK: c.ueq.s $f28, $f18 2930x46 0x16 0x70 0x38 # CHECK: c.sf.s $f14, $f22 2940x46 0x16 0xb5 0xc1 # CHECK: sub.s $f23, $f22, $f22 2950x46 0x18 0xaa 0x00 # CHECK: add.s $f8, $f21, $f24 2960x46 0x1c 0x11 0x11 # CHECK: movf.s $f4, $f2, $fcc7 2970x46 0x1d 0x11 0x11 # CHECK: movt.s $f4, $f2, $fcc7 2980x46 0x20 0x0b 0x08 # CHECK: round.l.d $f12, $f1 2990x46 0x20 0x18 0x4a # CHECK: ceil.l.d $f1, $f3 3000x46 0x20 0x21 0x8c # CHECK: round.w.d $f6, $f4 3010x46 0x20 0x3e 0x8b # CHECK: floor.l.d $f26, $f7 3020x46 0x20 0x41 0x86 # CHECK: mov.d $f6, $f8 3030x46 0x20 0x46 0xa0 # CHECK: cvt.s.d $f26, $f8 3040x46 0x20 0x53 0x8f # CHECK: floor.w.d $f14, $f10 3050x46 0x20 0x73 0x04 # CHECK: sqrt.d $f12, $f14 3060x46 0x20 0x73 0x05 # CHECK: abs.d $f12, $f14 3070x46 0x20 0x73 0x07 # CHECK: neg.d $f12, $f14 3080x46 0x20 0x73 0x0c # CHECK: round.w.d $f12, $f14 3090x46 0x20 0x73 0x0d # CHECK: trunc.w.d $f12, $f14 3100x46 0x20 0x73 0x0e # CHECK: ceil.w.d $f12, $f14 3110x46 0x20 0x73 0x0f # CHECK: floor.w.d $f12, $f14 3120x46 0x20 0x73 0x20 # CHECK: cvt.s.d $f12, $f14 3130x46 0x20 0x73 0x24 # CHECK: cvt.w.d $f12, $f14 3140x46 0x20 0x73 0x25 # CHECK: cvt.l.d $f12, $f14 3150x46 0x20 0x75 0x06 # CHECK: mov.d $f20, $f14 3160x46 0x20 0x75 0x24 # CHECK: cvt.w.d $f20, $f14 3170x46 0x20 0x75 0x8d # CHECK: trunc.w.d $f22, $f14 3180x46 0x20 0x96 0x87 # CHECK: neg.d $f26, $f18 3190x46 0x20 0xb4 0x04 # CHECK: sqrt.d $f16, $f22 3200x46 0x20 0xbd 0xc9 # CHECK: trunc.l.d $f23, $f23 3210x46 0x20 0xc1 0x85 # CHECK: abs.d $f6, $f24 3220x46 0x20 0xc2 0xce # CHECK: ceil.w.d $f11, $f24 3230x46 0x20 0xf0 0x38 # CHECK: c.sf.d $f30, $f0 3240x46 0x2e 0x60 0x30 # CHECK: c.f.d $f12, $f14 3250x46 0x2e 0x60 0x31 # CHECK: c.un.d $f12, $f14 3260x46 0x2e 0x60 0x32 # CHECK: c.eq.d $f12, $f14 3270x46 0x2e 0x60 0x33 # CHECK: c.ueq.d $f12, $f14 3280x46 0x2e 0x60 0x34 # CHECK: c.olt.d $f12, $f14 3290x46 0x2e 0x60 0x35 # CHECK: c.ult.d $f12, $f14 3300x46 0x2e 0x60 0x36 # CHECK: c.ole.d $f12, $f14 3310x46 0x2e 0x60 0x37 # CHECK: c.ule.d $f12, $f14 3320x46 0x2e 0x60 0x38 # CHECK: c.sf.d $f12, $f14 3330x46 0x2e 0x60 0x39 # CHECK: c.ngle.d $f12, $f14 3340x46 0x2e 0x60 0x3a # CHECK: c.seq.d $f12, $f14 3350x46 0x2e 0x60 0x3b # CHECK: c.ngl.d $f12, $f14 3360x46 0x2e 0x60 0x3c # CHECK: c.lt.d $f12, $f14 3370x46 0x2e 0x60 0x3d # CHECK: c.nge.d $f12, $f14 3380x46 0x2e 0x60 0x3e # CHECK: c.le.d $f12, $f14 3390x46 0x2e 0x60 0x3f # CHECK: c.ngt.d $f12, $f14 3400x46 0x2e 0x62 0x00 # CHECK: add.d $f8, $f12, $f14 3410x46 0x2e 0x62 0x01 # CHECK: sub.d $f8, $f12, $f14 3420x46 0x2e 0x62 0x02 # CHECK: mul.d $f8, $f12, $f14 3430x46 0x30 0x00 0x39 # CHECK: c.ngle.d $f0, $f16 3440x46 0x30 0x14 0x81 # CHECK: sub.d $f18, $f2, $f16 3450x46 0x30 0xa5 0x02 # CHECK: mul.d $f20, $f20, $f16 3460x46 0x3a 0xa7 0x03 # CHECK: div.d $f28, $f20, $f26 3470x46 0x3a 0xb1 0x13 # CHECK: movn.d $f4, $f22, $26 3480x46 0x3c 0x11 0x11 # CHECK: movf.d $f4, $f2, $fcc7 3490x46 0x3c 0x30 0x00 # CHECK: add.d $f0, $f6, $f28 3500x46 0x3c 0xe0 0x3b # CHECK: c.ngl.d $f28, $f28 3510x46 0x3d 0x11 0x11 # CHECK: movt.d $f4, $f2, $fcc7 3520x46 0x80 0x39 0xa0 # CHECK: cvt.s.w $f6, $f7 3530x46 0x80 0x5e 0xa1 # CHECK: cvt.d.w $f26, $f11 3540x46 0x80 0x73 0x21 # CHECK: cvt.d.w $f12, $f14 3550x46 0x80 0x7d 0xa0 # CHECK: cvt.s.w $f22, $f15 3560x48 0x20 0x50 0x00 # CHECK: dmfc2 $zero, $10, 0 3570x48 0xa4 0x50 0x00 # CHECK: dmtc2 $4, $10, 0 3580x4d 0x0c 0xe0 0x21 # CHECK: madd.d $f0, $f8, $f28, $f12 3590x4d 0xbb 0x0d 0xe0 # CHECK: madd.s $f23, $f13, $f1, $f27 3600x51 0xd3 0x0c 0x40 # CHECK: beql $14, $19, 12548 3610x57 0x94 0x04 0xfc # CHECK: bnel $gp, $20, 5108 3620x58 0xc0 0x02 0xe7 # CHECK: blezl $6, 2976 3630x5d 0x40 0xfc 0x59 # CHECK: bgtzl $10, -3736 3640x46 0xa0 0x81 0x21 # CHECK: cvt.d.l $f4, $f16 3650x46 0xa0 0xf3 0xe0 # CHECK: cvt.s.l $f15, $f30 3660x4c 0xa6 0x00 0x05 # CHECK: luxc1 $f0, $6($5) 3670x4c 0xac 0xc8 0x30 # CHECK: nmadd.s $f0, $f5, $f25, $f12 3680x4c 0xb8 0x20 0x0d # CHECK: suxc1 $f4, $24($5) 3690x4d 0x42 0x00 0x81 # CHECK: ldxc1 $f2, $2($10) 3700x4d 0xbb 0x60 0x0d # CHECK: suxc1 $f12, $27($13) 3710x4d 0xca 0x58 0x09 # CHECK: sdxc1 $f11, $10($14) 3720x4d 0xcc 0x05 0x00 # CHECK: lwxc1 $f20, $12($14) 3730x4d 0xf7 0x02 0x01 # CHECK: ldxc1 $f8, $23($15) 3740x4e 0x70 0x53 0x28 # CHECK: msub.s $f12, $f19, $f10, $f16 3750x4e 0xb6 0x04 0xc5 # CHECK: luxc1 $f19, $22($21) 3760x4e 0xd2 0xd0 0x08 # CHECK: swxc1 $f26, $18($22) 3770x4f 0x04 0x98 0x78 # CHECK: nmsub.s $f1, $f24, $f19, $f4 3780x4f 0x24 0x40 0x09 # CHECK: sdxc1 $f8, $4($25) 3790x4f 0x4c 0x98 0x08 # CHECK: swxc1 $f19, $12($26) 3800x4f 0xd1 0x03 0x00 # CHECK: lwxc1 $f12, $17($fp) 3810x4f 0xf9 0x98 0x60 # CHECK: madd.s $f1, $f31, $f19, $f25 3820x62 0x9d 0x6c 0x39 # CHECK: daddi $sp, $20, 27705 3830x62 0x9d 0x93 0xc7 # CHECK: daddi $sp, $20, -27705 3840x62 0x9d 0x93 0xc7 # CHECK: daddi $sp, $20, -27705 3850x62 0x9d 0x93 0xc7 # CHECK: daddi $sp, $20, -27705 3860x63 0xbd 0x6c 0x39 # CHECK: daddi $sp, $sp, 27705 3870x63 0xbd 0x93 0xc7 # CHECK: daddi $sp, $sp, -27705 3880x63 0xbd 0x93 0xc7 # CHECK: daddi $sp, $sp, -27705 3890x64 0x58 0x46 0x9f # CHECK: daddiu $24, $2, 18079 3900x65 0x6f 0xec 0x5f # CHECK: daddiu $15, $11, -5025 3910x65 0xce 0x11 0xea # CHECK: daddiu $14, $14, 4586 3920x66 0x73 0x69 0x3f # CHECK: daddiu $19, $19, 26943 3930x66 0xda 0xee 0x16 # CHECK: daddiu $26, $22, -4586 3940x67 0x4b 0x7c 0xcd # CHECK: daddiu $11, $26, 31949 3950x67 0xbd 0xff 0xe0 # CHECK: daddiu $sp, $sp, -32 3960x6b 0x18 0xef 0xb9 # CHECK: ldl $24, -4167($24) 3970x6e 0x8e 0x89 0x6a # CHECK: ldr $14, -30358($20) 3980x70 0xc7 0x00 0x00 # CHECK: madd $6, $7 3990x70 0xc7 0x00 0x01 # CHECK: maddu $6, $7 4000x70 0xc7 0x00 0x04 # CHECK: msub $6, $7 4010x70 0xc7 0x00 0x05 # CHECK: msubu $6, $7 4020x70 0xc7 0x48 0x02 # CHECK: mul $9, $6, $7 4030x70 0xc7 0x7d 0x3f # CHECK: sdbbp 204276 4040x70 0xd2 0x90 0x25 # CHECK: dclo $18, $6 4050x70 0xe6 0x30 0x20 # CHECK: clz $6, $7 4060x70 0xe6 0x30 0x21 # CHECK: clo $6, $7 4070x71 0x3a 0xd0 0x24 # CHECK: dclz $26, $9 4080x73 0x09 0x48 0x25 # CHECK: dclo $9, $24 4090x73 0x30 0x80 0x24 # CHECK: dclz $16, $25 4100x74 0x00 0x01 0x4c # CHECK: jalx 1328 4110x7c 0x05 0xe8 0x3b # CHECK: .set push 412 # CHECK: .set mips32r2 413 # CHECK: rdhwr $5, $29 414 # CHECK: .set pop 4150x7c 0x07 0x30 0xa0 # CHECK: wsbh $6, $7 4160x7c 0x07 0x34 0x20 # CHECK: seb $6, $7 4170x7c 0x07 0x36 0x20 # CHECK: seh $6, $7 4180x7c 0x0e 0x18 0xa4 # CHECK: dsbh $3, $14 4190x7c 0x0e 0x19 0x64 # CHECK: dshd $3, $14 4200x7c 0x1c 0x38 0xa4 # CHECK: dsbh $7, $gp 4210x7c 0x1d 0x11 0x64 # CHECK: dshd $2, $sp 4220x7d 0x33 0x61 0x84 # CHECK: ins $19, $9, 6, 7 4230x7f 0x87 0xf7 0x43 # CHECK: dext $7, $gp, 29, 31 4240x7f 0x94 0x7b 0xc7 # CHECK: dins $20, $gp, 15, 1 4250x80 0xa4 0x23 0xc6 # CHECK: lb $4, 9158($5) 4260x81 0x58 0xc7 0x4d # CHECK: lb $24, -14515($10) 4270x84 0xa4 0x00 0x0c # CHECK: lh $4, 12($5) 4280x84 0xa4 0x00 0x0c # CHECK: lh $4, 12($5) 4290x86 0xab 0xde 0x94 # CHECK: lh $11, -8556($21) 4300x88 0x82 0x00 0x03 # CHECK: lwl $2, 3($4) 4310x89 0xf4 0xef 0x79 # CHECK: lwl $20, -4231($15) 4320x8c 0x3b 0xc4 0xcd # CHECK: lw $27, -15155($1) 4330x8c 0xa4 0x00 0x18 # CHECK: lw $4, 24($5) 4340x8c 0xa8 0x16 0x2a # CHECK: lw $8, 5674($5) 4350x90 0x68 0x75 0xf3 # CHECK: lbu $8, 30195($3) 4360x90 0xa4 0x00 0x06 # CHECK: lbu $4, 6($5) 4370x94 0x53 0xa6 0xbd # CHECK: lhu $19, -22851($2) 4380x98 0xa3 0x00 0x10 # CHECK: lwr $3, 16($5) 4390x9b 0x80 0xb5 0x35 # CHECK: lwr $zero, -19147($gp) 4400x9c 0x63 0xf9 0x2e # CHECK: lwu $3, -1746($3) 4410x9c 0x73 0xa1 0xea # CHECK: lwu $19, -24086($3) 4420xa0 0xa4 0x00 0x06 # CHECK: sb $4, 6($5) 4430xa0 0xa4 0x23 0xc6 # CHECK: sb $4, 9158($5) 4440xa1 0xd6 0xb2 0x6f # CHECK: sb $22, -19857($14) 4450xa4 0xa4 0x23 0xc6 # CHECK: sh $4, 9158($5) 4460xa5 0xee 0xe5 0xd0 # CHECK: sh $14, -6704($15) 4470xa8 0xa4 0x00 0x10 # CHECK: swl $4, 16($5) 4480xaa 0x6f 0x35 0x7e # CHECK: swl $15, 13694($19) 4490xac 0x3a 0xc4 0xc9 # CHECK: sw $26, -15159($1) 4500xac 0xa4 0x00 0x18 # CHECK: sw $4, 24($5) 4510xaf 0xbf 0xd8 0x50 # CHECK: sw $ra, -10160($sp) 4520xb3 0xc7 0xae 0x1f # CHECK: sdl $7, -20961($fp) 4530xb5 0x8b 0xb0 0x39 # CHECK: sdr $11, -20423($12) 4540xb8 0xe6 0x00 0x10 # CHECK: swr $6, 16($7) 4550xb9 0xd1 0x98 0x22 # CHECK: swr $17, -26590($14) 4560xbc 0x61 0x00 0x02 # CHECK: cache 1, 2($3) 4570xbc 0x80 0xb7 0xd2 # CHECK: cache 0, -18478($4) 4580xc0 0xe9 0x23 0xc6 # CHECK: ll $9, 9158($7) 4590xc2 0x42 0xe3 0x67 # CHECK: ll $2, -7321($18) 4600xc4 0xe9 0x23 0xc6 # CHECK: lwc1 $f9, 9158($7) 4610xc7 0x50 0x27 0xf1 # CHECK: lwc1 $f16, 10225($26) 4620xc8 0xc8 0x23 0xca # CHECK: lwc2 $8, 9162($6) 4630xc8 0xd2 0xfc 0xb7 # CHECK: lwc2 $18, -841($6) 4640xcc 0x43 0x00 0x04 # CHECK: pref 3, 4($2) 4650xcf 0x00 0x00 0x00 # CHECK: pref 0, 0($24) 4660xd3 0xe0 0xc6 0x70 # CHECK: lld $zero, -14736($ra) 4670xd4 0xe9 0x23 0xc6 # CHECK: ldc1 $f9, 9158($7) 4680xd6 0x0a 0x40 0x07 # CHECK: ldc1 $f10, 16391($16) 4690xd8 0x28 0xad 0x43 # CHECK: ldc2 $8, -21181($1) 4700xd9 0x03 0x23 0xca # CHECK: ldc2 $3, 9162($8) 4710xdc 0x1a 0x0f 0x76 # CHECK: ld $26, 3958($zero) 4720xde 0x3d 0x90 0x1b # CHECK: ld $sp, -28645($17) 4730xe0 0xe9 0x23 0xc6 # CHECK: sc $9, 9158($7) 4740xe2 0x6f 0x49 0xd8 # CHECK: sc $15, 18904($19) 4750xe4 0xe9 0x23 0xc6 # CHECK: swc1 $f9, 9158($7) 4760xe7 0x06 0xde 0xef # CHECK: swc1 $f6, -8465($24) 4770xe8 0xe9 0x23 0xc6 # CHECK: swc2 $9, 9158($7) 4780xea 0x19 0x61 0x30 # CHECK: swc2 $25, 24880($16) 4790xf3 0xaf 0xdf 0xcd # CHECK: scd $15, -8243($sp) 4800xf4 0xe9 0x23 0xc6 # CHECK: sdc1 $f9, 9158($7) 4810xf5 0xbe 0x77 0x6e # CHECK: sdc1 $f30, 30574($13) 4820xf8 0xe9 0x23 0xc6 # CHECK: sdc2 $9, 9158($7) 4830xfa 0x54 0x5a 0x75 # CHECK: sdc2 $20, 23157($18) 4840xfc 0x06 0x45 0x67 # CHECK: sd $6, 17767($zero) 4850xfd 0x4c 0x16 0xcb # CHECK: sd $12, 5835($10) 486