[mips][disassembler] Merged disassembler tests into the corresponding ISA/ASE subdirectories.

llvm-svn: 249384
This commit is contained in:
Daniel Sanders 2015-10-06 10:02:35 +00:00
parent 31bfdb5a82
commit d245267be0
12 changed files with 574 additions and 2274 deletions

View File

@ -1,366 +1,185 @@
# RUN: llvm-mc --disassemble %s -triple=mipsel-unknown-linux -mattr=micromips \
# RUN: | FileCheck %s
0xe6 0x00 0x10 0x49 # CHECK: add $9, $6, $7
0x26 0x11 0x67 0x45 # CHECK: addi $9, $6, 17767
0x26 0x31 0x67 0xc5 # CHECK: addiu $9, $6, -15001
0x26 0x11 0x67 0x45 # CHECK: addi $9, $6, 17767
0x26 0x31 0x67 0xc5 # CHECK: addiu $9, $6, -15001
0xf9 0x4f # CHECK: addiusp -16
0xff 0x4f # CHECK: addiusp -1028
0xfd 0x4f # CHECK: addiusp -1032
0x01 0x4c # CHECK: addiusp 1024
0x03 0x4c # CHECK: addiusp 1028
0xe6 0x00 0x50 0x49 # CHECK: addu $9, $6, $7
0x29 0x2c # CHECK: andi16 $16, $2, 31
0xe6 0x00 0x90 0x49 # CHECK: sub $9, $6, $7
0xa3 0x00 0xd0 0x21 # CHECK: subu $4, $3, $5
0xe0 0x00 0x90 0x31 # CHECK: sub $6, $zero, $7
0xe0 0x00 0xd0 0x31 # CHECK: subu $6, $zero, $7
0x08 0x00 0x50 0x39 # CHECK: addu $7, $8, $zero
0xa3 0x00 0x50 0x1b # CHECK: slt $3, $3, $5
0x63 0x90 0x67 0x00 # CHECK: slti $3, $3, 103
0x63 0x90 0x67 0x00 # CHECK: slti $3, $3, 103
0x63 0xb0 0x67 0x00 # CHECK: sltiu $3, $3, 103
0xa3 0x00 0x90 0x1b # CHECK: sltu $3, $3, $5
0xa9 0x41 0x67 0x45 # CHECK: lui $9, 17767
0xe6 0x00 0x50 0x4a # CHECK: and $9, $6, $7
0x26 0xd1 0x67 0x45 # CHECK: andi $9, $6, 17767
0x26 0xd1 0x67 0x45 # CHECK: andi $9, $6, 17767
0xa4 0x00 0x90 0x1a # CHECK: or $3, $4, $5
0x26 0x51 0x67 0x45 # CHECK: ori $9, $6, 17767
0xa3 0x00 0x10 0x1b # CHECK: xor $3, $3, $5
0x26 0x71 0x67 0x45 # CHECK: xori $9, $6, 17767
0x26 0x71 0x67 0x45 # CHECK: xori $9, $6, 17767
0xe6 0x00 0xd0 0x4a # CHECK: nor $9, $6, $7
0x08 0x00 0xd0 0x3a # CHECK: not $7, $8
0xe6 0x00 0x10 0x4a # CHECK: mul $9, $6, $7
0xe9 0x00 0x3c 0x8b # CHECK: mult $9, $7
0xe9 0x00 0x3c 0x9b # CHECK: multu $9, $7
0xe9 0x00 0x3c 0xab # CHECK: div $zero, $9, $7
0xe9 0x00 0x3c 0xbb # CHECK: divu $zero, $9, $7
0x83 0x00 0x00 0x38 # CHECK: sll $4, $3, 7
0x65 0x00 0x10 0x10 # CHECK: sllv $2, $3, $5
0x83 0x00 0x80 0x38 # CHECK: sra $4, $3, 7
0x65 0x00 0x90 0x10 # CHECK: srav $2, $3, $5
0x83 0x00 0x40 0x38 # CHECK: srl $4, $3, 7
0x65 0x00 0x50 0x10 # CHECK: srlv $2, $3, $5
0x26 0x01 0xc0 0x38 # CHECK: rotr $9, $6, 7
0xc7 0x00 0xd0 0x48 # CHECK: rotrv $9, $6, $7
0xa4 0x1c 0x08 0x00 # CHECK: lb $5, 8($4)
0xc4 0x14 0x08 0x00 # CHECK: lbu $6, 8($4)
0x44 0x3c 0x08 0x00 # CHECK: lh $2, 8($4)
0x82 0x34 0x08 0x00 # CHECK: lhu $4, 8($2)
0xc5 0xfc 0x04 0x00 # CHECK: lw $6, 4($5)
0xdd 0xfc 0x7b 0x00 # CHECK: lw $6, 123($sp)
0xa4 0x18 0x08 0x00 # CHECK: sb $5, 8($4)
0x44 0x38 0x08 0x00 # CHECK: sh $2, 8($4)
0xa6 0xf8 0x04 0x00 # CHECK: sw $5, 4($6)
0xbd 0xf8 0x7b 0x00 # CHECK: sw $5, 123($sp)
0x44 0x60 0x08 0xe0 # CHECK: lwu $2, 8($4)
0x85 0x60 0x10 0x00 # CHECK: lwl $4, 16($5)
0x85 0x60 0x10 0x10 # CHECK: lwr $4, 16($5)
0x85 0x60 0x10 0x80 # CHECK: swl $4, 16($5)
0x85 0x60 0x10 0x90 # CHECK: swr $4, 16($5)
0xe6 0x00 0x58 0x48 # CHECK: movz $9, $6, $7
0xe6 0x00 0x18 0x48 # CHECK: movn $9, $6, $7
0x26 0x55 0x7b 0x09 # CHECK: movt $9, $6, $fcc0
0x26 0x55 0x7b 0x01 # CHECK: movf $9, $6, $fcc0
0x06 0x00 0x7c 0x2d # CHECK: mthi $6
0x06 0x00 0x7c 0x0d # CHECK: mfhi $6
0x06 0x00 0x7c 0x3d # CHECK: mtlo $6
0x06 0x00 0x7c 0x1d # CHECK: mflo $6
0xa4 0x00 0x3c 0xcb # CHECK: madd $4, $5
0xa4 0x00 0x3c 0xdb # CHECK: maddu $4, $5
0xa4 0x00 0x3c 0xeb # CHECK: msub $4, $5
0xa4 0x00 0x3c 0xfb # CHECK: msubu $4, $5
0x26 0x01 0x3c 0x5b # CHECK: clz $9, $6
0x26 0x01 0x3c 0x4b # CHECK: clo $9, $6
0x26 0x01 0x3c 0x2b # CHECK: seb $9, $6
0x26 0x01 0x3c 0x3b # CHECK: seh $9, $6
0x26 0x01 0x3c 0x7b # CHECK: wsbh $9, $6
0x26 0x01 0xec 0x30 # CHECK: ext $9, $6, 3, 7
0x26 0x01 0xcc 0x48 # CHECK: ins $9, $6, 3, 7
0x00 0xd4 0x98 0x02 # CHECK: j 1328
0x00 0xf4 0x98 0x02 # CHECK: jal 1328
0xe6 0x03 0x3c 0x0f # CHECK: jalr $ra, $6
0x07 0x00 0x3c 0x0f # CHECK: jr $7
0x05 0x47 # CHECK: jraddiusp 20
0xc9 0x94 0x9a 0x02 # CHECK: beq $9, $6, 1332
0x46 0x40 0x9a 0x02 # CHECK: bgez $6, 1332
0x66 0x40 0x9a 0x02 # CHECK: bgezal $6, 1332
0x26 0x40 0x9a 0x02 # CHECK: bltzal $6, 1332
0xc6 0x40 0x9a 0x02 # CHECK: bgtz $6, 1332
0x86 0x40 0x9a 0x02 # CHECK: blez $6, 1332
0xc9 0xb4 0x9a 0x02 # CHECK: bne $9, $6, 1332
0x06 0x40 0x9a 0x02 # CHECK: bltz $6, 1332
0x28 0x01 0x3c 0x00 # CHECK: teq $8, $9
0x28 0x01 0x3c 0x02 # CHECK: tge $8, $9
0x28 0x01 0x3c 0x04 # CHECK: tgeu $8, $9
0x28 0x01 0x3c 0x08 # CHECK: tlt $8, $9
0x28 0x01 0x3c 0x0a # CHECK: tltu $8, $9
0x28 0x01 0x3c 0x0c # CHECK: tne $8, $9
0xc9 0x41 0x67 0x45 # CHECK: teqi $9, 17767
0x29 0x41 0x67 0x45 # CHECK: tgei $9, 17767
0x69 0x41 0x67 0x45 # CHECK: tgeiu $9, 17767
0x09 0x41 0x67 0x45 # CHECK: tlti $9, 17767
0x49 0x41 0x67 0x45 # CHECK: tltiu $9, 17767
0x89 0x41 0x67 0x45 # CHECK: tnei $9, 17767
0x25 0x20 0x08 0x60 # CHECK: cache 1, 8($5)
0x25 0x60 0x08 0x20 # CHECK: pref 1, 8($5)
0x00 0x00 0x00 0x08 # CHECK: ssnop
0x00 0x00 0x00 0x18 # CHECK: ehb
0x00 0x00 0x00 0x28 # CHECK: pause
0x44 0x60 0x08 0x30 # CHECK: ll $2, 8($4)
0x44 0x60 0x08 0xb0 # CHECK: sc $2, 8($4)
0x64 0x00 0x18 0x11 # CHECK: lwxs $2, $3($4)
0x66 0x42 0x9a 0x02 # CHECK: bgezals $6, 1332
0x26 0x42 0x9a 0x02 # CHECK: bltzals $6, 1332
0xe9 0x40 0x9a 0x02 # CHECK: beqzc $9, 1332
0xa9 0x40 0x9a 0x02 # CHECK: bnezc $9, 1332
0x00 0x74 0x98 0x02 # CHECK: jals 1328
0xe6 0x03 0x3c 0x4f # CHECK: jalrs $ra, $6
0x44 0x20 0x08 0x50 # CHECK: lwm32 $16, $17, 8($4)
0x3b 0x21 0x84 0x59 # CHECK: lwm32 $16, $17, $18, $19, $20, $21, $22, $23, $fp, -1660($27)
0x44 0x20 0x08 0xd0 # CHECK: swm32 $16, $17, 8($4)
0x04 0x22 0x08 0x90 # CHECK: swp $16, 8($4)
0x04 0x22 0x08 0x10 # CHECK: lwp $16, 8($4)
0x00 0x00 0x00 0x00 # CHECK: nop
0x00 0x79 0x05 0x00 # CHECK: addiupc $2, 20
0xbf 0x7b 0xff 0xff # CHECK: addiupc $7, 16777212
0xc0 0x7b 0x00 0x00 # CHECK: addiupc $7, -16777216
0x42 0x07 # CHECK: addu16 $6, $17, $4
0xb1 0x06 # CHECK: subu16 $5, $16, $3
0x82 0x44 # CHECK: and16 $16, $2
0x0b 0x44 # CHECK: not16 $17, $3
0xc4 0x44 # CHECK: or16 $16, $4
0x4d 0x44 # CHECK: xor16 $17, $5
0x8a 0x25 # CHECK: sll16 $3, $16, 5
0x1d 0x26 # CHECK: srl16 $4, $17, 6
0x94 0x09 # CHECK: lbu16 $3, 4($17)
0x8f 0x09 # CHECK: lbu16 $3, -1($16)
0x82 0x29 # CHECK: lhu16 $3, 4($16)
0x12 0x6a # CHECK: lw16 $4, 8($17)
0x84 0x89 # CHECK: sb16 $3, 4($16)
0x14 0xaa # CHECK: sh16 $4, 8($17)
0x11 0xea # CHECK: sw16 $4, 4($17)
0x11 0xe8 # CHECK: sw16 $zero, 4($17)
0x09 0x46 # CHECK: mfhi $9
0x49 0x46 # CHECK: mflo $9
0x21 0x0f # CHECK: move $25, $1
0xa9 0x45 # CHECK: jrc $9
0xc9 0x45 # CHECK: jalr $9
0xe9 0x45 # CHECK: jalrs16 $9
0x89 0x45 # CHECK: jr16 $9
0xff 0xed # CHECK: li16 $3, -1
0xfe 0xed # CHECK: li16 $3, 126
0x83 0x6f # CHECK: addiur1sp $7, 4
0x7e 0x6f # CHECK: addiur2 $6, $7, -1
0x76 0x6f # CHECK: addiur2 $6, $7, 12
0xfc 0x4c # CHECK: addius5 $7, -2
0x00 0x0c # CHECK: nop
0x68 0x48 # CHECK: lw $3, 32($sp)
0x9f 0xc8 # CHECK: sw $4, 124($sp)
0x0a 0x8f # CHECK: beqz16 $6, 20
0x0a 0xaf # CHECK: bnez16 $6, 20
0x42 0xcc # CHECK: b16 132
0x88 0x65 # CHECK: lw $3, 32($gp)
0x12 0x45 # CHECK: lwm16 $16, $17, $ra, 8($sp)
0x52 0x45 # CHECK: swm16 $16, $17, $ra, 8($sp)
0x88 0x46 # CHECK: break16 8
0xce 0x46 # CHECK: sdbbp16 14
0x34 0x84 # CHECK: movep $5, $6, $2, $3
0xe6 0x00 0x10 0x49 # CHECK: add $9, $6, $7
0x26 0x11 0x67 0x45 # CHECK: addi $9, $6, 17767
0x26 0x31 0x67 0xc5 # CHECK: addiu $9, $6, -15001
0x26 0x11 0x67 0x45 # CHECK: addi $9, $6, 17767
0x26 0x31 0x67 0xc5 # CHECK: addiu $9, $6, -15001
0xe6 0x00 0x50 0x49 # CHECK: addu $9, $6, $7
0xe6 0x00 0x90 0x49 # CHECK: sub $9, $6, $7
0xa3 0x00 0xd0 0x21 # CHECK: subu $4, $3, $5
0xe0 0x00 0x90 0x31 # CHECK: sub $6, $zero, $7
0xe0 0x00 0xd0 0x31 # CHECK: subu $6, $zero, $7
0x08 0x00 0x50 0x39 # CHECK: addu $7, $8, $zero
0xa3 0x00 0x50 0x1b # CHECK: slt $3, $3, $5
0x63 0x90 0x67 0x00 # CHECK: slti $3, $3, 103
0x63 0x90 0x67 0x00 # CHECK: slti $3, $3, 103
0x63 0xb0 0x67 0x00 # CHECK: sltiu $3, $3, 103
0xa3 0x00 0x90 0x1b # CHECK: sltu $3, $3, $5
0xa9 0x41 0x67 0x45 # CHECK: lui $9, 17767
0xe6 0x00 0x50 0x4a # CHECK: and $9, $6, $7
0x26 0xd1 0x67 0x45 # CHECK: andi $9, $6, 17767
0x26 0xd1 0x67 0x45 # CHECK: andi $9, $6, 17767
0xa4 0x00 0x90 0x1a # CHECK: or $3, $4, $5
0x26 0x51 0x67 0x45 # CHECK: ori $9, $6, 17767
0xa3 0x00 0x10 0x1b # CHECK: xor $3, $3, $5
0x26 0x71 0x67 0x45 # CHECK: xori $9, $6, 17767
0x26 0x71 0x67 0x45 # CHECK: xori $9, $6, 17767
0xe6 0x00 0xd0 0x4a # CHECK: nor $9, $6, $7
0x08 0x00 0xd0 0x3a # CHECK: not $7, $8
0xe6 0x00 0x10 0x4a # CHECK: mul $9, $6, $7
0xe9 0x00 0x3c 0x8b # CHECK: mult $9, $7
0xe9 0x00 0x3c 0x9b # CHECK: multu $9, $7
0xe9 0x00 0x3c 0xab # CHECK: div $zero, $9, $7
0xe9 0x00 0x3c 0xbb # CHECK: divu $zero, $9, $7
0x83 0x00 0x00 0x38 # CHECK: sll $4, $3, 7
0x65 0x00 0x10 0x10 # CHECK: sllv $2, $3, $5
0x83 0x00 0x80 0x38 # CHECK: sra $4, $3, 7
0x65 0x00 0x90 0x10 # CHECK: srav $2, $3, $5
0x83 0x00 0x40 0x38 # CHECK: srl $4, $3, 7
0x65 0x00 0x50 0x10 # CHECK: srlv $2, $3, $5
0x26 0x01 0xc0 0x38 # CHECK: rotr $9, $6, 7
0xc7 0x00 0xd0 0x48 # CHECK: rotrv $9, $6, $7
0xa4 0x1c 0x08 0x00 # CHECK: lb $5, 8($4)
0xc4 0x14 0x08 0x00 # CHECK: lbu $6, 8($4)
0x44 0x3c 0x08 0x00 # CHECK: lh $2, 8($4)
0x82 0x34 0x08 0x00 # CHECK: lhu $4, 8($2)
0xc5 0xfc 0x04 0x00 # CHECK: lw $6, 4($5)
0xdd 0xfc 0x7b 0x00 # CHECK: lw $6, 123($sp)
0xa4 0x18 0x08 0x00 # CHECK: sb $5, 8($4)
0x44 0x38 0x08 0x00 # CHECK: sh $2, 8($4)
0xa6 0xf8 0x04 0x00 # CHECK: sw $5, 4($6)
0xbd 0xf8 0x7b 0x00 # CHECK: sw $5, 123($sp)
0x44 0x60 0x08 0xe0 # CHECK: lwu $2, 8($4)
0x85 0x60 0x10 0x00 # CHECK: lwl $4, 16($5)
0x85 0x60 0x10 0x10 # CHECK: lwr $4, 16($5)
0x85 0x60 0x10 0x80 # CHECK: swl $4, 16($5)
0x85 0x60 0x10 0x90 # CHECK: swr $4, 16($5)
0xe6 0x00 0x58 0x48 # CHECK: movz $9, $6, $7
0xe6 0x00 0x18 0x48 # CHECK: movn $9, $6, $7
0x26 0x55 0x7b 0x09 # CHECK: movt $9, $6, $fcc0
0x26 0x55 0x7b 0x01 # CHECK: movf $9, $6, $fcc0
0x06 0x00 0x7c 0x2d # CHECK: mthi $6
0x06 0x00 0x7c 0x0d # CHECK: mfhi $6
0x06 0x00 0x7c 0x3d # CHECK: mtlo $6
0x06 0x00 0x7c 0x1d # CHECK: mflo $6
0xa4 0x00 0x3c 0xcb # CHECK: madd $4, $5
0xa4 0x00 0x3c 0xdb # CHECK: maddu $4, $5
0xa4 0x00 0x3c 0xeb # CHECK: msub $4, $5
0xa4 0x00 0x3c 0xfb # CHECK: msubu $4, $5
0x26 0x01 0x3c 0x5b # CHECK: clz $9, $6
0x26 0x01 0x3c 0x4b # CHECK: clo $9, $6
0x26 0x01 0x3c 0x2b # CHECK: seb $9, $6
0x26 0x01 0x3c 0x3b # CHECK: seh $9, $6
0x26 0x01 0x3c 0x7b # CHECK: wsbh $9, $6
0x26 0x01 0xec 0x30 # CHECK: ext $9, $6, 3, 7
0x26 0x01 0xcc 0x48 # CHECK: ins $9, $6, 3, 7
0x00 0xd4 0x98 0x02 # CHECK: j 1328
0x00 0xf4 0x98 0x02 # CHECK: jal 1328
0xe6 0x03 0x3c 0x0f # CHECK: jalr $ra, $6
0x07 0x00 0x3c 0x0f # CHECK: jr $7
0xc9 0x94 0x9a 0x02 # CHECK: beq $9, $6, 1332
0x46 0x40 0x9a 0x02 # CHECK: bgez $6, 1332
0x66 0x40 0x9a 0x02 # CHECK: bgezal $6, 1332
0x26 0x40 0x9a 0x02 # CHECK: bltzal $6, 1332
0xc6 0x40 0x9a 0x02 # CHECK: bgtz $6, 1332
0x86 0x40 0x9a 0x02 # CHECK: blez $6, 1332
0xc9 0xb4 0x9a 0x02 # CHECK: bne $9, $6, 1332
0x06 0x40 0x9a 0x02 # CHECK: bltz $6, 1332
0x28 0x01 0x3c 0x00 # CHECK: teq $8, $9
0x28 0x01 0x3c 0x02 # CHECK: tge $8, $9
0x28 0x01 0x3c 0x04 # CHECK: tgeu $8, $9
0x28 0x01 0x3c 0x08 # CHECK: tlt $8, $9
0x28 0x01 0x3c 0x0a # CHECK: tltu $8, $9
0x28 0x01 0x3c 0x0c # CHECK: tne $8, $9
0xc9 0x41 0x67 0x45 # CHECK: teqi $9, 17767
0x29 0x41 0x67 0x45 # CHECK: tgei $9, 17767
0x69 0x41 0x67 0x45 # CHECK: tgeiu $9, 17767
0x09 0x41 0x67 0x45 # CHECK: tlti $9, 17767
0x49 0x41 0x67 0x45 # CHECK: tltiu $9, 17767
0x89 0x41 0x67 0x45 # CHECK: tnei $9, 17767
0x25 0x20 0x08 0x60 # CHECK: cache 1, 8($5)
0x25 0x60 0x08 0x20 # CHECK: pref 1, 8($5)
0x00 0x00 0x00 0x08 # CHECK: ssnop
0x00 0x00 0x00 0x18 # CHECK: ehb
0x00 0x00 0x00 0x28 # CHECK: pause
0x44 0x60 0x08 0x30 # CHECK: ll $2, 8($4)
0x44 0x60 0x08 0xb0 # CHECK: sc $2, 8($4)
0x64 0x00 0x18 0x11 # CHECK: lwxs $2, $3($4)
0x66 0x42 0x9a 0x02 # CHECK: bgezals $6, 1332
0x26 0x42 0x9a 0x02 # CHECK: bltzals $6, 1332
0xe9 0x40 0x9a 0x02 # CHECK: beqzc $9, 1332
0xa9 0x40 0x9a 0x02 # CHECK: bnezc $9, 1332
0x00 0x74 0x98 0x02 # CHECK: jals 1328
0xe6 0x03 0x3c 0x4f # CHECK: jalrs $ra, $6
0x44 0x20 0x08 0x50 # CHECK: lwm32 $16, $17, 8($4)
0x3b 0x21 0x84 0x59 # CHECK: lwm32 $16, $17, $18, $19, $20, $21, $22, $23, $fp, -1660($27)
0x44 0x20 0x08 0xd0 # CHECK: swm32 $16, $17, 8($4)
0x04 0x22 0x08 0x90 # CHECK: swp $16, 8($4)
0x04 0x22 0x08 0x10 # CHECK: lwp $16, 8($4)
0x00 0x00 0x00 0x00 # CHECK: nop
0x00 0x79 0x05 0x00 # CHECK: addiupc $2, 20
0xbf 0x7b 0xff 0xff # CHECK: addiupc $7, 16777212
0xc0 0x7b 0x00 0x00 # CHECK: addiupc $7, -16777216
0x00 0x00 0x7c 0x57 # CHECK: ei
0x0a 0x00 0x7c 0x57 # CHECK: ei $10
0x25 0x60 0x08 0xa6 # CHECK: cachee 1, 8($5)
0x25 0x60 0x08 0xa4 # CHECK: prefe 1, 8($5)
0x65 0x54 0xa0 0x09 # CHECK: prefx 1, $3($5)
0x82 0x60 0x08 0x62 # CHECK: lhue $4, 8($2)
0x82 0x60 0x08 0x68 # CHECK: lbe $4, 8($2)
0x82 0x60 0x08 0x60 # CHECK: lbue $4, 8($2)
0x82 0x60 0x08 0x6a # CHECK: lhe $4, 8($2)
0x82 0x60 0x08 0x6e # CHECK: lwe $4, 8($2)
0xa4 0x60 0x08 0xa8 # CHECK: sbe $5, 8($4)
0xa4 0x60 0x08 0xaa # CHECK: she $5, 8($4)
0xa4 0x60 0x08 0xae # CHECK: swe $5, 8($4)

View File

@ -1,366 +1,185 @@
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mattr=micromips \
# RUN: | FileCheck %s
0x00 0xe6 0x49 0x10 # CHECK: add $9, $6, $7
0x11 0x26 0x45 0x67 # CHECK: addi $9, $6, 17767
0x31 0x26 0xc5 0x67 # CHECK: addiu $9, $6, -15001
0x11 0x26 0x45 0x67 # CHECK: addi $9, $6, 17767
0x31 0x26 0xc5 0x67 # CHECK: addiu $9, $6, -15001
0x4f 0xf9 # CHECK: addiusp -16
0x4f 0xff # CHECK: addiusp -1028
0x4f 0xfd # CHECK: addiusp -1032
0x4c 0x01 # CHECK: addiusp 1024
0x4c 0x03 # CHECK: addiusp 1028
0x00 0xe6 0x49 0x50 # CHECK: addu $9, $6, $7
0x00 0xe6 0x49 0x90 # CHECK: sub $9, $6, $7
0x00 0xa3 0x21 0xd0 # CHECK: subu $4, $3, $5
0x00 0xe0 0x31 0x90 # CHECK: sub $6, $zero, $7
0x00 0xe0 0x31 0xd0 # CHECK: subu $6, $zero, $7
0x00 0x08 0x39 0x50 # CHECK: addu $7, $8, $zero
0x00 0xa3 0x1b 0x50 # CHECK: slt $3, $3, $5
0x90 0x63 0x00 0x67 # CHECK: slti $3, $3, 103
0x90 0x63 0x00 0x67 # CHECK: slti $3, $3, 103
0xb0 0x63 0x00 0x67 # CHECK: sltiu $3, $3, 103
0x00 0xa3 0x1b 0x90 # CHECK: sltu $3, $3, $5
0x41 0xa9 0x45 0x67 # CHECK: lui $9, 17767
0x00 0xe6 0x4a 0x50 # CHECK: and $9, $6, $7
0xd1 0x26 0x45 0x67 # CHECK: andi $9, $6, 17767
0xd1 0x26 0x45 0x67 # CHECK: andi $9, $6, 17767
0x2c 0x29 # CHECK: andi16 $16, $2, 31
0x00 0xa4 0x1a 0x90 # CHECK: or $3, $4, $5
0x51 0x26 0x45 0x67 # CHECK: ori $9, $6, 17767
0x00 0xa3 0x1b 0x10 # CHECK: xor $3, $3, $5
0x71 0x26 0x45 0x67 # CHECK: xori $9, $6, 17767
0x71 0x26 0x45 0x67 # CHECK: xori $9, $6, 17767
0x00 0xe6 0x4a 0xd0 # CHECK: nor $9, $6, $7
0x00 0x08 0x3a 0xd0 # CHECK: not $7, $8
0x00 0xe6 0x4a 0x10 # CHECK: mul $9, $6, $7
0x00 0xe9 0x8b 0x3c # CHECK: mult $9, $7
0x00 0xe9 0x9b 0x3c # CHECK: multu $9, $7
0x00 0xe9 0xab 0x3c # CHECK-EB: div $zero, $9, $7
0x00 0xe9 0xbb 0x3c # CHECK-EB: divu $zero, $9, $7
0x00 0x83 0x38 0x00 # CHECK: sll $4, $3, 7
0x00 0x65 0x10 0x10 # CHECK: sllv $2, $3, $5
0x00 0x83 0x38 0x80 # CHECK: sra $4, $3, 7
0x00 0x65 0x10 0x90 # CHECK: srav $2, $3, $5
0x00 0x83 0x38 0x40 # CHECK: srl $4, $3, 7
0x00 0x65 0x10 0x50 # CHECK: srlv $2, $3, $5
0x01 0x26 0x38 0xc0 # CHECK: rotr $9, $6, 7
0x00 0xc7 0x48 0xd0 # CHECK: rotrv $9, $6, $7
0x1c 0xa4 0x00 0x08 # CHECK: lb $5, 8($4)
0x14 0xc4 0x00 0x08 # CHECK: lbu $6, 8($4)
0x3c 0x44 0x00 0x08 # CHECK: lh $2, 8($4)
0x34 0x82 0x00 0x08 # CHECK: lhu $4, 8($2)
0xfc 0xc5 0x00 0x04 # CHECK: lw $6, 4($5)
0xfc 0xdd 0x00 0x7b # CHECK: lw $6, 123($sp)
0x18 0xa4 0x00 0x08 # CHECK: sb $5, 8($4)
0x38 0x44 0x00 0x08 # CHECK: sh $2, 8($4)
0xf8 0xa6 0x00 0x04 # CHECK: sw $5, 4($6)
0xf8 0xbd 0x00 0x7b # CHECK: sw $5, 123($sp)
0x60 0x44 0xe0 0x08 # CHECK: lwu $2, 8($4)
0x60 0x85 0x00 0x10 # CHECK: lwl $4, 16($5)
0x60 0x85 0x10 0x10 # CHECK: lwr $4, 16($5)
0x60 0x85 0x80 0x10 # CHECK: swl $4, 16($5)
0x60 0x85 0x90 0x10 # CHECK: swr $4, 16($5)
0x00 0xe6 0x48 0x58 # CHECK: movz $9, $6, $7
0x00 0xe6 0x48 0x18 # CHECK: movn $9, $6, $7
0x55 0x26 0x09 0x7b # CHECK: movt $9, $6, $fcc0
0x55 0x26 0x01 0x7b # CHECK: movf $9, $6, $fcc0
0x00 0x06 0x2d 0x7c # CHECK: mthi $6
0x00 0x06 0x0d 0x7c # CHECK: mfhi $6
0x00 0x06 0x3d 0x7c # CHECK: mtlo $6
0x00 0x06 0x1d 0x7c # CHECK: mflo $6
0x00 0xa4 0xcb 0x3c # CHECK: madd $4, $5
0x00 0xa4 0xdb 0x3c # CHECK: maddu $4, $5
0x00 0xa4 0xeb 0x3c # CHECK: msub $4, $5
0x00 0xa4 0xfb 0x3c # CHECK: msubu $4, $5
0x01 0x26 0x5b 0x3c # CHECK: clz $9, $6
0x01 0x26 0x4b 0x3c # CHECK: clo $9, $6
0x01 0x26 0x2b 0x3c # CHECK: seb $9, $6
0x01 0x26 0x3b 0x3c # CHECK: seh $9, $6
0x01 0x26 0x7b 0x3c # CHECK: wsbh $9, $6
0x01 0x26 0x30 0xec # CHECK: ext $9, $6, 3, 7
0x01 0x26 0x48 0xcc # CHECK: ins $9, $6, 3, 7
0xd4 0x00 0x02 0x98 # CHECK: j 1328
0xf4 0x00 0x02 0x98 # CHECK: jal 1328
0x03 0xe6 0x0f 0x3c # CHECK: jalr $ra, $6
0x00 0x07 0x0f 0x3c # CHECK: jr $7
0x47 0x05 # CHECK: jraddiusp 20
0x94 0xc9 0x02 0x9a # CHECK: beq $9, $6, 1332
0x40 0x46 0x02 0x9a # CHECK: bgez $6, 1332
0x40 0x66 0x02 0x9a # CHECK: bgezal $6, 1332
0x40 0x26 0x02 0x9a # CHECK: bltzal $6, 1332
0x40 0xc6 0x02 0x9a # CHECK: bgtz $6, 1332
0x40 0x86 0x02 0x9a # CHECK: blez $6, 1332
0xb4 0xc9 0x02 0x9a # CHECK: bne $9, $6, 1332
0x40 0x06 0x02 0x9a # CHECK: bltz $6, 1332
0x01 0x28 0x00 0x3c # CHECK: teq $8, $9
0x01 0x28 0x02 0x3c # CHECK: tge $8, $9
0x01 0x28 0x04 0x3c # CHECK: tgeu $8, $9
0x01 0x28 0x08 0x3c # CHECK: tlt $8, $9
0x01 0x28 0x0a 0x3c # CHECK: tltu $8, $9
0x01 0x28 0x0c 0x3c # CHECK: tne $8, $9
0x41,0xc9,0x45,0x67 # CHECK: teqi $9, 17767
0x41 0x29 0x45 0x67 # CHECK: tgei $9, 17767
0x41 0x69 0x45 0x67 # CHECK: tgeiu $9, 17767
0x41 0x09 0x45 0x67 # CHECK: tlti $9, 17767
0x41 0x49 0x45 0x67 # CHECK: tltiu $9, 17767
0x41 0x89 0x45 0x67 # CHECK: tnei $9, 17767
0x20 0x25 0x60 0x08 # CHECK: cache 1, 8($5)
0x60 0x25 0x20 0x08 # CHECK: pref 1, 8($5)
0x00 0x00 0x08 0x00 # CHECK: ssnop
0x00 0x00 0x18 0x00 # CHECK: ehb
0x00 0x00 0x28 0x00 # CHECK: pause
0x60 0x44 0x30 0x08 # CHECK: ll $2, 8($4)
0x60 0x44 0xb0 0x08 # CHECK: sc $2, 8($4)
0x00 0x64 0x11 0x18 # CHECK: lwxs $2, $3($4)
0x42 0x66 0x02 0x9a # CHECK: bgezals $6, 1332
0x42 0x26 0x02 0x9a # CHECK: bltzals $6, 1332
0x40 0xe9 0x02 0x9a # CHECK: beqzc $9, 1332
0x40 0xa9 0x02 0x9a # CHECK: bnezc $9, 1332
0x74 0x00 0x02 0x98 # CHECK: jals 1328
0x03 0xe6 0x4f 0x3c # CHECK: jalrs $ra, $6
0x20 0x44 0x50 0x08 # CHECK: lwm32 $16, $17, 8($4)
0x21 0x3b 0x59 0x84 # CHECK: lwm32 $16, $17, $18, $19, $20, $21, $22, $23, $fp, -1660($27)
0x20 0x44 0xd0 0x08 # CHECK: swm32 $16, $17, 8($4)
0x22 0x04 0x90 0x08 # CHECK: swp $16, 8($4)
0x22 0x04 0x10 0x08 # CHECK: lwp $16, 8($4)
0x00 0x00 0x00 0x00 # CHECK: nop
0x79 0x00 0x00 0x05 # CHECK: addiupc $2, 20
0x7b 0xbf 0xff 0xff # CHECK: addiupc $7, 16777212
0x7b 0xc0 0x00 0x00 # CHECK: addiupc $7, -16777216
0x07 0x42 # CHECK: addu16 $6, $17, $4
0x06 0xb1 # CHECK: subu16 $5, $16, $3
0x44 0x82 # CHECK: and16 $16, $2
0x44 0x0b # CHECK: not16 $17, $3
0x44 0xc4 # CHECK: or16 $16, $4
0x44 0x4d # CHECK: xor16 $17, $5
0x25 0x8a # CHECK: sll16 $3, $16, 5
0x26 0x1d # CHECK: srl16 $4, $17, 6
0x09 0x94 # CHECK: lbu16 $3, 4($17)
0x09 0x8f # CHECK: lbu16 $3, -1($16)
0x29 0x82 # CHECK: lhu16 $3, 4($16)
0x6a 0x12 # CHECK: lw16 $4, 8($17)
0x89 0x84 # CHECK: sb16 $3, 4($16)
0xaa 0x14 # CHECK: sh16 $4, 8($17)
0xea 0x11 # CHECK: sw16 $4, 4($17)
0xe8 0x11 # CHECK: sw16 $zero, 4($17)
0x46 0x09 # CHECK: mfhi $9
0x46 0x49 # CHECK: mflo $9
0x0f 0x21 # CHECK: move $25, $1
0x45 0xa9 # CHECK: jrc $9
0x45 0xc9 # CHECK: jalr $9
0x45 0xe9 # CHECK: jalrs16 $9
0x45 0x89 # CHECK: jr16 $9
0xed 0xff # CHECK: li16 $3, -1
0xed 0xfe # CHECK: li16 $3, 126
0x6f 0x83 # CHECK: addiur1sp $7, 4
0x6f 0x7e # CHECK: addiur2 $6, $7, -1
0x6f 0x76 # CHECK: addiur2 $6, $7, 12
0x4c 0xfc # CHECK: addius5 $7, -2
0x0c 0x00 # CHECK: nop
0x48 0x68 # CHECK: lw $3, 32($sp)
0xc8 0x9f # CHECK: sw $4, 124($sp)
0x8f 0x0a # CHECK: beqz16 $6, 20
0xaf 0x0a # CHECK: bnez16 $6, 20
0xcc 0x42 # CHECK: b16 132
0x65 0x88 # CHECK: lw $3, 32($gp)
0x45 0x12 # CHECK: lwm16 $16, $17, $ra, 8($sp)
0x45 0x52 # CHECK: swm16 $16, $17, $ra, 8($sp)
0x46 0x88 # CHECK: break16 8
0x46 0xce # CHECK: sdbbp16 14
0x84 0x34 # CHECK: movep $5, $6, $2, $3
0x00 0xe6 0x49 0x10 # CHECK: add $9, $6, $7
0x11 0x26 0x45 0x67 # CHECK: addi $9, $6, 17767
0x31 0x26 0xc5 0x67 # CHECK: addiu $9, $6, -15001
0x11 0x26 0x45 0x67 # CHECK: addi $9, $6, 17767
0x31 0x26 0xc5 0x67 # CHECK: addiu $9, $6, -15001
0x00 0xe6 0x49 0x50 # CHECK: addu $9, $6, $7
0x00 0xe6 0x49 0x90 # CHECK: sub $9, $6, $7
0x00 0xa3 0x21 0xd0 # CHECK: subu $4, $3, $5
0x00 0xe0 0x31 0x90 # CHECK: sub $6, $zero, $7
0x00 0xe0 0x31 0xd0 # CHECK: subu $6, $zero, $7
0x00 0x08 0x39 0x50 # CHECK: addu $7, $8, $zero
0x00 0xa3 0x1b 0x50 # CHECK: slt $3, $3, $5
0x90 0x63 0x00 0x67 # CHECK: slti $3, $3, 103
0x90 0x63 0x00 0x67 # CHECK: slti $3, $3, 103
0xb0 0x63 0x00 0x67 # CHECK: sltiu $3, $3, 103
0x00 0xa3 0x1b 0x90 # CHECK: sltu $3, $3, $5
0x41 0xa9 0x45 0x67 # CHECK: lui $9, 17767
0x00 0xe6 0x4a 0x50 # CHECK: and $9, $6, $7
0xd1 0x26 0x45 0x67 # CHECK: andi $9, $6, 17767
0xd1 0x26 0x45 0x67 # CHECK: andi $9, $6, 17767
0x00 0xa4 0x1a 0x90 # CHECK: or $3, $4, $5
0x51 0x26 0x45 0x67 # CHECK: ori $9, $6, 17767
0x00 0xa3 0x1b 0x10 # CHECK: xor $3, $3, $5
0x71 0x26 0x45 0x67 # CHECK: xori $9, $6, 17767
0x71 0x26 0x45 0x67 # CHECK: xori $9, $6, 17767
0x00 0xe6 0x4a 0xd0 # CHECK: nor $9, $6, $7
0x00 0x08 0x3a 0xd0 # CHECK: not $7, $8
0x00 0xe6 0x4a 0x10 # CHECK: mul $9, $6, $7
0x00 0xe9 0x8b 0x3c # CHECK: mult $9, $7
0x00 0xe9 0x9b 0x3c # CHECK: multu $9, $7
0x00 0xe9 0xab 0x3c # CHECK-EB: div $zero, $9, $7
0x00 0xe9 0xbb 0x3c # CHECK-EB: divu $zero, $9, $7
0x00 0x83 0x38 0x00 # CHECK: sll $4, $3, 7
0x00 0x65 0x10 0x10 # CHECK: sllv $2, $3, $5
0x00 0x83 0x38 0x80 # CHECK: sra $4, $3, 7
0x00 0x65 0x10 0x90 # CHECK: srav $2, $3, $5
0x00 0x83 0x38 0x40 # CHECK: srl $4, $3, 7
0x00 0x65 0x10 0x50 # CHECK: srlv $2, $3, $5
0x01 0x26 0x38 0xc0 # CHECK: rotr $9, $6, 7
0x00 0xc7 0x48 0xd0 # CHECK: rotrv $9, $6, $7
0x1c 0xa4 0x00 0x08 # CHECK: lb $5, 8($4)
0x14 0xc4 0x00 0x08 # CHECK: lbu $6, 8($4)
0x3c 0x44 0x00 0x08 # CHECK: lh $2, 8($4)
0x34 0x82 0x00 0x08 # CHECK: lhu $4, 8($2)
0xfc 0xc5 0x00 0x04 # CHECK: lw $6, 4($5)
0xfc 0xdd 0x00 0x7b # CHECK: lw $6, 123($sp)
0x18 0xa4 0x00 0x08 # CHECK: sb $5, 8($4)
0x38 0x44 0x00 0x08 # CHECK: sh $2, 8($4)
0xf8 0xa6 0x00 0x04 # CHECK: sw $5, 4($6)
0xf8 0xbd 0x00 0x7b # CHECK: sw $5, 123($sp)
0x60 0x44 0xe0 0x08 # CHECK: lwu $2, 8($4)
0x60 0x85 0x00 0x10 # CHECK: lwl $4, 16($5)
0x60 0x85 0x10 0x10 # CHECK: lwr $4, 16($5)
0x60 0x85 0x80 0x10 # CHECK: swl $4, 16($5)
0x60 0x85 0x90 0x10 # CHECK: swr $4, 16($5)
0x00 0xe6 0x48 0x58 # CHECK: movz $9, $6, $7
0x00 0xe6 0x48 0x18 # CHECK: movn $9, $6, $7
0x55 0x26 0x09 0x7b # CHECK: movt $9, $6, $fcc0
0x55 0x26 0x01 0x7b # CHECK: movf $9, $6, $fcc0
0x00 0x06 0x2d 0x7c # CHECK: mthi $6
0x00 0x06 0x0d 0x7c # CHECK: mfhi $6
0x00 0x06 0x3d 0x7c # CHECK: mtlo $6
0x00 0x06 0x1d 0x7c # CHECK: mflo $6
0x00 0xa4 0xcb 0x3c # CHECK: madd $4, $5
0x00 0xa4 0xdb 0x3c # CHECK: maddu $4, $5
0x00 0xa4 0xeb 0x3c # CHECK: msub $4, $5
0x00 0xa4 0xfb 0x3c # CHECK: msubu $4, $5
0x01 0x26 0x5b 0x3c # CHECK: clz $9, $6
0x01 0x26 0x4b 0x3c # CHECK: clo $9, $6
0x01 0x26 0x2b 0x3c # CHECK: seb $9, $6
0x01 0x26 0x3b 0x3c # CHECK: seh $9, $6
0x01 0x26 0x7b 0x3c # CHECK: wsbh $9, $6
0x01 0x26 0x30 0xec # CHECK: ext $9, $6, 3, 7
0x01 0x26 0x48 0xcc # CHECK: ins $9, $6, 3, 7
0xd4 0x00 0x02 0x98 # CHECK: j 1328
0xf4 0x00 0x02 0x98 # CHECK: jal 1328
0x03 0xe6 0x0f 0x3c # CHECK: jalr $ra, $6
0x00 0x07 0x0f 0x3c # CHECK: jr $7
0x94 0xc9 0x02 0x9a # CHECK: beq $9, $6, 1332
0x40 0x46 0x02 0x9a # CHECK: bgez $6, 1332
0x40 0x66 0x02 0x9a # CHECK: bgezal $6, 1332
0x40 0x26 0x02 0x9a # CHECK: bltzal $6, 1332
0x40 0xc6 0x02 0x9a # CHECK: bgtz $6, 1332
0x40 0x86 0x02 0x9a # CHECK: blez $6, 1332
0xb4 0xc9 0x02 0x9a # CHECK: bne $9, $6, 1332
0x40 0x06 0x02 0x9a # CHECK: bltz $6, 1332
0x01 0x28 0x00 0x3c # CHECK: teq $8, $9
0x01 0x28 0x02 0x3c # CHECK: tge $8, $9
0x01 0x28 0x04 0x3c # CHECK: tgeu $8, $9
0x01 0x28 0x08 0x3c # CHECK: tlt $8, $9
0x01 0x28 0x0a 0x3c # CHECK: tltu $8, $9
0x01 0x28 0x0c 0x3c # CHECK: tne $8, $9
0x41 0xc9 0x45 0x67 # CHECK: teqi $9, 17767
0x41 0x29 0x45 0x67 # CHECK: tgei $9, 17767
0x41 0x69 0x45 0x67 # CHECK: tgeiu $9, 17767
0x41 0x09 0x45 0x67 # CHECK: tlti $9, 17767
0x41 0x49 0x45 0x67 # CHECK: tltiu $9, 17767
0x41 0x89 0x45 0x67 # CHECK: tnei $9, 17767
0x20 0x25 0x60 0x08 # CHECK: cache 1, 8($5)
0x60 0x25 0x20 0x08 # CHECK: pref 1, 8($5)
0x00 0x00 0x08 0x00 # CHECK: ssnop
0x00 0x00 0x18 0x00 # CHECK: ehb
0x00 0x00 0x28 0x00 # CHECK: pause
0x60 0x44 0x30 0x08 # CHECK: ll $2, 8($4)
0x60 0x44 0xb0 0x08 # CHECK: sc $2, 8($4)
0x00 0x64 0x11 0x18 # CHECK: lwxs $2, $3($4)
0x42 0x66 0x02 0x9a # CHECK: bgezals $6, 1332
0x42 0x26 0x02 0x9a # CHECK: bltzals $6, 1332
0x40 0xe9 0x02 0x9a # CHECK: beqzc $9, 1332
0x40 0xa9 0x02 0x9a # CHECK: bnezc $9, 1332
0x74 0x00 0x02 0x98 # CHECK: jals 1328
0x03 0xe6 0x4f 0x3c # CHECK: jalrs $ra, $6
0x20 0x44 0x50 0x08 # CHECK: lwm32 $16, $17, 8($4)
0x21 0x3b 0x59 0x84 # CHECK: lwm32 $16, $17, $18, $19, $20, $21, $22, $23, $fp, -1660($27)
0x20 0x44 0xd0 0x08 # CHECK: swm32 $16, $17, 8($4)
0x22 0x04 0x90 0x08 # CHECK: swp $16, 8($4)
0x22 0x04 0x10 0x08 # CHECK: lwp $16, 8($4)
0x00 0x00 0x00 0x00 # CHECK: nop
0x79 0x00 0x00 0x05 # CHECK: addiupc $2, 20
0x7b 0xbf 0xff 0xff # CHECK: addiupc $7, 16777212
0x7b 0xc0 0x00 0x00 # CHECK: addiupc $7, -16777216
0x00 0x00 0x57 0x7c # CHECK: ei
0x00 0x0a 0x57 0x7c # CHECK: ei $10
0x60 0x25 0xa6 0x08 # CHECK: cachee 1, 8($5)
0x60 0x25 0xa4 0x08 # CHECK: prefe 1, 8($5)
0x54 0x65 0x09 0xa0 # CHECK: prefx 1, $3($5)
0x60 0x82 0x62 0x08 # CHECK: lhue $4, 8($2)
0x60 0x82 0x68 0x08 # CHECK: lbe $4, 8($2)
0x60 0x82 0x60 0x08 # CHECK: lbue $4, 8($2)
0x60 0x82 0x6a 0x08 # CHECK: lhe $4, 8($2)
0x60 0x82 0x6e 0x08 # CHECK: lwe $4, 8($2)
0x60 0xa4 0xa8 0x08 # CHECK: sbe $5, 8($4)
0x60 0xa4 0xaa 0x08 # CHECK: she $5, 8($4)
0x60 0xa4 0xae 0x08 # CHECK: swe $5, 8($4)

View File

@ -1,391 +1,197 @@
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32r6 -mattr=micromips | FileCheck %s
0x00 0xa4 0x19 0x10 # CHECK: add $3, $4, $5
0x30 0x64 0x04 0xd2 # CHECK: addiu $3, $4, 1234
0x00 0xa4 0x19 0x50 # CHECK: addu $3, $4, $5
0x78 0x80 0x00 0x19 # CHECK: addiupc $4, 100
0x6f 0x83 # CHECK: addiur1sp $7, 4
0x6f 0x7e # CHECK: addiur2 $6, $7, -1
0x6f 0x76 # CHECK: addiur2 $6, $7, 12
0x4c 0xfc # CHECK: addius5 $7, -2
0x4f 0xff # CHECK: addiusp -1028
0x4f 0xfd # CHECK: addiusp -1032
0x4c 0x01 # CHECK: addiusp 1024
0x4c 0x03 # CHECK: addiusp 1028
0x4f 0xf9 # CHECK: addiusp -16
0x78 0x7f 0x00 0x38 # CHECK: aluipc $3, 56
0x78 0x7e 0xff 0xff # CHECK: auipc $3, -1
0x00 0x43 0x24 0x1f # CHECK: align $4, $2, $3, 2
0x00 0xa4 0x1a 0x50 # CHECK: and $3, $4, $5
0xd0 0x64 0x04 0xd2 # CHECK: andi $3, $4, 1234
0x10 0x62 0xff 0xe9 # CHECK: aui $3, $2, -23
0x74 0x40 0x02 0x9a # CHECK: beqzalc $2, 1332
0x7c 0x40 0x02 0x9a # CHECK: bnezalc $2, 1332
0xc0 0x42 0x02 0x9a # CHECK: bgezalc $2, 1332
0xe0 0x40 0x02 0x9a # CHECK: bgtzalc $2, 1332
0xe0 0x42 0x02 0x9a # CHECK: bltzalc $2, 1332
0xc0 0x40 0x02 0x9a # CHECK: blezalc $2, 1332
0xb4 0x37 0x96 0xb8 # CHECK: balc 14572256
0x94 0x37 0x96 0xb8 # CHECK: bc 14572256
0xcc 0x42 # CHECK: bc16 132
0x8f 0x0a # CHECK: beqzc16 $6, 20
0xaf 0x0a # CHECK: bnezc16 $6, 20
0x00 0x44 0x0b 0x3c # CHECK: bitswap $4, $2
0x00 0x00 0x00 0x07 # CHECK: break
0x00 0x07 0x00 0x07 # CHECK: break 7
0x00 0x07 0x01 0x47 # CHECK: break 7, 5
0x20 0x25 0x60 0x08 # CHECK: cache 1, 8($5)
0x01 0x65 0x4b 0x3c # CHECK: clo $11, $5
0x03 0x80 0xe8 0x50 # CHECK: clz $sp, $gp
0x00 0xa4 0x19 0x18 # CHECK: div $3, $4, $5
0x00 0xa4 0x19 0x98 # CHECK: divu $3, $4, $5
0x00 0x00 0x18 0x00 # CHECK: ehb
0x00 0x00 0x57 0x7c # CHECK: ei
0x00 0x0a 0x57 0x7c # CHECK: ei $10
0x00 0x00 0xf3 0x7c # CHECK: eret
0x00 0x01 0xf3 0x7c # CHECK: eretnc
0x45 0x2b # CHECK: jalr $9
0x80 0x05 0x01 0x00 # CHECK: jialc $5, 256
0xa0 0x05 0x01 0x00 # CHECK: jic $5, 256
0x45 0x23 # CHECK: jrc16 $9
0x44 0xb3 # CHECK: jrcaddiusp 20
0x78 0x48 0x00 0x43 # CHECK: lwpc $2, 268
0x00 0x43 0x26 0x0f # CHECK: lsa $2, $3, $4, 3
0x00 0xa4 0x19 0x58 # CHECK: mod $3, $4, $5
0x00 0xa4 0x19 0xd8 # CHECK: modu $3, $4, $5
0x00 0xa4 0x18 0x18 # CHECK: mul $3, $4, $5
0x00 0xa4 0x18 0x58 # CHECK: muh $3, $4, $5
0x00 0xa4 0x18 0x98 # CHECK: mulu $3, $4, $5
0x00 0xa4,0x18,0xd8 # CHECK: muhu $3, $4, $5
0x00 0x00 0x00 0x00 # CHECK: nop
0x00 0xa4 0x1a 0xd0 # CHECK: nor $3, $4, $5
0x00,0xa4,0x1a,0x90 # CHECK: or $3, $4, $5
0x50 0x64 0x04 0xd2 # CHECK: ori $3, $4, 1234
0x60 0x25 0x20 0x08 # CHECK: pref 1, 8($5)
0x00 0x83 0x11 0x40 # CHECK: seleqz $2, $3, $4
0x00 0x83 0x11 0x80 # CHECK: selnez $2, $3, $4
0x00 0x83 0x38 0x00 # CHECK: sll $4, $3, 7
0x00 0xa4 0x19 0x90 # CHECK: sub $3, $4, $5
0x00 0xa4 0x19 0xd0 # CHECK: subu $3, $4, $5
0x00 0x64 0xf1 0x7c # CHECK: wrpgpr $3, $4
0x00 0x64 0x7b 0x3c # CHECK: wsbh $3, $4
0x00 0xa4 0x1b 0x10 # CHECK: xor $3, $4, $5
0x70 0x64 0x04 0xd2 # CHECK: xori $3, $4, 1234
0x18 0x85 0x00 0x06 # CHECK: sb $4, 6($5)
0x60 0x85 0xa8 0x06 # CHECK: sbe $4, 6($5)
0x60 0x85 0xac 0x06 # CHECK: sce $4, 6($5)
0x38 0x85 0x00 0x06 # CHECK: sh $4, 6($5)
0x60 0x85 0xaa 0x06 # CHECK: she $4, 6($5)
0x60 0x85 0x6c 0x06 # CHECK: lle $4, 6($5)
0x60 0x85 0x6e 0x06 # CHECK: lwe $4, 6($5)
0xfc 0x85 0x00 0x06 # CHECK: lw $4, 6($5)
0x10 0xc0 0x45 0x67 # CHECK: lui $6, 17767
0x00 0x64 0x2b 0x3c # CHECK: seb $3, $4
0x00 0x64 0x3b 0x3c # CHECK: seh $3, $4
0xf8,0xa6,0x00,0x04 # CHECK: sw $5, 4($6)
0x60,0xa4,0xae,0x08 # CHECK: swe $5, 8($4)
0x54 0xa4 0x18 0x30 # CHECK: add.s $f3, $f4, $f5
0x54 0xc4 0x11 0x30 # CHECK: add.d $f2, $f4, $f6
0x54 0xa4 0x18 0x70 # CHECK: sub.s $f3, $f4, $f5
0x54 0xc4 0x11 0x70 # CHECK: sub.d $f2, $f4, $f6
0x54 0xa4 0x18 0xb0 # CHECK: mul.s $f3, $f4, $f5
0x54 0xc4 0x11 0xb0 # CHECK: mul.d $f2, $f4, $f6
0x54 0xa4 0x18 0xf0 # CHECK: div.s $f3, $f4, $f5
0x54 0xc4 0x11 0xf0 # CHECK: div.d $f2, $f4, $f6
0x54 0xa4 0x19 0xb8 # CHECK: maddf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xb8 # CHECK: maddf.d $f3, $f4, $f5
0x54 0xa4 0x19 0xf8 # CHECK: msubf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xf8 # CHECK: msubf.d $f3, $f4, $f5
0x54,0xc7,0x00,0x7b # CHECK: mov.s $f6, $f7
0x54,0x86,0x20,0x7b # CHECK: mov.d $f4, $f6
0x54,0xc7,0x0b,0x7b # CHECK: neg.s $f6, $f7
0x54,0x86,0x2b,0x7b # CHECK: neg.d $f4, $f6
0x54 0x64 0x28 0x0b # CHECK: max.s $f5, $f4, $f3
0x54 0x64 0x2a 0x0b # CHECK: max.d $f5, $f4, $f3
0x54 0x64 0x28 0x2b # CHECK: maxa.s $f5, $f4, $f3
0x54 0x64 0x2a 0x2b # CHECK: maxa.d $f5, $f4, $f3
0x54 0x64 0x28 0x03 # CHECK: min.s $f5, $f4, $f3
0x54 0x64 0x2a 0x03 # CHECK: min.d $f5, $f4, $f3
0x54 0x64 0x28 0x23 # CHECK: mina.s $f5, $f4, $f3
0x54 0x64 0x2a 0x23 # CHECK: mina.d $f5, $f4, $f3
0x54 0x83 0x10 0x05 # CHECK: cmp.af.s $f2, $f3, $f4
0x54 0x83 0x10 0x45 # CHECK: cmp.un.s $f2, $f3, $f4
0x54 0x83 0x10 0x85 # CHECK: cmp.eq.s $f2, $f3, $f4
0x54 0x83 0x10 0xc5 # CHECK: cmp.ueq.s $f2, $f3, $f4
0x54 0x83 0x11 0x05 # CHECK: cmp.lt.s $f2, $f3, $f4
0x54 0x83 0x11 0x45 # CHECK: cmp.ult.s $f2, $f3, $f4
0x54 0x83 0x11 0x85 # CHECK: cmp.le.s $f2, $f3, $f4
0x54 0x83 0x11 0xc5 # CHECK: cmp.ule.s $f2, $f3, $f4
0x54 0x83 0x12 0x05 # CHECK: cmp.saf.s $f2, $f3, $f4
0x54 0x83 0x12 0x45 # CHECK: cmp.sun.s $f2, $f3, $f4
0x54 0x83 0x12 0x85 # CHECK: cmp.seq.s $f2, $f3, $f4
0x54 0x83 0x12 0xc5 # CHECK: cmp.sueq.s $f2, $f3, $f4
0x54 0x83 0x13 0x05 # CHECK: cmp.slt.s $f2, $f3, $f4
0x54 0x83 0x13 0x45 # CHECK: cmp.sult.s $f2, $f3, $f4
0x54 0x83 0x13 0x85 # CHECK: cmp.sle.s $f2, $f3, $f4
0x54 0x83 0x13 0xc5 # CHECK: cmp.sule.s $f2, $f3, $f4
0x54 0x83 0x10 0x15 # CHECK: cmp.af.d $f2, $f3, $f4
0x54 0x83 0x10 0x55 # CHECK: cmp.un.d $f2, $f3, $f4
0x54 0x83 0x10 0x95 # CHECK: cmp.eq.d $f2, $f3, $f4
0x54 0x83 0x10 0xd5 # CHECK: cmp.ueq.d $f2, $f3, $f4
0x54 0x83 0x11 0x15 # CHECK: cmp.lt.d $f2, $f3, $f4
0x54 0x83 0x11 0x55 # CHECK: cmp.ult.d $f2, $f3, $f4
0x54 0x83 0x11 0x95 # CHECK: cmp.le.d $f2, $f3, $f4
0x54 0x83 0x11 0xd5 # CHECK: cmp.ule.d $f2, $f3, $f4
0x54 0x83 0x12 0x15 # CHECK: cmp.saf.d $f2, $f3, $f4
0x54 0x83 0x12 0x55 # CHECK: cmp.sun.d $f2, $f3, $f4
0x54 0x83 0x12 0x95 # CHECK: cmp.seq.d $f2, $f3, $f4
0x54 0x83 0x12 0xd5 # CHECK: cmp.sueq.d $f2, $f3, $f4
0x54 0x83 0x13 0x15 # CHECK: cmp.slt.d $f2, $f3, $f4
0x54 0x83 0x13 0x55 # CHECK: cmp.sult.d $f2, $f3, $f4
0x54 0x83 0x13 0x95 # CHECK: cmp.sle.d $f2, $f3, $f4
0x54 0x83 0x13 0xd5 # CHECK: cmp.sule.d $f2, $f3, $f4
0x54 0x64 0x01 0x3b # CHECK: cvt.l.s $f3, $f4
0x54 0x64 0x41 0x3b # CHECK: cvt.l.d $f3, $f4
0x54 0x64 0x09 0x3b # CHECK: cvt.w.s $f3, $f4
0x54 0x64 0x49 0x3b # CHECK: cvt.w.d $f3, $f4
0x54 0x44 0x13 0x7b # CHECK: cvt.d.s $f2, $f4
0x54 0x44 0x33 0x7b # CHECK: cvt.d.w $f2, $f4
0x54 0x44 0x53 0x7b # CHECK: cvt.d.l $f2, $f4
0x54,0x44,0x1b,0x7b # CHECK: cvt.s.d $f2, $f4
0x54,0x64,0x3b,0x7b # CHECK: cvt.s.w $f3, $f4
0x54,0x64,0x5b,0x7b # CHECK: cvt.s.l $f3, $f4
0x54 0x65 0x03 0x7b # CHECK: abs.s $f3, $f5
0x54 0x44 0x23 0x7b # CHECK: abs.d $f2, $f4
0x54 0x65 0x03 0x3b # CHECK: floor.l.s $f3, $f5
0x54 0x44 0x43 0x3b # CHECK: floor.l.d $f2, $f4
0x54 0x65 0x0b 0x3b # CHECK: floor.w.s $f3, $f5
0x54 0x44 0x4b 0x3b # CHECK: floor.w.d $f2, $f4
0x54 0x65 0x13 0x3b # CHECK: ceil.l.s $f3, $f5
0x54 0x44 0x53 0x3b # CHECK: ceil.l.d $f2, $f4
0x54 0x65 0x1b 0x3b # CHECK: ceil.w.s $f3, $f5
0x54 0x44 0x5b 0x3b # CHECK: ceil.w.d $f2, $f4
0x54 0x65 0x23 0x3b # CHECK: trunc.l.s $f3, $f5
0x54 0x44 0x63 0x3b # CHECK: trunc.l.d $f2, $f4
0x54 0x65 0x2b 0x3b # CHECK: trunc.w.s $f3, $f5
0x54 0x44 0x6b 0x3b # CHECK: trunc.w.d $f2, $f4
0x54 0x65 0x0a 0x3b # CHECK: sqrt.s $f3, $f5
0x54 0x44 0x4a 0x3b # CHECK: sqrt.d $f2, $f4
0x54 0x65 0x02 0x3b # CHECK: rsqrt.s $f3, $f5
0x54 0x44 0x42 0x3b # CHECK: rsqrt.d $f2, $f4
0x65 0x88 # CHECK: lw $3, 32($gp)
0x48 0x66 # CHECK: lw $3, 24($sp)
0x6a 0x12 # CHECK: lw16 $4, 8($17)
0x29 0x82 # CHECK: lhu16 $3, 4($16)
0x09 0x94 # CHECK: lbu16 $3, 4($17)
0x09 0x9f # CHECK: lbu16 $3, -1($17)
0x04 0xcc # CHECK: addu16 $6, $17, $4
0x44 0x21 # CHECK: and16 $16, $2
0x2e 0x56 # CHECK: andi16 $4, $5, 8
0x46 0x70 # CHECK: not16 $4, $7
0x45 0xf9 # CHECK: or16 $3, $7
0x25 0xe0 # CHECK: sll16 $3, $6, 8
0x25 0xe1 # CHECK: srl16 $3, $6, 8
0x00 0xa4 0x19 0x10 # CHECK: add $3, $4, $5
0x30 0x64 0x04 0xd2 # CHECK: addiu $3, $4, 1234
0x00 0xa4 0x19 0x50 # CHECK: addu $3, $4, $5
0x78 0x80 0x00 0x19 # CHECK: addiupc $4, 100
0x78 0x7f 0x00 0x38 # CHECK: aluipc $3, 56
0x78 0x7e 0xff 0xff # CHECK: auipc $3, -1
0x00 0x43 0x24 0x1f # CHECK: align $4, $2, $3, 2
0x00 0xa4 0x1a 0x50 # CHECK: and $3, $4, $5
0xd0 0x64 0x04 0xd2 # CHECK: andi $3, $4, 1234
0x10 0x62 0xff 0xe9 # CHECK: aui $3, $2, -23
0x74 0x40 0x02 0x9a # CHECK: beqzalc $2, 1332
0x7c 0x40 0x02 0x9a # CHECK: bnezalc $2, 1332
0xc0 0x42 0x02 0x9a # CHECK: bgezalc $2, 1332
0xe0 0x40 0x02 0x9a # CHECK: bgtzalc $2, 1332
0xe0 0x42 0x02 0x9a # CHECK: bltzalc $2, 1332
0xc0 0x40 0x02 0x9a # CHECK: blezalc $2, 1332
0xb4 0x37 0x96 0xb8 # CHECK: balc 14572256
0x94 0x37 0x96 0xb8 # CHECK: bc 14572256
0x00 0x44 0x0b 0x3c # CHECK: bitswap $4, $2
0x00 0x00 0x00 0x07 # CHECK: break
0x00 0x07 0x00 0x07 # CHECK: break 7
0x00 0x07 0x01 0x47 # CHECK: break 7, 5
0x20 0x25 0x60 0x08 # CHECK: cache 1, 8($5)
0x01 0x65 0x4b 0x3c # CHECK: clo $11, $5
0x03 0x80 0xe8 0x50 # CHECK: clz $sp, $gp
0x00 0xa4 0x19 0x18 # CHECK: div $3, $4, $5
0x00 0xa4 0x19 0x98 # CHECK: divu $3, $4, $5
0x00 0x00 0x18 0x00 # CHECK: ehb
0x00 0x00 0x57 0x7c # CHECK: ei
0x00 0x0a 0x57 0x7c # CHECK: ei $10
0x00 0x00 0xf3 0x7c # CHECK: eret
0x00 0x01 0xf3 0x7c # CHECK: eretnc
0x80 0x05 0x01 0x00 # CHECK: jialc $5, 256
0xa0 0x05 0x01 0x00 # CHECK: jic $5, 256
0x78 0x48 0x00 0x43 # CHECK: lwpc $2, 268
0x00 0x43 0x26 0x0f # CHECK: lsa $2, $3, $4, 3
0x00 0xa4 0x19 0x58 # CHECK: mod $3, $4, $5
0x00 0xa4 0x19 0xd8 # CHECK: modu $3, $4, $5
0x00 0xa4 0x18 0x18 # CHECK: mul $3, $4, $5
0x00 0xa4 0x18 0x58 # CHECK: muh $3, $4, $5
0x00 0xa4 0x18 0x98 # CHECK: mulu $3, $4, $5
0x00 0xa4 0x18 0xd8 # CHECK: muhu $3, $4, $5
0x00 0x00 0x00 0x00 # CHECK: nop
0x00 0xa4 0x1a 0xd0 # CHECK: nor $3, $4, $5
0x00 0xa4 0x1a 0x90 # CHECK: or $3, $4, $5
0x50 0x64 0x04 0xd2 # CHECK: ori $3, $4, 1234
0x60 0x25 0x20 0x08 # CHECK: pref 1, 8($5)
0x00 0x83 0x11 0x40 # CHECK: seleqz $2, $3, $4
0x00 0x83 0x11 0x80 # CHECK: selnez $2, $3, $4
0x00 0x83 0x38 0x00 # CHECK: sll $4, $3, 7
0x00 0xa4 0x19 0x90 # CHECK: sub $3, $4, $5
0x00 0xa4 0x19 0xd0 # CHECK: subu $3, $4, $5
0x00 0x64 0xf1 0x7c # CHECK: wrpgpr $3, $4
0x00 0x64 0x7b 0x3c # CHECK: wsbh $3, $4
0x00 0xa4 0x1b 0x10 # CHECK: xor $3, $4, $5
0x70 0x64 0x04 0xd2 # CHECK: xori $3, $4, 1234
0x18 0x85 0x00 0x06 # CHECK: sb $4, 6($5)
0x60 0x85 0xa8 0x06 # CHECK: sbe $4, 6($5)
0x60 0x85 0xac 0x06 # CHECK: sce $4, 6($5)
0x38 0x85 0x00 0x06 # CHECK: sh $4, 6($5)
0x60 0x85 0xaa 0x06 # CHECK: she $4, 6($5)
0x60 0x85 0x6c 0x06 # CHECK: lle $4, 6($5)
0x60 0x85 0x6e 0x06 # CHECK: lwe $4, 6($5)
0xfc 0x85 0x00 0x06 # CHECK: lw $4, 6($5)
0x10 0xc0 0x45 0x67 # CHECK: lui $6, 17767
0x00 0x64 0x2b 0x3c # CHECK: seb $3, $4
0x00 0x64 0x3b 0x3c # CHECK: seh $3, $4
0xf8 0xa6 0x00 0x04 # CHECK: sw $5, 4($6)
0x60 0xa4 0xae 0x08 # CHECK: swe $5, 8($4)
0x54 0xa4 0x18 0x30 # CHECK: add.s $f3, $f4, $f5
0x54 0xc4 0x11 0x30 # CHECK: add.d $f2, $f4, $f6
0x54 0xa4 0x18 0x70 # CHECK: sub.s $f3, $f4, $f5
0x54 0xc4 0x11 0x70 # CHECK: sub.d $f2, $f4, $f6
0x54 0xa4 0x18 0xb0 # CHECK: mul.s $f3, $f4, $f5
0x54 0xc4 0x11 0xb0 # CHECK: mul.d $f2, $f4, $f6
0x54 0xa4 0x18 0xf0 # CHECK: div.s $f3, $f4, $f5
0x54 0xc4 0x11 0xf0 # CHECK: div.d $f2, $f4, $f6
0x54 0xa4 0x19 0xb8 # CHECK: maddf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xb8 # CHECK: maddf.d $f3, $f4, $f5
0x54 0xa4 0x19 0xf8 # CHECK: msubf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xf8 # CHECK: msubf.d $f3, $f4, $f5
0x54 0xc7 0x00 0x7b # CHECK: mov.s $f6, $f7
0x54 0x86 0x20 0x7b # CHECK: mov.d $f4, $f6
0x54 0xc7 0x0b 0x7b # CHECK: neg.s $f6, $f7
0x54 0x86 0x2b 0x7b # CHECK: neg.d $f4, $f6
0x54 0x64 0x28 0x0b # CHECK: max.s $f5, $f4, $f3
0x54 0x64 0x2a 0x0b # CHECK: max.d $f5, $f4, $f3
0x54 0x64 0x28 0x2b # CHECK: maxa.s $f5, $f4, $f3
0x54 0x64 0x2a 0x2b # CHECK: maxa.d $f5, $f4, $f3
0x54 0x64 0x28 0x03 # CHECK: min.s $f5, $f4, $f3
0x54 0x64 0x2a 0x03 # CHECK: min.d $f5, $f4, $f3
0x54 0x64 0x28 0x23 # CHECK: mina.s $f5, $f4, $f3
0x54 0x64 0x2a 0x23 # CHECK: mina.d $f5, $f4, $f3
0x54 0x83 0x10 0x05 # CHECK: cmp.af.s $f2, $f3, $f4
0x54 0x83 0x10 0x45 # CHECK: cmp.un.s $f2, $f3, $f4
0x54 0x83 0x10 0x85 # CHECK: cmp.eq.s $f2, $f3, $f4
0x54 0x83 0x10 0xc5 # CHECK: cmp.ueq.s $f2, $f3, $f4
0x54 0x83 0x11 0x05 # CHECK: cmp.lt.s $f2, $f3, $f4
0x54 0x83 0x11 0x45 # CHECK: cmp.ult.s $f2, $f3, $f4
0x54 0x83 0x11 0x85 # CHECK: cmp.le.s $f2, $f3, $f4
0x54 0x83 0x11 0xc5 # CHECK: cmp.ule.s $f2, $f3, $f4
0x54 0x83 0x12 0x05 # CHECK: cmp.saf.s $f2, $f3, $f4
0x54 0x83 0x12 0x45 # CHECK: cmp.sun.s $f2, $f3, $f4
0x54 0x83 0x12 0x85 # CHECK: cmp.seq.s $f2, $f3, $f4
0x54 0x83 0x12 0xc5 # CHECK: cmp.sueq.s $f2, $f3, $f4
0x54 0x83 0x13 0x05 # CHECK: cmp.slt.s $f2, $f3, $f4
0x54 0x83 0x13 0x45 # CHECK: cmp.sult.s $f2, $f3, $f4
0x54 0x83 0x13 0x85 # CHECK: cmp.sle.s $f2, $f3, $f4
0x54 0x83 0x13 0xc5 # CHECK: cmp.sule.s $f2, $f3, $f4
0x54 0x83 0x10 0x15 # CHECK: cmp.af.d $f2, $f3, $f4
0x54 0x83 0x10 0x55 # CHECK: cmp.un.d $f2, $f3, $f4
0x54 0x83 0x10 0x95 # CHECK: cmp.eq.d $f2, $f3, $f4
0x54 0x83 0x10 0xd5 # CHECK: cmp.ueq.d $f2, $f3, $f4
0x54 0x83 0x11 0x15 # CHECK: cmp.lt.d $f2, $f3, $f4
0x54 0x83 0x11 0x55 # CHECK: cmp.ult.d $f2, $f3, $f4
0x54 0x83 0x11 0x95 # CHECK: cmp.le.d $f2, $f3, $f4
0x54 0x83 0x11 0xd5 # CHECK: cmp.ule.d $f2, $f3, $f4
0x54 0x83 0x12 0x15 # CHECK: cmp.saf.d $f2, $f3, $f4
0x54 0x83 0x12 0x55 # CHECK: cmp.sun.d $f2, $f3, $f4
0x54 0x83 0x12 0x95 # CHECK: cmp.seq.d $f2, $f3, $f4
0x54 0x83 0x12 0xd5 # CHECK: cmp.sueq.d $f2, $f3, $f4
0x54 0x83 0x13 0x15 # CHECK: cmp.slt.d $f2, $f3, $f4
0x54 0x83 0x13 0x55 # CHECK: cmp.sult.d $f2, $f3, $f4
0x54 0x83 0x13 0x95 # CHECK: cmp.sle.d $f2, $f3, $f4
0x54 0x83 0x13 0xd5 # CHECK: cmp.sule.d $f2, $f3, $f4
0x54 0x64 0x01 0x3b # CHECK: cvt.l.s $f3, $f4
0x54 0x64 0x41 0x3b # CHECK: cvt.l.d $f3, $f4
0x54 0x64 0x09 0x3b # CHECK: cvt.w.s $f3, $f4
0x54 0x64 0x49 0x3b # CHECK: cvt.w.d $f3, $f4
0x54 0x44 0x13 0x7b # CHECK: cvt.d.s $f2, $f4
0x54 0x44 0x33 0x7b # CHECK: cvt.d.w $f2, $f4
0x54 0x44 0x53 0x7b # CHECK: cvt.d.l $f2, $f4
0x54 0x44 0x1b 0x7b # CHECK: cvt.s.d $f2, $f4
0x54 0x64 0x3b 0x7b # CHECK: cvt.s.w $f3, $f4
0x54 0x64 0x5b 0x7b # CHECK: cvt.s.l $f3, $f4
0x54 0x65 0x03 0x7b # CHECK: abs.s $f3, $f5
0x54 0x44 0x23 0x7b # CHECK: abs.d $f2, $f4
0x54 0x65 0x03 0x3b # CHECK: floor.l.s $f3, $f5
0x54 0x44 0x43 0x3b # CHECK: floor.l.d $f2, $f4
0x54 0x65 0x0b 0x3b # CHECK: floor.w.s $f3, $f5
0x54 0x44 0x4b 0x3b # CHECK: floor.w.d $f2, $f4
0x54 0x65 0x13 0x3b # CHECK: ceil.l.s $f3, $f5
0x54 0x44 0x53 0x3b # CHECK: ceil.l.d $f2, $f4
0x54 0x65 0x1b 0x3b # CHECK: ceil.w.s $f3, $f5
0x54 0x44 0x5b 0x3b # CHECK: ceil.w.d $f2, $f4
0x54 0x65 0x23 0x3b # CHECK: trunc.l.s $f3, $f5
0x54 0x44 0x63 0x3b # CHECK: trunc.l.d $f2, $f4
0x54 0x65 0x2b 0x3b # CHECK: trunc.w.s $f3, $f5
0x54 0x44 0x6b 0x3b # CHECK: trunc.w.d $f2, $f4
0x54 0x65 0x0a 0x3b # CHECK: sqrt.s $f3, $f5
0x54 0x44 0x4a 0x3b # CHECK: sqrt.d $f2, $f4
0x54 0x65 0x02 0x3b # CHECK: rsqrt.s $f3, $f5
0x54 0x44 0x42 0x3b # CHECK: rsqrt.d $f2, $f4
0x60 0x25 0xa6 0x08 # CHECK: cachee 1, 8($5)
0x60 0x25 0xa4 0x08 # CHECK: prefe 1, 8($5)
0x01 0x28 0x00 0x3c # CHECK: teq $8, $9
0x00 0xe5 0xf0 0x3c # CHECK: teq $5, $7, 15
0x01 0x47 0x02 0x3c # CHECK: tge $7, $10
0x02 0x67 0xf2 0x3c # CHECK: tge $7, $19, 15
0x03 0x96 0x04 0x3c # CHECK: tgeu $22, $gp
0x01 0xd4 0xf4 0x3c # CHECK: tgeu $20, $14, 15
0x01 0xaf 0x08 0x3c # CHECK: tlt $15, $13
0x02 0x62 0xf8 0x3c # CHECK: tlt $2, $19, 15
0x02 0x0b 0x0a 0x3c # CHECK: tltu $11, $16
0x03 0xb0 0xfa 0x3c # CHECK: tltu $16, $sp, 15
0x02 0x26 0x0c 0x3c # CHECK: tne $6, $17
0x01 0x07 0xfc 0x3c # CHECK: tne $7, $8, 15

View File

@ -1,263 +1,133 @@
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips64r6 -mattr=micromips | FileCheck %s
0x6f 0x83 # CHECK: addiur1sp $7, 4
0x6f 0x7e # CHECK: addiur2 $6, $7, -1
0x6f 0x76 # CHECK: addiur2 $6, $7, 12
0x4c 0xfc # CHECK: addius5 $7, -2
0x4f 0xff # CHECK: addiusp -1028
0x4f 0xfd # CHECK: addiusp -1032
0x4c 0x01 # CHECK: addiusp 1024
0x4c 0x03 # CHECK: addiusp 1028
0x4f 0xf9 # CHECK: addiusp -16
0xcc 0x42 # CHECK: bc16 132
0x8f 0x0a # CHECK: beqzc16 $6, 20
0xaf 0x0a # CHECK: bnezc16 $6, 20
0xf0 0x64 0x00 0x05 # CHECK: daui $3, $4, 5
0x42 0x23 0x00 0x04 # CHECK: dahi $3, 4
0x42 0x03 0x00 0x04 # CHECK: dati $3, 4
0x59 0x26 0x30 0xec # CHECK: dext $9, $6, 3, 7
0x59 0x26 0x30 0xe4 # CHECK: dextm $9, $6, 3, 7
0x59 0x26 0x30 0xd4 # CHECK: dextu $9, $6, 3, 7
0x58 0x43 0x25 0x1c # CHECK: dalign $4, $2, $3, 5
0x58 0x64 0x29 0x18 # CHECK: ddiv $3, $4, $5
0x58 0x64 0x29 0x58 # CHECK: dmod $3, $4, $5
0x58 0x64 0x29 0x98 # CHECK: ddivu $3, $4, $5
0x58 0x64 0x29 0xd8 # CHECK: dmodu $3, $4, $5
0x54 0xa4 0x18 0x30 # CHECK: add.s $f3, $f4, $f5
0x54 0xc4 0x11 0x30 # CHECK: add.d $f2, $f4, $f6
0x54 0xa4 0x18 0x70 # CHECK: sub.s $f3, $f4, $f5
0x54 0xc4 0x11 0x70 # CHECK: sub.d $f2, $f4, $f6
0x54 0xa4 0x18 0xb0 # CHECK: mul.s $f3, $f4, $f5
0x54 0xc4 0x11 0xb0 # CHECK: mul.d $f2, $f4, $f6
0x54 0xa4 0x18 0xf0 # CHECK: div.s $f3, $f4, $f5
0x54 0xc4 0x11 0xf0 # CHECK: div.d $f2, $f4, $f6
0x54 0xa4 0x19 0xb8 # CHECK: maddf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xb8 # CHECK: maddf.d $f3, $f4, $f5
0x54 0xa4 0x19 0xf8 # CHECK: msubf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xf8 # CHECK: msubf.d $f3, $f4, $f5
0x54,0xc7,0x00,0x7b # CHECK: mov.s $f6, $f7
0x54,0x86,0x20,0x7b # CHECK: mov.d $f4, $f6
0x54,0xc7,0x0b,0x7b # CHECK: neg.s $f6, $f7
0x54,0x86,0x2b,0x7b # CHECK: neg.d $f4, $f6
0x54 0x64 0x28 0x0b # CHECK: max.s $f5, $f4, $f3
0x54 0x64 0x2a 0x0b # CHECK: max.d $f5, $f4, $f3
0x54 0x64 0x28 0x2b # CHECK: maxa.s $f5, $f4, $f3
0x54 0x64 0x2a 0x2b # CHECK: maxa.d $f5, $f4, $f3
0x54 0x64 0x28 0x03 # CHECK: min.s $f5, $f4, $f3
0x54 0x64 0x2a 0x03 # CHECK: min.d $f5, $f4, $f3
0x54 0x64 0x28 0x23 # CHECK: mina.s $f5, $f4, $f3
0x54 0x64 0x2a 0x23 # CHECK: mina.d $f5, $f4, $f3
0x54 0x83 0x10 0x05 # CHECK: cmp.af.s $f2, $f3, $f4
0x54 0x83 0x10 0x45 # CHECK: cmp.un.s $f2, $f3, $f4
0x54 0x83 0x10 0x85 # CHECK: cmp.eq.s $f2, $f3, $f4
0x54 0x83 0x10 0xc5 # CHECK: cmp.ueq.s $f2, $f3, $f4
0x54 0x83 0x11 0x05 # CHECK: cmp.lt.s $f2, $f3, $f4
0x54 0x83 0x11 0x45 # CHECK: cmp.ult.s $f2, $f3, $f4
0x54 0x83 0x11 0x85 # CHECK: cmp.le.s $f2, $f3, $f4
0x54 0x83 0x11 0xc5 # CHECK: cmp.ule.s $f2, $f3, $f4
0x54 0x83 0x12 0x05 # CHECK: cmp.saf.s $f2, $f3, $f4
0x54 0x83 0x12 0x45 # CHECK: cmp.sun.s $f2, $f3, $f4
0x54 0x83 0x12 0x85 # CHECK: cmp.seq.s $f2, $f3, $f4
0x54 0x83 0x12 0xc5 # CHECK: cmp.sueq.s $f2, $f3, $f4
0x54 0x83 0x13 0x05 # CHECK: cmp.slt.s $f2, $f3, $f4
0x54 0x83 0x13 0x45 # CHECK: cmp.sult.s $f2, $f3, $f4
0x54 0x83 0x13 0x85 # CHECK: cmp.sle.s $f2, $f3, $f4
0x54 0x83 0x13 0xc5 # CHECK: cmp.sule.s $f2, $f3, $f4
0x54 0x83 0x10 0x15 # CHECK: cmp.af.d $f2, $f3, $f4
0x54 0x83 0x10 0x55 # CHECK: cmp.un.d $f2, $f3, $f4
0x54 0x83 0x10 0x95 # CHECK: cmp.eq.d $f2, $f3, $f4
0x54 0x83 0x10 0xd5 # CHECK: cmp.ueq.d $f2, $f3, $f4
0x54 0x83 0x11 0x15 # CHECK: cmp.lt.d $f2, $f3, $f4
0x54 0x83 0x11 0x55 # CHECK: cmp.ult.d $f2, $f3, $f4
0x54 0x83 0x11 0x95 # CHECK: cmp.le.d $f2, $f3, $f4
0x54 0x83 0x11 0xd5 # CHECK: cmp.ule.d $f2, $f3, $f4
0x54 0x83 0x12 0x15 # CHECK: cmp.saf.d $f2, $f3, $f4
0x54 0x83 0x12 0x55 # CHECK: cmp.sun.d $f2, $f3, $f4
0x54 0x83 0x12 0x95 # CHECK: cmp.seq.d $f2, $f3, $f4
0x54 0x83 0x12 0xd5 # CHECK: cmp.sueq.d $f2, $f3, $f4
0x54 0x83 0x13 0x15 # CHECK: cmp.slt.d $f2, $f3, $f4
0x54 0x83 0x13 0x55 # CHECK: cmp.sult.d $f2, $f3, $f4
0x54 0x83 0x13 0x95 # CHECK: cmp.sle.d $f2, $f3, $f4
0x54 0x83 0x13 0xd5 # CHECK: cmp.sule.d $f2, $f3, $f4
0x54 0x64 0x01 0x3b # CHECK: cvt.l.s $f3, $f4
0x54 0x64 0x41 0x3b # CHECK: cvt.l.d $f3, $f4
0x54 0x64 0x09 0x3b # CHECK: cvt.w.s $f3, $f4
0x54 0x64 0x49 0x3b # CHECK: cvt.w.d $f3, $f4
0x54 0x44 0x13 0x7b # CHECK: cvt.d.s $f2, $f4
0x54 0x44 0x33 0x7b # CHECK: cvt.d.w $f2, $f4
0x54 0x44 0x53 0x7b # CHECK: cvt.d.l $f2, $f4
0x54,0x44,0x1b,0x7b # CHECK: cvt.s.d $f2, $f4
0x54,0x64,0x3b,0x7b # CHECK: cvt.s.w $f3, $f4
0x54,0x64,0x5b,0x7b # CHECK: cvt.s.l $f3, $f4
0x54 0x65 0x03 0x7b # CHECK: abs.s $f3, $f5
0x54 0x44 0x23 0x7b # CHECK: abs.d $f2, $f4
0x54 0x65 0x03 0x3b # CHECK: floor.l.s $f3, $f5
0x54 0x44 0x43 0x3b # CHECK: floor.l.d $f2, $f4
0x54 0x65 0x0b 0x3b # CHECK: floor.w.s $f3, $f5
0x54 0x44 0x4b 0x3b # CHECK: floor.w.d $f2, $f4
0x54 0x65 0x13 0x3b # CHECK: ceil.l.s $f3, $f5
0x54 0x44 0x53 0x3b # CHECK: ceil.l.d $f2, $f4
0x54 0x65 0x1b 0x3b # CHECK: ceil.w.s $f3, $f5
0x54 0x44 0x5b 0x3b # CHECK: ceil.w.d $f2, $f4
0x54 0x65 0x23 0x3b # CHECK: trunc.l.s $f3, $f5
0x54 0x44 0x63 0x3b # CHECK: trunc.l.d $f2, $f4
0x54 0x65 0x2b 0x3b # CHECK: trunc.w.s $f3, $f5
0x54 0x44 0x6b 0x3b # CHECK: trunc.w.d $f2, $f4
0x54 0x65 0x0a 0x3b # CHECK: sqrt.s $f3, $f5
0x54 0x44 0x4a 0x3b # CHECK: sqrt.d $f2, $f4
0x54 0x65 0x02 0x3b # CHECK: rsqrt.s $f3, $f5
0x54 0x44 0x42 0x3b # CHECK: rsqrt.d $f2, $f4
0x65 0x88 # CHECK: lw $3, 32($gp)
0x48 0x66 # CHECK: lw $3, 24($sp)
0x6a 0x12 # CHECK: lw16 $4, 8($17)
0x29 0x82 # CHECK: lhu16 $3, 4($16)
0x09 0x94 # CHECK: lbu16 $3, 4($17)
0x09 0x9f # CHECK: lbu16 $3, -1($17)
0x01 0x28 0x00 0x3c # CHECK: teq $8, $9
0x00 0xe5 0xf0 0x3c # CHECK: teq $5, $7, 15
0x01 0x47 0x02 0x3c # CHECK: tge $7, $10
0x02 0x67 0xf2 0x3c # CHECK: tge $7, $19, 15
0x03 0x96 0x04 0x3c # CHECK: tgeu $22, $gp
0x01 0xd4 0xf4 0x3c # CHECK: tgeu $20, $14, 15
0x01 0xaf 0x08 0x3c # CHECK: tlt $15, $13
0x02 0x62 0xf8 0x3c # CHECK: tlt $2, $19, 15
0x02 0x0b 0x0a 0x3c # CHECK: tltu $11, $16
0x03 0xb0 0xfa 0x3c # CHECK: tltu $16, $sp, 15
0x02 0x26 0x0c 0x3c # CHECK: tne $6, $17
0x01 0x07 0xfc 0x3c # CHECK: tne $7, $8, 15
0x60 0x25 0xa6 0x08 # CHECK: cachee 1, 8($5)
0x00 0x64 0xf1 0x7c # CHECK: wrpgpr $3, $4
0x00 0x64 0x7b 0x3c # CHECK: wsbh $3, $4
0x45 0x2b # CHECK: jalr $9
0x45 0x23 # CHECK: jrc16 $9
0x44 0xb3 # CHECK: jrcaddiusp 20
0xf0 0x64 0x00 0x05 # CHECK: daui $3, $4, 5
0x42 0x23 0x00 0x04 # CHECK: dahi $3, 4
0x42 0x03 0x00 0x04 # CHECK: dati $3, 4
0x59 0x26 0x30 0xec # CHECK: dext $9, $6, 3, 7
0x59 0x26 0x30 0xe4 # CHECK: dextm $9, $6, 3, 7
0x59 0x26 0x30 0xd4 # CHECK: dextu $9, $6, 3, 7
0x58 0x43 0x25 0x1c # CHECK: dalign $4, $2, $3, 5
0x58 0x64 0x29 0x18 # CHECK: ddiv $3, $4, $5
0x58 0x64 0x29 0x58 # CHECK: dmod $3, $4, $5
0x58 0x64 0x29 0x98 # CHECK: ddivu $3, $4, $5
0x58 0x64 0x29 0xd8 # CHECK: dmodu $3, $4, $5
0x54 0xa4 0x18 0x30 # CHECK: add.s $f3, $f4, $f5
0x54 0xc4 0x11 0x30 # CHECK: add.d $f2, $f4, $f6
0x54 0xa4 0x18 0x70 # CHECK: sub.s $f3, $f4, $f5
0x54 0xc4 0x11 0x70 # CHECK: sub.d $f2, $f4, $f6
0x54 0xa4 0x18 0xb0 # CHECK: mul.s $f3, $f4, $f5
0x54 0xc4 0x11 0xb0 # CHECK: mul.d $f2, $f4, $f6
0x54 0xa4 0x18 0xf0 # CHECK: div.s $f3, $f4, $f5
0x54 0xc4 0x11 0xf0 # CHECK: div.d $f2, $f4, $f6
0x54 0xa4 0x19 0xb8 # CHECK: maddf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xb8 # CHECK: maddf.d $f3, $f4, $f5
0x54 0xa4 0x19 0xf8 # CHECK: msubf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xf8 # CHECK: msubf.d $f3, $f4, $f5
0x54 0xc7 0x00 0x7b # CHECK: mov.s $f6, $f7
0x54 0x86 0x20 0x7b # CHECK: mov.d $f4, $f6
0x54 0xc7 0x0b 0x7b # CHECK: neg.s $f6, $f7
0x54 0x86 0x2b 0x7b # CHECK: neg.d $f4, $f6
0x54 0x64 0x28 0x0b # CHECK: max.s $f5, $f4, $f3
0x54 0x64 0x2a 0x0b # CHECK: max.d $f5, $f4, $f3
0x54 0x64 0x28 0x2b # CHECK: maxa.s $f5, $f4, $f3
0x54 0x64 0x2a 0x2b # CHECK: maxa.d $f5, $f4, $f3
0x54 0x64 0x28 0x03 # CHECK: min.s $f5, $f4, $f3
0x54 0x64 0x2a 0x03 # CHECK: min.d $f5, $f4, $f3
0x54 0x64 0x28 0x23 # CHECK: mina.s $f5, $f4, $f3
0x54 0x64 0x2a 0x23 # CHECK: mina.d $f5, $f4, $f3
0x54 0x83 0x10 0x05 # CHECK: cmp.af.s $f2, $f3, $f4
0x54 0x83 0x10 0x45 # CHECK: cmp.un.s $f2, $f3, $f4
0x54 0x83 0x10 0x85 # CHECK: cmp.eq.s $f2, $f3, $f4
0x54 0x83 0x10 0xc5 # CHECK: cmp.ueq.s $f2, $f3, $f4
0x54 0x83 0x11 0x05 # CHECK: cmp.lt.s $f2, $f3, $f4
0x54 0x83 0x11 0x45 # CHECK: cmp.ult.s $f2, $f3, $f4
0x54 0x83 0x11 0x85 # CHECK: cmp.le.s $f2, $f3, $f4
0x54 0x83 0x11 0xc5 # CHECK: cmp.ule.s $f2, $f3, $f4
0x54 0x83 0x12 0x05 # CHECK: cmp.saf.s $f2, $f3, $f4
0x54 0x83 0x12 0x45 # CHECK: cmp.sun.s $f2, $f3, $f4
0x54 0x83 0x12 0x85 # CHECK: cmp.seq.s $f2, $f3, $f4
0x54 0x83 0x12 0xc5 # CHECK: cmp.sueq.s $f2, $f3, $f4
0x54 0x83 0x13 0x05 # CHECK: cmp.slt.s $f2, $f3, $f4
0x54 0x83 0x13 0x45 # CHECK: cmp.sult.s $f2, $f3, $f4
0x54 0x83 0x13 0x85 # CHECK: cmp.sle.s $f2, $f3, $f4
0x54 0x83 0x13 0xc5 # CHECK: cmp.sule.s $f2, $f3, $f4
0x54 0x83 0x10 0x15 # CHECK: cmp.af.d $f2, $f3, $f4
0x54 0x83 0x10 0x55 # CHECK: cmp.un.d $f2, $f3, $f4
0x54 0x83 0x10 0x95 # CHECK: cmp.eq.d $f2, $f3, $f4
0x54 0x83 0x10 0xd5 # CHECK: cmp.ueq.d $f2, $f3, $f4
0x54 0x83 0x11 0x15 # CHECK: cmp.lt.d $f2, $f3, $f4
0x54 0x83 0x11 0x55 # CHECK: cmp.ult.d $f2, $f3, $f4
0x54 0x83 0x11 0x95 # CHECK: cmp.le.d $f2, $f3, $f4
0x54 0x83 0x11 0xd5 # CHECK: cmp.ule.d $f2, $f3, $f4
0x54 0x83 0x12 0x15 # CHECK: cmp.saf.d $f2, $f3, $f4
0x54 0x83 0x12 0x55 # CHECK: cmp.sun.d $f2, $f3, $f4
0x54 0x83 0x12 0x95 # CHECK: cmp.seq.d $f2, $f3, $f4
0x54 0x83 0x12 0xd5 # CHECK: cmp.sueq.d $f2, $f3, $f4
0x54 0x83 0x13 0x15 # CHECK: cmp.slt.d $f2, $f3, $f4
0x54 0x83 0x13 0x55 # CHECK: cmp.sult.d $f2, $f3, $f4
0x54 0x83 0x13 0x95 # CHECK: cmp.sle.d $f2, $f3, $f4
0x54 0x83 0x13 0xd5 # CHECK: cmp.sule.d $f2, $f3, $f4
0x54 0x64 0x01 0x3b # CHECK: cvt.l.s $f3, $f4
0x54 0x64 0x41 0x3b # CHECK: cvt.l.d $f3, $f4
0x54 0x64 0x09 0x3b # CHECK: cvt.w.s $f3, $f4
0x54 0x64 0x49 0x3b # CHECK: cvt.w.d $f3, $f4
0x54 0x44 0x13 0x7b # CHECK: cvt.d.s $f2, $f4
0x54 0x44 0x33 0x7b # CHECK: cvt.d.w $f2, $f4
0x54 0x44 0x53 0x7b # CHECK: cvt.d.l $f2, $f4
0x54 0x44 0x1b 0x7b # CHECK: cvt.s.d $f2, $f4
0x54 0x64 0x3b 0x7b # CHECK: cvt.s.w $f3, $f4
0x54 0x64 0x5b 0x7b # CHECK: cvt.s.l $f3, $f4
0x54 0x65 0x03 0x7b # CHECK: abs.s $f3, $f5
0x54 0x44 0x23 0x7b # CHECK: abs.d $f2, $f4
0x54 0x65 0x03 0x3b # CHECK: floor.l.s $f3, $f5
0x54 0x44 0x43 0x3b # CHECK: floor.l.d $f2, $f4
0x54 0x65 0x0b 0x3b # CHECK: floor.w.s $f3, $f5
0x54 0x44 0x4b 0x3b # CHECK: floor.w.d $f2, $f4
0x54 0x65 0x13 0x3b # CHECK: ceil.l.s $f3, $f5
0x54 0x44 0x53 0x3b # CHECK: ceil.l.d $f2, $f4
0x54 0x65 0x1b 0x3b # CHECK: ceil.w.s $f3, $f5
0x54 0x44 0x5b 0x3b # CHECK: ceil.w.d $f2, $f4
0x54 0x65 0x23 0x3b # CHECK: trunc.l.s $f3, $f5
0x54 0x44 0x63 0x3b # CHECK: trunc.l.d $f2, $f4
0x54 0x65 0x2b 0x3b # CHECK: trunc.w.s $f3, $f5
0x54 0x44 0x6b 0x3b # CHECK: trunc.w.d $f2, $f4
0x54 0x65 0x0a 0x3b # CHECK: sqrt.s $f3, $f5
0x54 0x44 0x4a 0x3b # CHECK: sqrt.d $f2, $f4
0x54 0x65 0x02 0x3b # CHECK: rsqrt.s $f3, $f5
0x54 0x44 0x42 0x3b # CHECK: rsqrt.d $f2, $f4
0x01 0x28 0x00 0x3c # CHECK: teq $8, $9
0x00 0xe5 0xf0 0x3c # CHECK: teq $5, $7, 15
0x01 0x47 0x02 0x3c # CHECK: tge $7, $10
0x02 0x67 0xf2 0x3c # CHECK: tge $7, $19, 15
0x03 0x96 0x04 0x3c # CHECK: tgeu $22, $gp
0x01 0xd4 0xf4 0x3c # CHECK: tgeu $20, $14, 15
0x01 0xaf 0x08 0x3c # CHECK: tlt $15, $13
0x02 0x62 0xf8 0x3c # CHECK: tlt $2, $19, 15
0x02 0x0b 0x0a 0x3c # CHECK: tltu $11, $16
0x03 0xb0 0xfa 0x3c # CHECK: tltu $16, $sp, 15
0x02 0x26 0x0c 0x3c # CHECK: tne $6, $17
0x01 0x07 0xfc 0x3c # CHECK: tne $7, $8, 15
0x60 0x25 0xa6 0x08 # CHECK: cachee 1, 8($5)
0x00 0x64 0xf1 0x7c # CHECK: wrpgpr $3, $4
0x00 0x64 0x7b 0x3c # CHECK: wsbh $3, $4

View File

@ -89,11 +89,20 @@
0x00 0x00 0xc7 0x70 # CHECK: madd $6, $7
0x01 0x00 0xc7 0x70 # CHECK: maddu $6, $7
0x01 0x78 0x08 0x40 # CHECK: mfc0 $8, $15, 1
0x04 0x80 0x08 0x40 # CHECK: mfc0 $8, $16, 4
0x00 0x38 0x06 0x44 # CHECK: mfc1 $6, $f7
0x10 0x28 0x00 0x00 # CHECK: mfhi $5
0x12 0x28 0x00 0x00 # CHECK: mflo $5
0x86 0x41 0x20 0x46 # CHECK: mov.d $f6, $f8
0x86 0x39 0x00 0x46 # CHECK: mov.s $f6, $f7
0x25,0x38,0x00,0x01 # CHECK: move $7, $8
0x25,0x18,0x40,0x00 # CHECK: move $3, $2
0x01,0x18,0x5c,0x00 # CHECK: movf $3, $2, $fcc7
0x11,0x11,0x3c,0x46 # CHECK: movf.d $f4, $f2, $fcc7
0x11,0x11,0x1c,0x46 # CHECK: movf.s $f4, $f2, $fcc7
0x01,0x18,0x5d,0x00 # CHECK: movt $3, $2, $fcc7
0x11,0x11,0x3d,0x46 # CHECK: movt.d $f4, $f2, $fcc7
0x11,0x11,0x1d,0x46 # CHECK: movt.s $f4, $f2, $fcc7
0x04 0x00 0xc7 0x70 # CHECK: msub $6, $7
0x05 0x00 0xc7 0x70 # CHECK: msubu $6, $7
0x01 0x78 0x89 0x40 # CHECK: mtc0 $9, $15, 1

View File

@ -1,450 +0,0 @@
# RUN: llvm-mc --disassemble %s -triple=mipsel-unknown-linux | FileCheck %s
# CHECK: abs.d $f12, $f14
0x05 0x73 0x20 0x46
# CHECK: abs.s $f6, $f7
0x85 0x39 0x00 0x46
# CHECK: add $9, $6, $7
0x20 0x48 0xc7 0x00
# CHECK: add.d $f8, $f12, $f14
0x00 0x62 0x2e 0x46
# CHECK: add.s $f9, $f6, $f7
0x40 0x32 0x07 0x46
# CHECK: addi $9, $6, 17767
0x67 0x45 0xc9 0x20
# CHECK: addiu $9, $6, -15001
0x67 0xc5 0xc9 0x24
# CHECK: addu $9, $6, $7
0x21 0x48 0xc7 0x00
# CHECK: and $9, $6, $7
0x24 0x48 0xc7 0x00
# CHECK: andi $9, $6, 17767
0x67 0x45 0xc9 0x30
# CHECK: b 1332
0x4c 0x01 0x00 0x10
# CHECK: bc1f 1332
0x4c 0x01 0x00 0x45
# CHECK: bc1f $fcc7, 1332
0x4c 0x01 0x1c 0x45
# CHECK: bc1t 1332
0x4c 0x01 0x01 0x45
# CHECK: bc1t $fcc7, 1332
0x4c 0x01 0x1d 0x45
# CHECK: beq $9, $6, 1332
0x4c 0x01 0x26 0x11
# CHECK: bgez $6, 1332
0x4c 0x01 0xc1 0x04
# CHECK: bgezal $6, 1332
0x4c 0x01 0xd1 0x04
# CHECK: bgtz $6, 1332
0x4c 0x01 0xc0 0x1c
# CHECK: blez $6, 1332
0x4c 0x01 0xc0 0x18
# CHECK: bne $9, $6, 1332
0x4c 0x01 0x26 0x15
# CHECK: c.eq.d $f12, $f14
0x32 0x60 0x2e 0x46
# CHECK: c.eq.s $f6, $f7
0x32 0x30 0x07 0x46
# CHECK: c.f.d $f12, $f14
0x30 0x60 0x2e 0x46
# CHECK: c.f.s $f6, $f7
0x30 0x30 0x07 0x46
# CHECK: c.le.d $f12, $f14
0x3e 0x60 0x2e 0x46
# CHECK: c.le.s $f6, $f7
0x3e 0x30 0x07 0x46
# CHECK: c.lt.d $f12, $f14
0x3c 0x60 0x2e 0x46
# CHECK: c.lt.s $f6, $f7
0x3c 0x30 0x07 0x46
# CHECK: c.nge.d $f12, $f14
0x3d 0x60 0x2e 0x46
# CHECK: c.nge.s $f6, $f7
0x3d 0x30 0x07 0x46
# CHECK: c.ngl.d $f12, $f14
0x3b 0x60 0x2e 0x46
# CHECK: c.ngl.s $f6, $f7
0x3b 0x30 0x07 0x46
# CHECK: c.ngle.d $f12, $f14
0x39 0x60 0x2e 0x46
# CHECK: c.ngle.s $f6, $f7
0x39 0x30 0x07 0x46
# CHECK: c.ngt.d $f12, $f14
0x3f 0x60 0x2e 0x46
# CHECK: c.ngt.s $f6, $f7
0x3f 0x30 0x07 0x46
# CHECK: c.ole.d $f12, $f14
0x36 0x60 0x2e 0x46
# CHECK: c.ole.s $f6, $f7
0x36 0x30 0x07 0x46
# CHECK: c.olt.d $f12, $f14
0x34 0x60 0x2e 0x46
# CHECK: c.olt.s $f6, $f7
0x34 0x30 0x07 0x46
# CHECK: c.seq.d $f12, $f14
0x3a 0x60 0x2e 0x46
# CHECK: c.seq.s $f6, $f7
0x3a 0x30 0x07 0x46
# CHECK: c.sf.d $f12, $f14
0x38 0x60 0x2e 0x46
# CHECK: c.sf.s $f6, $f7
0x38 0x30 0x07 0x46
# CHECK: c.ueq.d $f12, $f14
0x33 0x60 0x2e 0x46
# CHECK: c.ueq.s $f28, $f18
0x33 0xe0 0x12 0x46
# CHECK: c.ule.d $f12, $f14
0x37 0x60 0x2e 0x46
# CHECK: c.ule.s $f6, $f7
0x37 0x30 0x07 0x46
# CHECK: c.ult.d $f12, $f14
0x35 0x60 0x2e 0x46
# CHECK: c.ult.s $f6, $f7
0x35 0x30 0x07 0x46
# CHECK: c.un.d $f12, $f14
0x31 0x60 0x2e 0x46
# CHECK: c.un.s $f6, $f7
0x31 0x30 0x07 0x46
# CHECK: ceil.w.d $f12, $f14
0x0e 0x73 0x20 0x46
# CHECK: ceil.w.s $f6, $f7
0x8e 0x39 0x00 0x46
# CHECK: cfc1 $6, $7
0x00 0x38 0x46 0x44
# CHECK: clo $6, $7
0x21 0x30 0xe6 0x70
# CHECK: clz $6, $7
0x20 0x30 0xe6 0x70
# CHECK: ctc1 $6, $7
0x00 0x38 0xc6 0x44
# CHECK: cvt.d.s $f6, $f7
0xa1 0x39 0x00 0x46
# CHECK: cvt.d.w $f12, $f14
0x21 0x73 0x80 0x46
# CHECK: cvt.s.d $f12, $f14
0x20 0x73 0x20 0x46
# CHECK: cvt.s.w $f6, $f7
0xa0 0x39 0x80 0x46
# CHECK: cvt.w.d $f12, $f14
0x24 0x73 0x20 0x46
# CHECK: cvt.w.s $f6, $f7
0xa4 0x39 0x00 0x46
# CHECK: floor.w.d $f12, $f14
0x0f 0x73 0x20 0x46
# CHECK: floor.w.s $f6, $f7
0x8f 0x39 0x00 0x46
# CHECK: j 1328
0x4c 0x01 0x00 0x08
# CHECK: jal 1328
0x4c 0x01 0x00 0x0c
# CHECK: jalx 1328
0x4c 0x01 0x00 0x74
# CHECK: jalr $7
0x09 0xf8 0xe0 0x00
# CHECK: jr $7
0x08 0x00 0xe0 0x00
# CHECK: lb $4, 9158($5)
0xc6 0x23 0xa4 0x80
# CHECK: lbu $4, 6($5)
0x06 0x00 0xa4 0x90
# CHECK: ldc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xd4
# CHECK: lh $4, 12($5)
0x0c 0x00 0xa4 0x84
# CHECK: lh $4, 12($5)
0x0c 0x00 0xa4 0x84
# CHECK: ll $9, 9158($7)
0xc6 0x23 0xe9 0xc0
# CHECK: lui $6, 17767
0x67 0x45 0x06 0x3c
# CHECK: lw $4, 24($5)
0x18 0x00 0xa4 0x8c
# CHECK: lwc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xc4
# CHECK: lwl $2, 3($4)
0x03 0x00 0x82 0x88
# CHECK: lwr $3, 16($5)
0x10 0x00 0xa3 0x98
# CHECK: madd $6, $7
0x00 0x00 0xc7 0x70
# CHECK: maddu $6, $7
0x01 0x00 0xc7 0x70
# CHECK: mfc0 $8, $16, 4
0x04 0x80 0x08 0x40
# CHECK: mfc1 $6, $f7
0x00 0x38 0x06 0x44
# CHECK: mfhi $5
0x10 0x28 0x00 0x00
# CHECK: mflo $5
0x12 0x28 0x00 0x00
# CHECK: mov.d $f6, $f8
0x86 0x41 0x20 0x46
# CHECK: mov.s $f6, $f7
0x86 0x39 0x00 0x46
# CHECK: move $7, $8
0x25,0x38,0x00,0x01
# CHECK: move $3, $2
0x25,0x18,0x40,0x00
# CHECK: movf $3, $2, $fcc7
0x01,0x18,0x5c,0x00
# CHECK: movf.d $f4, $f2, $fcc7
0x11,0x11,0x3c,0x46
# CHECK: movf.s $f4, $f2, $fcc7
0x11,0x11,0x1c,0x46
# CHECK: movt $3, $2, $fcc7
0x01,0x18,0x5d,0x00
# CHECK: movt.d $f4, $f2, $fcc7
0x11,0x11,0x3d,0x46
# CHECK: movt.s $f4, $f2, $fcc7
0x11,0x11,0x1d,0x46
# CHECK: msub $6, $7
0x04 0x00 0xc7 0x70
# CHECK: msubu $6, $7
0x05 0x00 0xc7 0x70
# CHECK: mtc0 $9, $15, 1
0x01 0x78 0x89 0x40
# CHECK: mtc1 $6, $f7
0x00 0x38 0x86 0x44
# CHECK: mthi $7
0x11 0x00 0xe0 0x00
# CHECK: mtlo $7
0x13 0x00 0xe0 0x00
# CHECK: mul.d $f8, $f12, $f14
0x02 0x62 0x2e 0x46
# CHECK: mul.s $f9, $f6, $f7
0x42 0x32 0x07 0x46
# CHECK: mul $9, $6, $7
0x02 0x48 0xc7 0x70
# CHECK: mult $3, $5
0x18 0x00 0x65 0x00
# CHECK: multu $3, $5
0x19 0x00 0x65 0x00
# CHECK: neg.d $f12, $f14
0x07 0x73 0x20 0x46
# CHECK: neg.s $f6, $f7
0x87 0x39 0x00 0x46
# CHECK: nop
0x00 0x00 0x00 0x00
# CHECK: nor $9, $6, $7
0x27 0x48 0xc7 0x00
# CHECK: or $3, $3, $5
0x25 0x18 0x65 0x00
# CHECK: ori $9, $6, 17767
0x67 0x45 0xc9 0x34
# CHECK: round.w.d $f12, $f14
0x0c 0x73 0x20 0x46
# CHECK: round.w.s $f6, $f7
0x8c 0x39 0x00 0x46
# CHECK: sb $4, 9158($5)
0xc6 0x23 0xa4 0xa0
# CHECK: sb $4, 6($5)
0x06 0x00 0xa4 0xa0
# CHECK: sc $9, 9158($7)
0xc6 0x23 0xe9 0xe0
# CHECK: sdc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xf4
# CHECK: sh $4, 9158($5)
0xc6 0x23 0xa4 0xa4
# CHECK: sll $4, $3, 7
0xc0 0x21 0x03 0x00
# CHECK: sllv $2, $3, $5
0x04 0x10 0xa3 0x00
# CHECK: slt $3, $3, $5
0x2a 0x18 0x65 0x00
# CHECK: slti $3, $3, 103
0x67 0x00 0x63 0x28
# CHECK: sltiu $3, $3, 103
0x67 0x00 0x63 0x2c
# CHECK: sltu $3, $3, $5
0x2b 0x18 0x65 0x00
# CHECK: sqrt.d $f12, $f14
0x04 0x73 0x20 0x46
# CHECK: sqrt.s $f6, $f7
0x84 0x39 0x00 0x46
# CHECK: sra $4, $3, 7
0xc3 0x21 0x03 0x00
# CHECK: srav $2, $3, $5
0x07 0x10 0xa3 0x00
# CHECK: srl $4, $3, 7
0xc2 0x21 0x03 0x00
# CHECK: srlv $2, $3, $5
0x06 0x10 0xa3 0x00
# CHECK: sub.d $f8, $f12, $f14
0x01 0x62 0x2e 0x46
# CHECK: sub.s $f9, $f6, $f7
0x41 0x32 0x07 0x46
# CHECK: sub $9, $6, $7
0x22 0x48 0xc7 0x00
# CHECK: subu $4, $3, $5
0x23 0x20 0x65 0x00
# CHECK: sw $4, 24($5)
0x18 0x00 0xa4 0xac
# CHECK: swc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xe4
# CHECK: swl $4, 16($5)
0x10 0x00 0xa4 0xa8
# CHECK: swr $6, 16($7)
0x10 0x00 0xe6 0xb8
# CHECK: sync 7
0xcf 0x01 0x00 0x00
# CHECK: trunc.w.d $f12, $f14
0x0d 0x73 0x20 0x46
# CHECK: trunc.w.s $f6, $f7
0x8d 0x39 0x00 0x46
# CHECK: xor $3, $3, $5
0x26 0x18 0x65 0x00
# CHECK: xori $9, $6, 17767
0x67 0x45 0xc9 0x38
# CHECK: .set push
# CHECK: .set mips32r2
# CHECK: rdhwr $5, $29
# CHECK: .set pop
0x3b 0xe8 0x05 0x7c

View File

@ -102,6 +102,7 @@
0x60 0x98 0xf9 0x4f # CHECK: madd.s $f1, $f31, $f19, $f25
0x01 0x00 0xc7 0x70 # CHECK: maddu $6, $7
0x01 0x78 0x08 0x40 # CHECK: mfc0 $8, $15, 1
0x04 0x80 0x08 0x40 # CHECK: mfc0 $8, $16, 4
0x00 0x38 0x06 0x44 # CHECK: mfc1 $6, $f7
0x10 0x28 0x00 0x00 # CHECK: mfhi $5
0x00 0xc0 0x7e 0x44 # CHECK: mfhc1 $fp, $f24
@ -172,3 +173,4 @@
0xa0 0x30 0x07 0x7c # CHECK: wsbh $6, $7
0x26 0x18 0x65 0x00 # CHECK: xor $3, $3, $5
0x67 0x45 0xc9 0x38 # CHECK: xori $9, $6, 17767
0x4c 0x1d 0x7f 0x06 # CHECK: synci 7500($19)

View File

@ -1,459 +0,0 @@
# RUN: llvm-mc --disassemble %s -triple=mipsel-unknown-linux -mcpu=mips32r2 | FileCheck %s
# CHECK: abs.d $f12, $f14
0x05 0x73 0x20 0x46
# CHECK: abs.s $f6, $f7
0x85 0x39 0x00 0x46
# CHECK: add $9, $6, $7
0x20 0x48 0xc7 0x00
# CHECK: add.d $f8, $f12, $f14
0x00 0x62 0x2e 0x46
# CHECK: add.s $f9, $f6, $f7
0x40 0x32 0x07 0x46
# CHECK: addi $9, $6, 17767
0x67 0x45 0xc9 0x20
# CHECK: addiu $9, $6, -15001
0x67 0xc5 0xc9 0x24
# CHECK: addu $9, $6, $7
0x21 0x48 0xc7 0x00
# CHECK: and $9, $6, $7
0x24 0x48 0xc7 0x00
# CHECK: andi $9, $6, 17767
0x67 0x45 0xc9 0x30
# CHECK: b 1332
0x4c 0x01 0x00 0x10
# CHECK: bc1f 1332
0x4c 0x01 0x00 0x45
# CHECK: bc1f $fcc7, 1332
0x4c 0x01 0x1c 0x45
# CHECK: bc1t 1332
0x4c 0x01 0x01 0x45
# CHECK: bc1t $fcc7, 1332
0x4c 0x01 0x1d 0x45
# CHECK: beq $9, $6, 1332
0x4c 0x01 0x26 0x11
# CHECK: bgez $6, 1332
0x4c 0x01 0xc1 0x04
# CHECK: bgezal $6, 1332
0x4c 0x01 0xd1 0x04
# CHECK: bgtz $6, 1332
0x4c 0x01 0xc0 0x1c
# CHECK: blez $6, 1332
0x4c 0x01 0xc0 0x18
# CHECK: bne $9, $6, 1332
0x4c 0x01 0x26 0x15
# CHECK: c.eq.d $f12, $f14
0x32 0x60 0x2e 0x46
# CHECK: c.eq.s $f6, $f7
0x32 0x30 0x07 0x46
# CHECK: c.f.d $f12, $f14
0x30 0x60 0x2e 0x46
# CHECK: c.f.s $f6, $f7
0x30 0x30 0x07 0x46
# CHECK: c.le.d $f12, $f14
0x3e 0x60 0x2e 0x46
# CHECK: c.le.s $f6, $f7
0x3e 0x30 0x07 0x46
# CHECK: c.lt.d $f12, $f14
0x3c 0x60 0x2e 0x46
# CHECK: c.lt.s $f6, $f7
0x3c 0x30 0x07 0x46
# CHECK: c.nge.d $f12, $f14
0x3d 0x60 0x2e 0x46
# CHECK: c.nge.s $f6, $f7
0x3d 0x30 0x07 0x46
# CHECK: c.ngl.d $f12, $f14
0x3b 0x60 0x2e 0x46
# CHECK: c.ngl.s $f6, $f7
0x3b 0x30 0x07 0x46
# CHECK: c.ngle.d $f12, $f14
0x39 0x60 0x2e 0x46
# CHECK: c.ngle.s $f6, $f7
0x39 0x30 0x07 0x46
# CHECK: c.ngt.d $f12, $f14
0x3f 0x60 0x2e 0x46
# CHECK: c.ngt.s $f6, $f7
0x3f 0x30 0x07 0x46
# CHECK: c.ole.d $f12, $f14
0x36 0x60 0x2e 0x46
# CHECK: c.ole.s $f6, $f7
0x36 0x30 0x07 0x46
# CHECK: c.olt.d $f12, $f14
0x34 0x60 0x2e 0x46
# CHECK: c.olt.s $f6, $f7
0x34 0x30 0x07 0x46
# CHECK: c.seq.d $f12, $f14
0x3a 0x60 0x2e 0x46
# CHECK: c.seq.s $f6, $f7
0x3a 0x30 0x07 0x46
# CHECK: c.sf.d $f12, $f14
0x38 0x60 0x2e 0x46
# CHECK: c.sf.s $f6, $f7
0x38 0x30 0x07 0x46
# CHECK: c.ueq.d $f12, $f14
0x33 0x60 0x2e 0x46
# CHECK: c.ueq.s $f28, $f18
0x33 0xe0 0x12 0x46
# CHECK: c.ule.d $f12, $f14
0x37 0x60 0x2e 0x46
# CHECK: c.ule.s $f6, $f7
0x37 0x30 0x07 0x46
# CHECK: c.ult.d $f12, $f14
0x35 0x60 0x2e 0x46
# CHECK: c.ult.s $f6, $f7
0x35 0x30 0x07 0x46
# CHECK: c.un.d $f12, $f14
0x31 0x60 0x2e 0x46
# CHECK: c.un.s $f6, $f7
0x31 0x30 0x07 0x46
# CHECK: ceil.w.d $f12, $f14
0x0e 0x73 0x20 0x46
# CHECK: ceil.w.s $f6, $f7
0x8e 0x39 0x00 0x46
# CHECK: cfc1 $6, $7
0x00 0x38 0x46 0x44
# CHECK: clo $6, $7
0x21 0x30 0xe6 0x70
# CHECK: clz $6, $7
0x20 0x30 0xe6 0x70
# CHECK: ctc1 $6, $7
0x00 0x38 0xc6 0x44
# CHECK: cvt.d.s $f6, $f7
0xa1 0x39 0x00 0x46
# CHECK: cvt.d.w $f12, $f14
0x21 0x73 0x80 0x46
# CHECK: cvt.l.d $f12, $f14
0x25 0x73 0x20 0x46
# CHECK: cvt.l.s $f6, $f7
0xa5 0x39 0x00 0x46
# CHECK: cvt.s.d $f12, $f14
0x20 0x73 0x20 0x46
# CHECK: cvt.s.w $f6, $f7
0xa0 0x39 0x80 0x46
# CHECK: cvt.w.d $f12, $f14
0x24 0x73 0x20 0x46
# CHECK: cvt.w.s $f6, $f7
0xa4 0x39 0x00 0x46
# CHECK: floor.w.d $f12, $f14
0x0f 0x73 0x20 0x46
# CHECK: floor.w.s $f6, $f7
0x8f 0x39 0x00 0x46
# CHECK: ins $19, $9, 6, 7
0x84 0x61 0x33 0x7d
# CHECK: j 1328
0x4c 0x01 0x00 0x08
# CHECK: jal 1328
0x4c 0x01 0x00 0x0c
# CHECK: jalx 1328
0x4c 0x01 0x00 0x74
# CHECK: jalr $7
0x09 0xf8 0xe0 0x00
# CHECK: jr $7
0x08 0x00 0xe0 0x00
# CHECK: lb $4, 9158($5)
0xc6 0x23 0xa4 0x80
# CHECK: lbu $4, 6($5)
0x06 0x00 0xa4 0x90
# CHECK: ldc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xd4
# CHECK: lh $4, 12($5)
0x0c 0x00 0xa4 0x84
# CHECK: lh $4, 12($5)
0x0c 0x00 0xa4 0x84
# CHECK: ll $9, 9158($7)
0xc6 0x23 0xe9 0xc0
# CHECK: lui $6, 17767
0x67 0x45 0x06 0x3c
# CHECK: luxc1 $f0, $6($5)
0x05 0x00 0xa6 0x4c
# CHECK: lw $4, 24($5)
0x18 0x00 0xa4 0x8c
# CHECK: lwc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xc4
# CHECK: lwl $2, 3($4)
0x03 0x00 0x82 0x88
# CHECK: lwr $3, 16($5)
0x10 0x00 0xa3 0x98
# CHECK: lwxc1 $f20, $12($14)
0x00 0x05 0xcc 0x4d
# CHECK: madd $6, $7
0x00 0x00 0xc7 0x70
# CHECK: maddu $6, $7
0x01 0x00 0xc7 0x70
# CHECK: mfc0 $8, $16, 4
0x04 0x80 0x08 0x40
# CHECK: mfc1 $6, $f7
0x00 0x38 0x06 0x44
# CHECK: mfhi $5
0x10 0x28 0x00 0x00
# CHECK: mflo $5
0x12 0x28 0x00 0x00
# CHECK: mov.d $f6, $f8
0x86 0x41 0x20 0x46
# CHECK: mov.s $f6, $f7
0x86 0x39 0x00 0x46
# CHECK: msub $6, $7
0x04 0x00 0xc7 0x70
# CHECK: msubu $6, $7
0x05 0x00 0xc7 0x70
# CHECK: mtc0 $9, $15, 1
0x01 0x78 0x89 0x40
# CHECK: mtc1 $6, $f7
0x00 0x38 0x86 0x44
# CHECK: mthi $7
0x11 0x00 0xe0 0x00
# CHECK: mtlo $7
0x13 0x00 0xe0 0x00
# CHECK: mul.d $f8, $f12, $f14
0x02 0x62 0x2e 0x46
# CHECK: mul.s $f9, $f6, $f7
0x42 0x32 0x07 0x46
# CHECK: mul $9, $6, $7
0x02 0x48 0xc7 0x70
# CHECK: mult $3, $5
0x18 0x00 0x65 0x00
# CHECK: multu $3, $5
0x19 0x00 0x65 0x00
# CHECK: neg.d $f12, $f14
0x07 0x73 0x20 0x46
# CHECK: neg.s $f6, $f7
0x87 0x39 0x00 0x46
# CHECK: nop
0x00 0x00 0x00 0x00
# CHECK: nor $9, $6, $7
0x27 0x48 0xc7 0x00
# CHECK: or $3, $3, $5
0x25 0x18 0x65 0x00
# CHECK: ori $9, $6, 17767
0x67 0x45 0xc9 0x34
# CHECK: rotr $9, $6, 7
0xc2 0x49 0x26 0x00
# CHECK: rotrv $9, $6, $7
0x46 0x48 0xe6 0x00
# CHECK: round.w.d $f12, $f14
0x0c 0x73 0x20 0x46
# CHECK: round.w.s $f6, $f7
0x8c 0x39 0x00 0x46
# CHECK: sb $4, 9158($5)
0xc6 0x23 0xa4 0xa0
# CHECK: sb $4, 6($5)
0x06 0x00 0xa4 0xa0
# CHECK: sc $9, 9158($7)
0xc6 0x23 0xe9 0xe0
# CHECK: sdc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xf4
# CHECK: seb $6, $7
0x20 0x34 0x07 0x7c
# CHECK: seh $6, $7
0x20 0x36 0x07 0x7c
# CHECK: sh $4, 9158($5)
0xc6 0x23 0xa4 0xa4
# CHECK: sll $4, $3, 7
0xc0 0x21 0x03 0x00
# CHECK: sllv $2, $3, $5
0x04 0x10 0xa3 0x00
# CHECK: slt $3, $3, $5
0x2a 0x18 0x65 0x00
# CHECK: slti $3, $3, 103
0x67 0x00 0x63 0x28
# CHECK: sltiu $3, $3, 103
0x67 0x00 0x63 0x2c
# CHECK: sltu $3, $3, $5
0x2b 0x18 0x65 0x00
# CHECK: sqrt.d $f12, $f14
0x04 0x73 0x20 0x46
# CHECK: sqrt.s $f6, $f7
0x84 0x39 0x00 0x46
# CHECK: sra $4, $3, 7
0xc3 0x21 0x03 0x00
# CHECK: srav $2, $3, $5
0x07 0x10 0xa3 0x00
# CHECK: srl $4, $3, 7
0xc2 0x21 0x03 0x00
# CHECK: srlv $2, $3, $5
0x06 0x10 0xa3 0x00
# CHECK: sub.d $f8, $f12, $f14
0x01 0x62 0x2e 0x46
# CHECK: sub.s $f9, $f6, $f7
0x41 0x32 0x07 0x46
# CHECK: sub $9, $6, $7
0x22 0x48 0xc7 0x00
# CHECK: subu $4, $3, $5
0x23 0x20 0x65 0x00
# CHECK: suxc1 $f4, $24($5)
0x0d 0x20 0xb8 0x4c
# CHECK: sw $4, 24($5)
0x18 0x00 0xa4 0xac
# CHECK: swc1 $f9, 9158($7)
0xc6 0x23 0xe9 0xe4
# CHECK: swl $4, 16($5)
0x10 0x00 0xa4 0xa8
# CHECK: swr $6, 16($7)
0x10 0x00 0xe6 0xb8
# CHECK: swxc1 $f26, $18($22)
0x08 0xd0 0xd2 0x4e
# CHECK: sync 7
0xcf 0x01 0x00 0x00
# CHECK: trunc.w.d $f12, $f14
0x0d 0x73 0x20 0x46
# CHECK: trunc.w.s $f6, $f7
0x8d 0x39 0x00 0x46
# CHECK: wsbh $6, $7
0xa0 0x30 0x07 0x7c
# CHECK: xor $3, $3, $5
0x26 0x18 0x65 0x00
# CHECK: xori $9, $6, 17767
0x67 0x45 0xc9 0x38
# CHECK: synci 7500($19)
0x4c 0x1d 0x7f 0x06

View File

@ -220,3 +220,31 @@
0x04 0x00 0x43 0xcc # CHECK: pref 3, 4($2)
0xc6 0x23 0xe9 0xe8 # CHECK: swc2 $9, 9158($7)
0xca 0x23 0xc8 0xc8 # CHECK: lwc2 $8, 9162($6)
0xcd 0x7c 0x4b 0x67 # CHECK: daddiu $11, $26, 31949
0x2d 0xd0 0x2b 0x00 # CHECK: daddu $26, $1, $11
0x1e 0x00 0x56 0x03 # CHECK: ddiv $zero, $26, $22
0x1f 0x00 0x38 0x01 # CHECK: ddivu $zero, $9, $24
0x00 0x70 0x22 0x44 # CHECK: dmfc1 $2, $f14
0x00 0x28 0xb7 0x44 # CHECK: dmtc1 $23, $f5
0x1c 0x00 0x7a 0x01 # CHECK: dmult $11, $26
0x1d 0x00 0xed 0x02 # CHECK: dmultu $23, $13
0x78 0x1c 0x18 0x00 # CHECK: dsll $3, $24, 17
0x14 0xe0 0x1b 0x03 # CHECK: dsllv $gp, $27, $24
0xbb 0x0f 0x01 0x00 # CHECK: dsra $1, $1, 30
0x17 0x08 0xc1 0x03 # CHECK: dsrav $1, $1, $fp
0x3a 0x56 0x1c 0x00 # CHECK: dsrl $10, $gp, 24
0x16 0xe0 0xea 0x02 # CHECK: dsrlv $gp, $10, $23
0x2f 0xe0 0x78 0x03 # CHECK: dsubu $gp, $27, $24
0xcd 0xc4 0x3b 0x8c # CHECK: lw $27, -15155($1)
0x01 0x00 0x01 0x3c # CHECK: lui $1, 1
0x2e 0xf9 0x63 0x9c # CHECK: lwu $3, -1746($3)
0x01 0x00 0x1f 0x3c # CHECK: lui $ra, 1
0xc9 0xc4 0x3a 0xac # CHECK: sw $26, -15159($1)
0x76 0x0f 0x1a 0xdc # CHECK: ld $26, 3958($zero)
0x67 0x45 0x06 0xfc # CHECK: sd $6, 17767($zero)
0x05 0x00 0xa6 0x4c # CHECK: luxc1 $f0, $6($5)
0x00 0x05 0xcc 0x4d # CHECK: lwxc1 $f20, $12($14)
0x0d 0x20 0xb8 0x4c # CHECK: suxc1 $f4, $24($5)
0x08 0xd0 0xd2 0x4e # CHECK: swxc1 $f26, $18($22)
0x81 0x00 0x42 0x4d # CHECK: ldxc1 $f2, $2($10)
0x09 0x40 0x24 0x4f # CHECK: sdxc1 $f8, $4($25)

View File

@ -1,84 +0,0 @@
# RUN: llvm-mc --disassemble %s -triple=mips64el-unknown-linux | FileCheck %s
# CHECK: daddiu $11, $26, 31949
0xcd 0x7c 0x4b 0x67
# CHECK: daddu $26, $1, $11
0x2d 0xd0 0x2b 0x00
# CHECK: ddiv $zero, $26, $22
0x1e 0x00 0x56 0x03
# CHECK: ddivu $zero, $9, $24
0x1f 0x00 0x38 0x01
# CHECK: dmfc1 $2, $f14
0x00 0x70 0x22 0x44
# CHECK: dmtc1 $23, $f5
0x00 0x28 0xb7 0x44
# CHECK: dmult $11, $26
0x1c 0x00 0x7a 0x01
# CHECK: dmultu $23, $13
0x1d 0x00 0xed 0x02
# CHECK: dsll $3, $24, 17
0x78 0x1c 0x18 0x00
# CHECK: dsllv $gp, $27, $24
0x14 0xe0 0x1b 0x03
# CHECK: dsra $1, $1, 30
0xbb 0x0f 0x01 0x00
# CHECK: dsrav $1, $1, $fp
0x17 0x08 0xc1 0x03
# CHECK: dsrl $10, $gp, 24
0x3a 0x56 0x1c 0x00
# CHECK: dsrlv $gp, $10, $23
0x16 0xe0 0xea 0x02
# CHECK: dsubu $gp, $27, $24
0x2f 0xe0 0x78 0x03
# CHECK: lw $27, -15155($1)
0xcd 0xc4 0x3b 0x8c
# CHECK: lui $1, 1
0x01 0x00 0x01 0x3c
# CHECK: lwu $3, -1746($3)
0x2e 0xf9 0x63 0x9c
# CHECK: lui $ra, 1
0x01 0x00 0x1f 0x3c
# CHECK: sw $26, -15159($1)
0xc9 0xc4 0x3a 0xac
# CHECK: ld $26, 3958($zero)
0x76 0x0f 0x1a 0xdc
# CHECK: sd $6, 17767($zero)
0x67 0x45 0x06 0xfc
# CHECK: luxc1 $f0, $6($5)
0x05 0x00 0xa6 0x4c
# CHECK: lwxc1 $f20, $12($14)
0x00 0x05 0xcc 0x4d
# CHECK: suxc1 $f4, $24($5)
0x0d 0x20 0xb8 0x4c
# CHECK: swxc1 $f26, $18($22)
0x08 0xd0 0xd2 0x4e
# CHECK: ldxc1 $f2, $2($10)
0x81 0x00 0x42 0x4d
# CHECK: sdxc1 $f8, $4($25)
0x09 0x40 0x24 0x4f

View File

@ -241,3 +241,33 @@
0xa0 0x30 0x07 0x7c # CHECK: wsbh $6, $7
0x26 0x18 0x65 0x00 # CHECK: xor $3, $3, $5
0x67 0x45 0xc9 0x38 # CHECK: xori $9, $6, 17767
0xcd 0x7c 0x4b 0x67 # CHECK: daddiu $11, $26, 31949
0x2d 0xd0 0x2b 0x00 # CHECK: daddu $26, $1, $11
0x1e 0x00 0x56 0x03 # CHECK: ddiv $zero, $26, $22
0x1f 0x00 0x38 0x01 # CHECK: ddivu $zero, $9, $24
0x00 0x70 0x22 0x44 # CHECK: dmfc1 $2, $f14
0x00 0x28 0xb7 0x44 # CHECK: dmtc1 $23, $f5
0x1c 0x00 0x7a 0x01 # CHECK: dmult $11, $26
0x1d 0x00 0xed 0x02 # CHECK: dmultu $23, $13
0x78 0x1c 0x18 0x00 # CHECK: dsll $3, $24, 17
0x14 0xe0 0x1b 0x03 # CHECK: dsllv $gp, $27, $24
0xbb 0x0f 0x01 0x00 # CHECK: dsra $1, $1, 30
0x17 0x08 0xc1 0x03 # CHECK: dsrav $1, $1, $fp
0x3a 0x56 0x1c 0x00 # CHECK: dsrl $10, $gp, 24
0x16 0xe0 0xea 0x02 # CHECK: dsrlv $gp, $10, $23
0x2f 0xe0 0x78 0x03 # CHECK: dsubu $gp, $27, $24
0xcd 0xc4 0x3b 0x8c # CHECK: lw $27, -15155($1)
0x01 0x00 0x01 0x3c # CHECK: lui $1, 1
0x2e 0xf9 0x63 0x9c # CHECK: lwu $3, -1746($3)
0x01 0x00 0x1f 0x3c # CHECK: lui $ra, 1
0xc9 0xc4 0x3a 0xac # CHECK: sw $26, -15159($1)
0x76 0x0f 0x1a 0xdc # CHECK: ld $26, 3958($zero)
0x67 0x45 0x06 0xfc # CHECK: sd $6, 17767($zero)
0x25 0x48 0x09 0x73 # CHECK: dclo $9, $24
0x24 0xd0 0x3a 0x71 # CHECK: dclz $26, $9
0x43 0xf7 0x87 0x7f # CHECK: dext $7, $gp, 29, 31
0xc7 0x7b 0x94 0x7f # CHECK: dins $20, $gp, 15, 1
0xa4 0x38 0x1c 0x7c # CHECK: dsbh $7, $gp
0x64 0x19 0x0e 0x7c # CHECK: dshd $3, $14
0xba 0xa1 0x3b 0x00 # CHECK: drotr $20, $27, 6
0x56 0xc0 0xb7 0x00 # CHECK: drotrv $24, $23, $5

View File

@ -1,90 +0,0 @@
# RUN: llvm-mc --disassemble %s -triple=mips64el-unknown-linux -mattr +mips64r2 | FileCheck %s
# CHECK: daddiu $11, $26, 31949
0xcd 0x7c 0x4b 0x67
# CHECK: daddu $26, $1, $11
0x2d 0xd0 0x2b 0x00
# CHECK: ddiv $zero, $26, $22
0x1e 0x00 0x56 0x03
# CHECK: ddivu $zero, $9, $24
0x1f 0x00 0x38 0x01
# CHECK: dmfc1 $2, $f14
0x00 0x70 0x22 0x44
# CHECK: dmtc1 $23, $f5
0x00 0x28 0xb7 0x44
# CHECK: dmult $11, $26
0x1c 0x00 0x7a 0x01
# CHECK: dmultu $23, $13
0x1d 0x00 0xed 0x02
# CHECK: dsll $3, $24, 17
0x78 0x1c 0x18 0x00
# CHECK: dsllv $gp, $27, $24
0x14 0xe0 0x1b 0x03
# CHECK: dsra $1, $1, 30
0xbb 0x0f 0x01 0x00
# CHECK: dsrav $1, $1, $fp
0x17 0x08 0xc1 0x03
# CHECK: dsrl $10, $gp, 24
0x3a 0x56 0x1c 0x00
# CHECK: dsrlv $gp, $10, $23
0x16 0xe0 0xea 0x02
# CHECK: dsubu $gp, $27, $24
0x2f 0xe0 0x78 0x03
# CHECK: lw $27, -15155($1)
0xcd 0xc4 0x3b 0x8c
# CHECK: lui $1, 1
0x01 0x00 0x01 0x3c
# CHECK: lwu $3, -1746($3)
0x2e 0xf9 0x63 0x9c
# CHECK: lui $ra, 1
0x01 0x00 0x1f 0x3c
# CHECK: sw $26, -15159($1)
0xc9 0xc4 0x3a 0xac
# CHECK: ld $26, 3958($zero)
0x76 0x0f 0x1a 0xdc
# CHECK: sd $6, 17767($zero)
0x67 0x45 0x06 0xfc
# CHECK: dclo $9, $24
0x25 0x48 0x09 0x73
# CHECK: dclz $26, $9
0x24 0xd0 0x3a 0x71
# CHECK: dext $7, $gp, 29, 31
0x43 0xf7 0x87 0x7f
# CHECK: dins $20, $gp, 15, 1
0xc7 0x7b 0x94 0x7f
# CHECK: dsbh $7, $gp
0xa4 0x38 0x1c 0x7c
# CHECK: dshd $3, $14
0x64 0x19 0x0e 0x7c
# CHECK: drotr $20, $27, 6
0xba 0xa1 0x3b 0x00
# CHECK: drotrv $24, $23, $5
0x56 0xc0 0xb7 0x00