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 6 0x00 0x00 0x00 0x00 # CHECK: nop 7 0x00 0x00 0x00 0x09 # CHECK: jr $zero 8 0x00 0x00 0x00 0x0c # CHECK: syscall 9 0x00 0x00 0x00 0x0d # CHECK: break 10 0x00 0x00 0x00 0x0f # CHECK: sync 11 0x00 0x00 0x00 0x20 # CHECK: add $zero, $zero, $zero 12 0x00 0x00 0x00 0x40 # CHECK: ssnop 13 0x00 0x00 0x00 0x80 # CHECK: sll $zero, $zero, 2 14 0x00 0x00 0x00 0xc0 # CHECK: ehb 15 0x00 0x00 0x01 0xcf # CHECK: sync 7 16 0x00 0x00 0x04 0xb8 # CHECK: dsll $zero, $zero, 18 17 0x00 0x00 0x04 0xbc # CHECK: dsll32 $zero, $zero, 18 18 0x00 0x00 0x04 0xbc # CHECK: dsll32 $zero, $zero, 18 19 0x00 0x00 0x28 0x09 # CHECK: jalr $5, $zero 20 0x00 0x00 0x28 0x10 # CHECK: mfhi $5 21 0x00 0x00 0x28 0x12 # CHECK: mflo $5 22 0x00 0x00 0x3c 0x80 # CHECK: sll $7, $zero, 18 23 0x00 0x00 0x72 0x0d # CHECK: break 0, 456 24 0x00 0x00 0x88 0x12 # CHECK: mflo $17 25 0x00 0x00 0x98 0x10 # CHECK: mfhi $19 26 0x00 0x00 0xe8 0x10 # CHECK: mfhi $sp 27 0x00 0x01 0x0f 0xbb # CHECK: dsra $1, $1, 30 28 0x00 0x02 0x10 0x23 # CHECK: negu $2, $2 29 0x00 0x02 0x11 0xc2 # CHECK: srl $2, $2, 7 30 0x00 0x02 0x11 0xc2 # CHECK: srl $2, $2, 7 31 0x00 0x03 0x00 0x34 # CHECK: teq $zero, $3 32 0x00 0x03 0x10 0x23 # CHECK: negu $2, $3 33 0x00 0x03 0x10 0x2e # CHECK: dneg $2, $3 34 0x00 0x03 0x10 0x2f # CHECK: dnegu $2, $3 35 0x00 0x03 0x21 0xc0 # CHECK: sll $4, $3, 7 36 0x00 0x03 0x21 0xc2 # CHECK: srl $4, $3, 7 37 0x00 0x03 0x21 0xc3 # CHECK: sra $4, $3, 7 38 0x00 0x06 0x9d 0xfa # CHECK: dsrl $19, $6, 23 39 0x00 0x06 0x9d 0xfe # CHECK: dsrl32 $19, $6, 23 40 0x00 0x07 0x38 0x27 # CHECK: nor $7, $zero, $7 41 0x00 0x07 0x3c 0x80 # CHECK: sll $7, $7, 18 42 0x00 0x08 0xe8 0x22 # CHECK: neg $sp, $8 43 0x00 0x10 0x00 0x80 # CHECK: sll $zero, $16, 2 44 0x00 0x11 0x8b 0xc3 # CHECK: sra $17, $17, 15 45 0x00 0x12 0xe2 0xbb # CHECK: dsra $gp, $18, 10 46 0x00 0x12 0xe2 0xbf # CHECK: dsra32 $gp, $18, 10 47 0x00 0x13 0x9d 0xfa # CHECK: dsrl $19, $19, 23 48 0x00 0x13 0x9d 0xfe # CHECK: dsrl32 $19, $19, 23 49 0x00 0x14 0x04 0xb8 # CHECK: dsll $zero, $20, 18 50 0x00 0x17 0x8b 0xc3 # CHECK: sra $17, $23, 15 51 0x00 0x18 0x1c 0x78 # CHECK: dsll $3, $24, 17 52 0x00 0x1c 0x56 0x3a # CHECK: dsrl $10, $gp, 24 53 0x00 0x1c 0xe2 0xbb # CHECK: dsra $gp, $gp, 10 54 0x00 0x1c 0xe2 0xbf # CHECK: dsra32 $gp, $gp, 10 55 0x00 0x21 0x0b 0xfa # CHECK: drotr $1, $1, 15 56 0x00 0x21 0x0b 0xfe # CHECK: drotr32 $1, $1, 15 57 0x00 0x26 0x49 0xc2 # CHECK: rotr $9, $6, 7 58 0x00 0x2b 0xd0 0x2d # CHECK: daddu $26, $1, $11 59 0x00 0x2e 0x0b 0xfa # CHECK: drotr $1, $14, 15 60 0x00 0x2e 0x0b 0xfe # CHECK: drotr32 $1, $14, 15 61 0x00 0x3a 0x3a 0xcc # CHECK: syscall 59627 62 0x00 0x3b 0xa1 0xba # CHECK: drotr $20, $27, 6 63 0x00 0x3f 0x98 0x2c # CHECK: dadd $19, $1, $ra 64 0x00 0x3f 0x98 0x2d # CHECK: daddu $19, $1, $ra 65 0x00 0x4c 0xb8 0x24 # CHECK: and $23, $2, $12 66 0x00 0x53 0x21 0x72 # CHECK: tlt $2, $19, 133 67 0x00 0x5c 0x18 0x01 # CHECK: movf $3, $2, $fcc7 68 0x00 0x5d 0x18 0x01 # CHECK: movt $3, $2, $fcc7 69 0x00 0x65 0x00 0x18 # CHECK: mult $3, $5 70 0x00 0x65 0x00 0x19 # CHECK: multu $3, $5 71 0x00 0x65 0x18 0x25 # CHECK: or $3, $3, $5 72 0x00 0x65 0x18 0x26 # CHECK: xor $3, $3, $5 73 0x00 0x65 0x18 0x2a # CHECK: slt $3, $3, $5 74 0x00 0x65 0x18 0x2b # CHECK: sltu $3, $3, $5 75 0x00 0x65 0x20 0x23 # CHECK: subu $4, $3, $5 76 0x00 0x80 0xf0 0x21 # CHECK: move $fp, $4 77 0x00 0x80 0xf0 0x25 # CHECK: move $fp, $4 78 0x00 0x80 0xfc 0x09 # CHECK: jalr.hb $4 79 0x00 0x86 0x48 0x21 # CHECK: addu $9, $4, $6 80 0x00 0x94 0xc8 0x06 # CHECK: srlv $25, $20, $4 81 0x00 0x94 0xc8 0x06 # CHECK: srlv $25, $20, $4 82 0x00 0x9e 0x90 0x26 # CHECK: xor $18, $4, $fp 83 0x00 0xa0 0x24 0x09 # CHECK: jalr.hb $4, $5 84 0x00 0xa3 0x10 0x04 # CHECK: sllv $2, $3, $5 85 0x00 0xa3 0x10 0x06 # CHECK: srlv $2, $3, $5 86 0x00 0xa3 0x10 0x07 # CHECK: srav $2, $3, $5 87 0x00 0xa6 0x00 0x1d # CHECK: dmultu $5, $6 88 0x00 0xa7 0x9b 0x34 # CHECK: teq $5, $7, 620 89 0x00 0xb3 0x55 0x30 # CHECK: tge $5, $19, 340 90 0x00 0xb7 0xc0 0x56 # CHECK: drotrv $24, $23, $5 91 0x00 0xc0 0xc8 0x21 # CHECK: move $25, $6 92 0x00 0xc0 0xc8 0x25 # CHECK: move $25, $6 93 0x00 0xc0 0xc8 0x27 # CHECK: not $25, $6 94 0x00 0xba 0x28 0x2f # CHECK: dsubu $5, $5, $26 95 0x00 0xc7 0x48 0x20 # CHECK: add $9, $6, $7 96 0x00 0xc7 0x48 0x21 # CHECK: addu $9, $6, $7 97 0x00 0xc7 0x48 0x22 # CHECK: sub $9, $6, $7 98 0x00 0xc7 0x48 0x24 # CHECK: and $9, $6, $7 99 0x00 0xc7 0x48 0x27 # CHECK: nor $9, $6, $7 100 0x00 0xd1 0x00 0x36 # CHECK: tne $6, $17 101 0x00 0xe0 0x00 0x08 # CHECK: jr $7 102 0x00 0xe0 0x00 0x11 # CHECK: mthi $7 103 0x00 0xe0 0x00 0x13 # CHECK: mtlo $7 104 0x00 0xe0 0xf8 0x09 # CHECK: jalr $7 105 0x00 0xe0 0xf8 0x0b # CHECK: movn $ra, $7, $zero 106 0x00 0xe6 0x48 0x46 # CHECK: rotrv $9, $6, $7 107 0x00 0xe8 0xdd 0x76 # CHECK: tne $7, $8, 885 108 0x00 0xea 0x00 0x30 # CHECK: tge $7, $10 109 0x01 0x20 0x38 0x04 # CHECK: sllv $7, $zero, $9 110 0x01 0x20 0x38 0x04 # CHECK: sllv $7, $zero, $9 111 0x01 0x32 0x00 0x19 # CHECK: multu $9, $18 112 0x01 0x38 0x00 0x1f # CHECK: ddivu $zero, $9, $24 113 0x01 0x70 0x00 0x33 # CHECK: tltu $11, $16 114 0x01 0x7a 0x00 0x1c # CHECK: dmult $11, $26 115 0x01 0x7b 0xb8 0x2a # CHECK: slt $23, $11, $27 116 0x01 0x94 0x00 0x14 # CHECK: dsllv $zero, $20, $12 117 0x01 0x94 0x00 0x14 # CHECK: dsllv $zero, $20, $12 118 0x01 0xed 0x00 0x32 # CHECK: tlt $15, $13 119 0x01 0xee 0x08 0x56 # CHECK: drotrv $1, $14, $15 120 0x02 0x11 0x00 0x1f # CHECK: ddivu $zero, $16, $17 121 0x02 0x1d 0x60 0x25 # CHECK: or $12, $16, $sp 122 0x02 0x1d 0xfe 0x33 # CHECK: tltu $16, $sp, 1016 123 0x02 0x20 0x00 0x11 # CHECK: mthi $17 124 0x02 0x27 0x00 0x0d # CHECK: break 551 125 0x02 0x45 0xb8 0x20 # CHECK: add $23, $18, $5 126 0x02 0x6c 0xb0 0x22 # CHECK: sub $22, $19, $12 127 0x02 0x72 0xe0 0x17 # CHECK: dsrav $gp, $18, $19 128 0x02 0x72 0xe0 0x17 # CHECK: dsrav $gp, $18, $19 129 0x02 0x86 0x98 0x16 # CHECK: dsrlv $19, $6, $20 130 0x02 0x86 0x98 0x16 # CHECK: dsrlv $19, $6, $20 131 0x02 0x8e 0x5e 0xf1 # CHECK: tgeu $20, $14, 379 132 0x02 0xab 0xa0 0x2b # CHECK: sltu $20, $21, $11 133 0x02 0xc8 0x38 0x2e # CHECK: dsub $7, $22, $8 134 0x02 0xd6 0xe8 0x23 # CHECK: subu $sp, $22, $22 135 0x02 0xdc 0x00 0x31 # CHECK: tgeu $22, $gp 136 0x02 0xe9 0x00 0x1c # CHECK: dmult $23, $9 137 0x02 0xea 0xe0 0x16 # CHECK: dsrlv $gp, $10, $23 138 0x02 0xed 0x00 0x1d # CHECK: dmultu $23, $13 139 0x03 0x1b 0xe0 0x14 # CHECK: dsllv $gp, $27, $24 140 0x03 0x20 0x00 0x13 # CHECK: mtlo $25 141 0x03 0x2b 0x00 0x1a # CHECK: div $zero, $25, $11 142 0x03 0x2f 0x00 0x1b # CHECK: divu $zero, $25, $15 143 0x03 0x53 0x00 0x1e # CHECK: ddiv $zero, $26, $19 144 0x03 0x56 0x00 0x1e # CHECK: ddiv $zero, $26, $22 145 0x03 0x78 0xe0 0x2f # CHECK: dsubu $gp, $27, $24 146 0x03 0x9a 0x00 0x19 # CHECK: multu $gp, $26 147 0x03 0xa0 0x00 0x13 # CHECK: mtlo $sp 148 0x03 0xa2 0x00 0x18 # CHECK: mult $sp, $2 149 0x03 0xb4 0x00 0x18 # CHECK: mult $sp, $20 150 0x03 0xb7 0x88 0x07 # CHECK: srav $17, $23, $sp 151 0x03 0xb7 0x88 0x07 # CHECK: srav $17, $23, $sp 152 0x03 0xc1 0x08 0x17 # CHECK: dsrav $1, $1, $fp 153 0x03 0xcd 0x23 0xcd # CHECK: break 973, 143 154 0x03 0xe0 0x78 0x25 # CHECK: move $15, $ra 155 0x03 0xe0 0x78 0x2d # CHECK: move $15, $ra 156 0x04 0x11 0x14 0x9b # CHECK: bal 21104 157 0x04 0x7f 0x47 0xc0 # CHECK: synci 18368($3) 158 0x04 0x83 0xf9 0x4d # CHECK: bgezl $4, -6856 159 0x04 0xc1 0x01 0x4c # CHECK: bgez $6, 1332 160 0x04 0xd0 0x14 0x9b # CHECK: bltzal $6, 21104 161 0x04 0xd1 0x01 0x4c # CHECK: bgezal $6, 1332 162 0x04 0xd1 0x14 0x9b # CHECK: bgezal $6, 21104 163 0x04 0xd2 0x00 0x7a # CHECK: bltzall $6, 492 164 0x05 0x8e 0x8c 0x31 # CHECK: tnei $12, 35889 165 0x05 0x93 0x07 0x1f # CHECK: bgezall $12, 7296 166 0x05 0xca 0xad 0xbd # CHECK: tlti $14, 44477 167 0x06 0x22 0xf6 0x45 # CHECK: bltzl $17, -9960 168 0x06 0x28 0x13 0xa1 # CHECK: tgei $17, 5025 169 0x06 0xac 0xbb 0xa0 # CHECK: teqi $21, 48032 170 0x07 0xa9 0x90 0x33 # CHECK: tgeiu $sp, 36915 171 0x07 0xeb 0xec 0x2c # CHECK: tltiu $ra, 60460 172 0x08 0x00 0x00 0x01 # CHECK: j 4 173 0x08 0x00 0x01 0x4c # CHECK: j 1328 174 0x09 0x33 0x00 0x2a # CHECK: j 80478376 175 0x0b 0x2a 0xd1 0x44 # CHECK: j 212550928 176 0x0c 0x00 0x01 0x4c # CHECK: jal 1328 177 0x10 0x00 0x01 0x4c # CHECK: b 1332 178 0x11 0x26 0x01 0x4c # CHECK: beq $9, $6, 1332 179 0x15 0x26 0x01 0x4c # CHECK: bne $9, $6, 1332 180 0x18 0xc0 0x01 0x4c # CHECK: blez $6, 1332 181 0x1c 0xc0 0x01 0x4c # CHECK: bgtz $6, 1332 182 0x20 0xc9 0x45 0x67 # CHECK: addi $9, $6, 17767 183 0x21 0x08 0xff 0xfe # CHECK: addi $8, $8, -2 184 0x21 0x2d 0x66 0xd2 # CHECK: addi $13, $9, 26322 185 0x21 0xad 0xe6 0x90 # CHECK: addi $13, $13, -6512 186 0x21 0xc9 0x3b 0x48 # CHECK: addi $9, $14, 15176 187 0x22 0x36 0x0c 0x36 # CHECK: addi $22, $17, 3126 188 0x23 0x18 0xe3 0xe7 # CHECK: addi $24, $24, -7193 189 0x24 0x00 0x8b 0x3f # CHECK: addiu $zero, $zero, -29889 190 0x24 0x01 0x8b 0xb3 # CHECK: addiu $1, $zero, -29773 191 0x24 0xc9 0xc5 0x67 # CHECK: addiu $9, $6, -15001 192 0x25 0x29 0x00 0x0a # CHECK: addiu $9, $9, 10 193 0x28 0x63 0x00 0x67 # CHECK: slti $3, $3, 103 194 0x29 0x51 0x25 0x11 # CHECK: slti $17, $10, 9489 195 0x2c 0x63 0x00 0x67 # CHECK: sltiu $3, $3, 103 196 0x2f 0x38 0xc3 0x55 # CHECK: sltiu $24, $25, -15531 197 0x2f 0x39 0xc3 0x55 # CHECK: sltiu $25, $25, -15531 198 0x30 0x42 0x00 0x04 # CHECK: andi $2, $2, 4 199 0x30 0xc9 0x45 0x67 # CHECK: andi $9, $6, 17767 200 0x34 0x42 0x00 0x00 # CHECK: ori $2, $2, 0 201 0x34 0x42 0x00 0x04 # CHECK: ori $2, $2, 4 202 0x34 0xc9 0x45 0x67 # CHECK: ori $9, $6, 17767 203 0x38 0xc9 0x45 0x67 # CHECK: xori $9, $6, 17767 204 0x3c 0x00 0x00 0x80 # CHECK: lui $zero, 128 205 0x3c 0x01 0x00 0x01 # CHECK: lui $1, 1 206 0x3c 0x06 0x45 0x67 # CHECK: lui $6, 17767 207 0x3c 0x1f 0x00 0x01 # CHECK: lui $ra, 1 208 0x40 0x08 0x78 0x01 # CHECK: mfc0 $8, $15, 1 209 0x40 0x08 0x80 0x04 # CHECK: mfc0 $8, $16, 4 210 0x40 0x38 0x50 0x00 # CHECK: dmfc0 $24, $10, 0 211 0x40 0x89 0x78 0x01 # CHECK: mtc0 $9, $15, 1 212 0x40 0xa4 0x50 0x00 # CHECK: dmtc0 $4, $10, 0 213 0x41 0x60 0x60 0x00 # CHECK: di 214 0x41 0x60 0x60 0x20 # CHECK: ei 215 0x41 0x6e 0x60 0x20 # CHECK: ei $14 216 0x41 0x7e 0x60 0x00 # CHECK: di $fp 217 0x42 0x00 0x00 0x01 # CHECK: tlbr 218 0x42 0x00 0x00 0x02 # CHECK: tlbwi 219 0x42 0x00 0x00 0x06 # CHECK: tlbwr 220 0x42 0x00 0x00 0x08 # CHECK: tlbp 221 0x42 0x00 0x00 0x18 # CHECK: eret 222 0x42 0x00 0x00 0x20 # CHECK: wait 223 0x44 0x06 0x38 0x00 # CHECK: mfc1 $6, $f7 224 0x44 0x07 0xd8 0x00 # CHECK: mfc1 $7, $f27 225 0x44 0x22 0x70 0x00 # CHECK: dmfc1 $2, $f14 226 0x44 0x2c 0x68 0x00 # CHECK: dmfc1 $12, $f13 227 0x44 0x46 0x38 0x00 # CHECK: cfc1 $6, $7 228 0x44 0x51 0xa8 0x00 # CHECK: cfc1 $17, $21 229 0x44 0x7e 0xc0 0x00 # CHECK: mfhc1 $fp, $f24 230 0x44 0x86 0x38 0x00 # CHECK: mtc1 $6, $f7 231 0x44 0x9e 0x48 0x00 # CHECK: mtc1 $fp, $f9 232 0x44 0xb0 0x70 0x00 # CHECK: dmtc1 $16, $f14 233 0x44 0xb7 0x28 0x00 # CHECK: dmtc1 $23, $f5 234 0x44 0xc6 0x38 0x00 # CHECK: ctc1 $6, $7 235 0x44 0xc6 0xd0 0x00 # CHECK: ctc1 $6, $26 236 0x44 0xe0 0x80 0x00 # CHECK: mthc1 $zero, $f16 237 0x45 0x00 0x00 0x01 # CHECK: bc1f 8 238 0x45 0x00 0x01 0x4c # CHECK: bc1f 1332 239 0x45 0x01 0x00 0x01 # CHECK: bc1t 8 240 0x45 0x01 0x01 0x4c # CHECK: bc1t 1332 241 0x45 0x02 0x00 0x0c # CHECK: bc1fl 52 242 0x45 0x03 0xf7 0xf4 # CHECK: bc1tl -8236 243 0x45 0x1c 0x01 0x4c # CHECK: bc1f $fcc7, 1332 244 0x45 0x1d 0x01 0x4c # CHECK: bc1t $fcc7, 1332 245 0x46 0x00 0x08 0x04 # CHECK: sqrt.s $f0, $f1 246 0x46 0x00 0x2b 0x0b # CHECK: floor.l.s $f12, $f5 247 0x46 0x00 0x2e 0x48 # CHECK: round.l.s $f25, $f5 248 0x46 0x00 0x39 0x84 # CHECK: sqrt.s $f6, $f7 249 0x46 0x00 0x39 0x85 # CHECK: abs.s $f6, $f7 250 0x46 0x00 0x39 0x86 # CHECK: mov.s $f6, $f7 251 0x46 0x00 0x39 0x87 # CHECK: neg.s $f6, $f7 252 0x46 0x00 0x39 0x8c # CHECK: round.w.s $f6, $f7 253 0x46 0x00 0x39 0x8d # CHECK: trunc.w.s $f6, $f7 254 0x46 0x00 0x39 0x8e # CHECK: ceil.w.s $f6, $f7 255 0x46 0x00 0x39 0x8f # CHECK: floor.w.s $f6, $f7 256 0x46 0x00 0x39 0xa1 # CHECK: cvt.d.s $f6, $f7 257 0x46 0x00 0x39 0xa4 # CHECK: cvt.w.s $f6, $f7 258 0x46 0x00 0x39 0xa5 # CHECK: cvt.l.s $f6, $f7 259 0x46 0x00 0x46 0xa5 # CHECK: cvt.l.s $f26, $f8 260 0x46 0x00 0x4a 0x0f # CHECK: floor.w.s $f8, $f9 261 0x46 0x00 0x6c 0x8a # CHECK: ceil.l.s $f18, $f13 262 0x46 0x00 0x78 0x47 # CHECK: neg.s $f1, $f15 263 0x46 0x00 0x82 0x45 # CHECK: abs.s $f9, $f16 264 0x46 0x00 0xa1 0x8e # CHECK: ceil.w.s $f6, $f20 265 0x46 0x00 0xc5 0x24 # CHECK: cvt.w.s $f20, $f24 266 0x46 0x00 0xc5 0x53 # CHECK: movn.s $f21, $f24, $zero 267 0x46 0x00 0xd8 0x86 # CHECK: mov.s $f2, $f27 268 0x46 0x00 0xe5 0xa1 # CHECK: cvt.d.s $f22, $f28 269 0x46 0x00 0xe6 0xcc # CHECK: round.w.s $f27, $f28 270 0x46 0x00 0xf7 0x0d # CHECK: trunc.w.s $f28, $f30 271 0x46 0x00 0xff 0x09 # CHECK: trunc.l.s $f28, $f31 272 0x46 0x02 0x57 0x82 # CHECK: mul.s $f30, $f10, $f2 273 0x46 0x07 0x30 0x30 # CHECK: c.f.s $f6, $f7 274 0x46 0x07 0x30 0x31 # CHECK: c.un.s $f6, $f7 275 0x46 0x07 0x30 0x32 # CHECK: c.eq.s $f6, $f7 276 0x46 0x07 0x30 0x34 # CHECK: c.olt.s $f6, $f7 277 0x46 0x07 0x30 0x35 # CHECK: c.ult.s $f6, $f7 278 0x46 0x07 0x30 0x36 # CHECK: c.ole.s $f6, $f7 279 0x46 0x07 0x30 0x37 # CHECK: c.ule.s $f6, $f7 280 0x46 0x07 0x30 0x38 # CHECK: c.sf.s $f6, $f7 281 0x46 0x07 0x30 0x39 # CHECK: c.ngle.s $f6, $f7 282 0x46 0x07 0x30 0x3a # CHECK: c.seq.s $f6, $f7 283 0x46 0x07 0x30 0x3b # CHECK: c.ngl.s $f6, $f7 284 0x46 0x07 0x30 0x3c # CHECK: c.lt.s $f6, $f7 285 0x46 0x07 0x30 0x3d # CHECK: c.nge.s $f6, $f7 286 0x46 0x07 0x30 0x3e # CHECK: c.le.s $f6, $f7 287 0x46 0x07 0x30 0x3f # CHECK: c.ngt.s $f6, $f7 288 0x46 0x07 0x32 0x40 # CHECK: add.s $f9, $f6, $f7 289 0x46 0x07 0x32 0x41 # CHECK: sub.s $f9, $f6, $f7 290 0x46 0x07 0x32 0x42 # CHECK: mul.s $f9, $f6, $f7 291 0x46 0x0f 0x29 0x03 # CHECK: div.s $f4, $f5, $f15 292 0x46 0x12 0xe0 0x33 # CHECK: c.ueq.s $f28, $f18 293 0x46 0x16 0x70 0x38 # CHECK: c.sf.s $f14, $f22 294 0x46 0x16 0xb5 0xc1 # CHECK: sub.s $f23, $f22, $f22 295 0x46 0x18 0xaa 0x00 # CHECK: add.s $f8, $f21, $f24 296 0x46 0x1c 0x11 0x11 # CHECK: movf.s $f4, $f2, $fcc7 297 0x46 0x1d 0x11 0x11 # CHECK: movt.s $f4, $f2, $fcc7 298 0x46 0x20 0x0b 0x08 # CHECK: round.l.d $f12, $f1 299 0x46 0x20 0x18 0x4a # CHECK: ceil.l.d $f1, $f3 300 0x46 0x20 0x21 0x8c # CHECK: round.w.d $f6, $f4 301 0x46 0x20 0x3e 0x8b # CHECK: floor.l.d $f26, $f7 302 0x46 0x20 0x41 0x86 # CHECK: mov.d $f6, $f8 303 0x46 0x20 0x46 0xa0 # CHECK: cvt.s.d $f26, $f8 304 0x46 0x20 0x53 0x8f # CHECK: floor.w.d $f14, $f10 305 0x46 0x20 0x73 0x04 # CHECK: sqrt.d $f12, $f14 306 0x46 0x20 0x73 0x05 # CHECK: abs.d $f12, $f14 307 0x46 0x20 0x73 0x07 # CHECK: neg.d $f12, $f14 308 0x46 0x20 0x73 0x0c # CHECK: round.w.d $f12, $f14 309 0x46 0x20 0x73 0x0d # CHECK: trunc.w.d $f12, $f14 310 0x46 0x20 0x73 0x0e # CHECK: ceil.w.d $f12, $f14 311 0x46 0x20 0x73 0x0f # CHECK: floor.w.d $f12, $f14 312 0x46 0x20 0x73 0x20 # CHECK: cvt.s.d $f12, $f14 313 0x46 0x20 0x73 0x24 # CHECK: cvt.w.d $f12, $f14 314 0x46 0x20 0x73 0x25 # CHECK: cvt.l.d $f12, $f14 315 0x46 0x20 0x75 0x06 # CHECK: mov.d $f20, $f14 316 0x46 0x20 0x75 0x24 # CHECK: cvt.w.d $f20, $f14 317 0x46 0x20 0x75 0x8d # CHECK: trunc.w.d $f22, $f14 318 0x46 0x20 0x96 0x87 # CHECK: neg.d $f26, $f18 319 0x46 0x20 0xb4 0x04 # CHECK: sqrt.d $f16, $f22 320 0x46 0x20 0xbd 0xc9 # CHECK: trunc.l.d $f23, $f23 321 0x46 0x20 0xc1 0x85 # CHECK: abs.d $f6, $f24 322 0x46 0x20 0xc2 0xce # CHECK: ceil.w.d $f11, $f24 323 0x46 0x20 0xf0 0x38 # CHECK: c.sf.d $f30, $f0 324 0x46 0x2e 0x60 0x30 # CHECK: c.f.d $f12, $f14 325 0x46 0x2e 0x60 0x31 # CHECK: c.un.d $f12, $f14 326 0x46 0x2e 0x60 0x32 # CHECK: c.eq.d $f12, $f14 327 0x46 0x2e 0x60 0x33 # CHECK: c.ueq.d $f12, $f14 328 0x46 0x2e 0x60 0x34 # CHECK: c.olt.d $f12, $f14 329 0x46 0x2e 0x60 0x35 # CHECK: c.ult.d $f12, $f14 330 0x46 0x2e 0x60 0x36 # CHECK: c.ole.d $f12, $f14 331 0x46 0x2e 0x60 0x37 # CHECK: c.ule.d $f12, $f14 332 0x46 0x2e 0x60 0x38 # CHECK: c.sf.d $f12, $f14 333 0x46 0x2e 0x60 0x39 # CHECK: c.ngle.d $f12, $f14 334 0x46 0x2e 0x60 0x3a # CHECK: c.seq.d $f12, $f14 335 0x46 0x2e 0x60 0x3b # CHECK: c.ngl.d $f12, $f14 336 0x46 0x2e 0x60 0x3c # CHECK: c.lt.d $f12, $f14 337 0x46 0x2e 0x60 0x3d # CHECK: c.nge.d $f12, $f14 338 0x46 0x2e 0x60 0x3e # CHECK: c.le.d $f12, $f14 339 0x46 0x2e 0x60 0x3f # CHECK: c.ngt.d $f12, $f14 340 0x46 0x2e 0x62 0x00 # CHECK: add.d $f8, $f12, $f14 341 0x46 0x2e 0x62 0x01 # CHECK: sub.d $f8, $f12, $f14 342 0x46 0x2e 0x62 0x02 # CHECK: mul.d $f8, $f12, $f14 343 0x46 0x30 0x00 0x39 # CHECK: c.ngle.d $f0, $f16 344 0x46 0x30 0x14 0x81 # CHECK: sub.d $f18, $f2, $f16 345 0x46 0x30 0xa5 0x02 # CHECK: mul.d $f20, $f20, $f16 346 0x46 0x3a 0xa7 0x03 # CHECK: div.d $f28, $f20, $f26 347 0x46 0x3a 0xb1 0x13 # CHECK: movn.d $f4, $f22, $26 348 0x46 0x3c 0x11 0x11 # CHECK: movf.d $f4, $f2, $fcc7 349 0x46 0x3c 0x30 0x00 # CHECK: add.d $f0, $f6, $f28 350 0x46 0x3c 0xe0 0x3b # CHECK: c.ngl.d $f28, $f28 351 0x46 0x3d 0x11 0x11 # CHECK: movt.d $f4, $f2, $fcc7 352 0x46 0x80 0x39 0xa0 # CHECK: cvt.s.w $f6, $f7 353 0x46 0x80 0x5e 0xa1 # CHECK: cvt.d.w $f26, $f11 354 0x46 0x80 0x73 0x21 # CHECK: cvt.d.w $f12, $f14 355 0x46 0x80 0x7d 0xa0 # CHECK: cvt.s.w $f22, $f15 356 0x48 0x20 0x50 0x00 # CHECK: dmfc2 $zero, $10, 0 357 0x48 0xa4 0x50 0x00 # CHECK: dmtc2 $4, $10, 0 358 0x4d 0x0c 0xe0 0x21 # CHECK: madd.d $f0, $f8, $f28, $f12 359 0x4d 0xbb 0x0d 0xe0 # CHECK: madd.s $f23, $f13, $f1, $f27 360 0x51 0xd3 0x0c 0x40 # CHECK: beql $14, $19, 12548 361 0x57 0x94 0x04 0xfc # CHECK: bnel $gp, $20, 5108 362 0x58 0xc0 0x02 0xe7 # CHECK: blezl $6, 2976 363 0x5d 0x40 0xfc 0x59 # CHECK: bgtzl $10, -3736 364 0x46 0xa0 0x81 0x21 # CHECK: cvt.d.l $f4, $f16 365 0x46 0xa0 0xf3 0xe0 # CHECK: cvt.s.l $f15, $f30 366 0x4c 0xa6 0x00 0x05 # CHECK: luxc1 $f0, $6($5) 367 0x4c 0xac 0xc8 0x30 # CHECK: nmadd.s $f0, $f5, $f25, $f12 368 0x4c 0xb8 0x20 0x0d # CHECK: suxc1 $f4, $24($5) 369 0x4d 0x42 0x00 0x81 # CHECK: ldxc1 $f2, $2($10) 370 0x4d 0xbb 0x60 0x0d # CHECK: suxc1 $f12, $27($13) 371 0x4d 0xca 0x58 0x09 # CHECK: sdxc1 $f11, $10($14) 372 0x4d 0xcc 0x05 0x00 # CHECK: lwxc1 $f20, $12($14) 373 0x4d 0xf7 0x02 0x01 # CHECK: ldxc1 $f8, $23($15) 374 0x4e 0x70 0x53 0x28 # CHECK: msub.s $f12, $f19, $f10, $f16 375 0x4e 0xb6 0x04 0xc5 # CHECK: luxc1 $f19, $22($21) 376 0x4e 0xd2 0xd0 0x08 # CHECK: swxc1 $f26, $18($22) 377 0x4f 0x04 0x98 0x78 # CHECK: nmsub.s $f1, $f24, $f19, $f4 378 0x4f 0x24 0x40 0x09 # CHECK: sdxc1 $f8, $4($25) 379 0x4f 0x4c 0x98 0x08 # CHECK: swxc1 $f19, $12($26) 380 0x4f 0xd1 0x03 0x00 # CHECK: lwxc1 $f12, $17($fp) 381 0x4f 0xf9 0x98 0x60 # CHECK: madd.s $f1, $f31, $f19, $f25 382 0x62 0x9d 0x6c 0x39 # CHECK: daddi $sp, $20, 27705 383 0x62 0x9d 0x93 0xc7 # CHECK: daddi $sp, $20, -27705 384 0x62 0x9d 0x93 0xc7 # CHECK: daddi $sp, $20, -27705 385 0x62 0x9d 0x93 0xc7 # CHECK: daddi $sp, $20, -27705 386 0x63 0xbd 0x6c 0x39 # CHECK: daddi $sp, $sp, 27705 387 0x63 0xbd 0x93 0xc7 # CHECK: daddi $sp, $sp, -27705 388 0x63 0xbd 0x93 0xc7 # CHECK: daddi $sp, $sp, -27705 389 0x64 0x58 0x46 0x9f # CHECK: daddiu $24, $2, 18079 390 0x65 0x6f 0xec 0x5f # CHECK: daddiu $15, $11, -5025 391 0x65 0xce 0x11 0xea # CHECK: daddiu $14, $14, 4586 392 0x66 0x73 0x69 0x3f # CHECK: daddiu $19, $19, 26943 393 0x66 0xda 0xee 0x16 # CHECK: daddiu $26, $22, -4586 394 0x67 0x4b 0x7c 0xcd # CHECK: daddiu $11, $26, 31949 395 0x67 0xbd 0xff 0xe0 # CHECK: daddiu $sp, $sp, -32 396 0x6b 0x18 0xef 0xb9 # CHECK: ldl $24, -4167($24) 397 0x6e 0x8e 0x89 0x6a # CHECK: ldr $14, -30358($20) 398 0x70 0xc7 0x00 0x00 # CHECK: madd $6, $7 399 0x70 0xc7 0x00 0x01 # CHECK: maddu $6, $7 400 0x70 0xc7 0x00 0x04 # CHECK: msub $6, $7 401 0x70 0xc7 0x00 0x05 # CHECK: msubu $6, $7 402 0x70 0xc7 0x48 0x02 # CHECK: mul $9, $6, $7 403 0x70 0xc7 0x7d 0x3f # CHECK: sdbbp 204276 404 0x70 0xd2 0x90 0x25 # CHECK: dclo $18, $6 405 0x70 0xe6 0x30 0x20 # CHECK: clz $6, $7 406 0x70 0xe6 0x30 0x21 # CHECK: clo $6, $7 407 0x71 0x3a 0xd0 0x24 # CHECK: dclz $26, $9 408 0x73 0x09 0x48 0x25 # CHECK: dclo $9, $24 409 0x73 0x30 0x80 0x24 # CHECK: dclz $16, $25 410 0x74 0x00 0x01 0x4c # CHECK: jalx 1328 411 0x7c 0x05 0xe8 0x3b # CHECK: .set push 412 # CHECK: .set mips32r2 413 # CHECK: rdhwr $5, $29 414 # CHECK: .set pop 415 0x7c 0x07 0x30 0xa0 # CHECK: wsbh $6, $7 416 0x7c 0x07 0x34 0x20 # CHECK: seb $6, $7 417 0x7c 0x07 0x36 0x20 # CHECK: seh $6, $7 418 0x7c 0x0e 0x18 0xa4 # CHECK: dsbh $3, $14 419 0x7c 0x0e 0x19 0x64 # CHECK: dshd $3, $14 420 0x7c 0x1c 0x38 0xa4 # CHECK: dsbh $7, $gp 421 0x7c 0x1d 0x11 0x64 # CHECK: dshd $2, $sp 422 0x7d 0x33 0x61 0x84 # CHECK: ins $19, $9, 6, 7 423 0x7f 0x87 0xf7 0x43 # CHECK: dext $7, $gp, 29, 31 424 0x7f 0x94 0x7b 0xc7 # CHECK: dins $20, $gp, 15, 1 425 0x80 0xa4 0x23 0xc6 # CHECK: lb $4, 9158($5) 426 0x81 0x58 0xc7 0x4d # CHECK: lb $24, -14515($10) 427 0x84 0xa4 0x00 0x0c # CHECK: lh $4, 12($5) 428 0x84 0xa4 0x00 0x0c # CHECK: lh $4, 12($5) 429 0x86 0xab 0xde 0x94 # CHECK: lh $11, -8556($21) 430 0x88 0x82 0x00 0x03 # CHECK: lwl $2, 3($4) 431 0x89 0xf4 0xef 0x79 # CHECK: lwl $20, -4231($15) 432 0x8c 0x3b 0xc4 0xcd # CHECK: lw $27, -15155($1) 433 0x8c 0xa4 0x00 0x18 # CHECK: lw $4, 24($5) 434 0x8c 0xa8 0x16 0x2a # CHECK: lw $8, 5674($5) 435 0x90 0x68 0x75 0xf3 # CHECK: lbu $8, 30195($3) 436 0x90 0xa4 0x00 0x06 # CHECK: lbu $4, 6($5) 437 0x94 0x53 0xa6 0xbd # CHECK: lhu $19, -22851($2) 438 0x98 0xa3 0x00 0x10 # CHECK: lwr $3, 16($5) 439 0x9b 0x80 0xb5 0x35 # CHECK: lwr $zero, -19147($gp) 440 0x9c 0x63 0xf9 0x2e # CHECK: lwu $3, -1746($3) 441 0x9c 0x73 0xa1 0xea # CHECK: lwu $19, -24086($3) 442 0xa0 0xa4 0x00 0x06 # CHECK: sb $4, 6($5) 443 0xa0 0xa4 0x23 0xc6 # CHECK: sb $4, 9158($5) 444 0xa1 0xd6 0xb2 0x6f # CHECK: sb $22, -19857($14) 445 0xa4 0xa4 0x23 0xc6 # CHECK: sh $4, 9158($5) 446 0xa5 0xee 0xe5 0xd0 # CHECK: sh $14, -6704($15) 447 0xa8 0xa4 0x00 0x10 # CHECK: swl $4, 16($5) 448 0xaa 0x6f 0x35 0x7e # CHECK: swl $15, 13694($19) 449 0xac 0x3a 0xc4 0xc9 # CHECK: sw $26, -15159($1) 450 0xac 0xa4 0x00 0x18 # CHECK: sw $4, 24($5) 451 0xaf 0xbf 0xd8 0x50 # CHECK: sw $ra, -10160($sp) 452 0xb3 0xc7 0xae 0x1f # CHECK: sdl $7, -20961($fp) 453 0xb5 0x8b 0xb0 0x39 # CHECK: sdr $11, -20423($12) 454 0xb8 0xe6 0x00 0x10 # CHECK: swr $6, 16($7) 455 0xb9 0xd1 0x98 0x22 # CHECK: swr $17, -26590($14) 456 0xbc 0x61 0x00 0x02 # CHECK: cache 1, 2($3) 457 0xbc 0x80 0xb7 0xd2 # CHECK: cache 0, -18478($4) 458 0xc0 0xe9 0x23 0xc6 # CHECK: ll $9, 9158($7) 459 0xc2 0x42 0xe3 0x67 # CHECK: ll $2, -7321($18) 460 0xc4 0xe9 0x23 0xc6 # CHECK: lwc1 $f9, 9158($7) 461 0xc7 0x50 0x27 0xf1 # CHECK: lwc1 $f16, 10225($26) 462 0xc8 0xc8 0x23 0xca # CHECK: lwc2 $8, 9162($6) 463 0xc8 0xd2 0xfc 0xb7 # CHECK: lwc2 $18, -841($6) 464 0xcc 0x43 0x00 0x04 # CHECK: pref 3, 4($2) 465 0xcf 0x00 0x00 0x00 # CHECK: pref 0, 0($24) 466 0xd3 0xe0 0xc6 0x70 # CHECK: lld $zero, -14736($ra) 467 0xd4 0xe9 0x23 0xc6 # CHECK: ldc1 $f9, 9158($7) 468 0xd6 0x0a 0x40 0x07 # CHECK: ldc1 $f10, 16391($16) 469 0xd8 0x28 0xad 0x43 # CHECK: ldc2 $8, -21181($1) 470 0xd9 0x03 0x23 0xca # CHECK: ldc2 $3, 9162($8) 471 0xdc 0x1a 0x0f 0x76 # CHECK: ld $26, 3958($zero) 472 0xde 0x3d 0x90 0x1b # CHECK: ld $sp, -28645($17) 473 0xe0 0xe9 0x23 0xc6 # CHECK: sc $9, 9158($7) 474 0xe2 0x6f 0x49 0xd8 # CHECK: sc $15, 18904($19) 475 0xe4 0xe9 0x23 0xc6 # CHECK: swc1 $f9, 9158($7) 476 0xe7 0x06 0xde 0xef # CHECK: swc1 $f6, -8465($24) 477 0xe8 0xe9 0x23 0xc6 # CHECK: swc2 $9, 9158($7) 478 0xea 0x19 0x61 0x30 # CHECK: swc2 $25, 24880($16) 479 0xf3 0xaf 0xdf 0xcd # CHECK: scd $15, -8243($sp) 480 0xf4 0xe9 0x23 0xc6 # CHECK: sdc1 $f9, 9158($7) 481 0xf5 0xbe 0x77 0x6e # CHECK: sdc1 $f30, 30574($13) 482 0xf8 0xe9 0x23 0xc6 # CHECK: sdc2 $9, 9158($7) 483 0xfa 0x54 0x5a 0x75 # CHECK: sdc2 $20, 23157($18) 484 0xfc 0x06 0x45 0x67 # CHECK: sd $6, 17767($zero) 485 0xfd 0x4c 0x16 0xcb # CHECK: sd $12, 5835($10) 486