1 # RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mattr=micromips \
4 # CHECK: add $9, $6, $7
7 # CHECK: addi $9, $6, 17767
10 # CHECK: addiu $9, $6, -15001
13 # CHECK: addi $9, $6, 17767
16 # CHECK: addiu $9, $6, -15001
19 # CHECK: addu $9, $6, $7
22 # CHECK: sub $9, $6, $7
25 # CHECK: subu $4, $3, $5
28 # CHECK: sub $6, $zero, $7
31 # CHECK: subu $6, $zero, $7
34 # CHECK: addu $7, $8, $zero
37 # CHECK: slt $3, $3, $5
40 # CHECK: slti $3, $3, 103
43 # CHECK: slti $3, $3, 103
46 # CHECK: sltiu $3, $3, 103
49 # CHECK: sltu $3, $3, $5
52 # CHECK: lui $9, 17767
55 # CHECK: and $9, $6, $7
58 # CHECK: andi $9, $6, 17767
61 # CHECK: andi $9, $6, 17767
64 # CHECK: or $3, $4, $5
67 # CHECK: ori $9, $6, 17767
70 # CHECK: xor $3, $3, $5
73 # CHECK: xori $9, $6, 17767
76 # CHECK: xori $9, $6, 17767
79 # CHECK: nor $9, $6, $7
85 # CHECK: mul $9, $6, $7
94 # CHECK-EB: div $zero, $9, $7
97 # CHECK-EB: divu $zero, $9, $7
100 # CHECK: sll $4, $3, 7
103 # CHECK: sllv $2, $3, $5
106 # CHECK: sra $4, $3, 7
109 # CHECK: srav $2, $3, $5
112 # CHECK: srl $4, $3, 7
115 # CHECK: srlv $2, $3, $5
118 # CHECK: rotr $9, $6, 7
121 # CHECK: rotrv $9, $6, $7
124 # CHECK: lb $5, 8($4)
127 # CHECK: lbu $6, 8($4)
130 # CHECK: lh $2, 8($4)
133 # CHECK: lhu $4, 8($2)
136 # CHECK: lw $6, 4($5)
139 # CHECK: sb $5, 8($4)
142 # CHECK: sh $2, 8($4)
145 # CHECK: sw $5, 4($6)
148 # CHECK: lwl $4, 16($5)
151 # CHECK: lwr $4, 16($5)
154 # CHECK: swl $4, 16($5)
157 # CHECK: swr $4, 16($5)
160 # CHECK: movz $9, $6, $7
163 # CHECK: movn $9, $6, $7
166 # CHECK: movt $9, $6, $fcc0
169 # CHECK: movf $9, $6, $fcc0
187 # CHECK: maddu $4, $5
193 # CHECK: msubu $4, $5
211 # CHECK: ext $9, $6, 3, 7
214 # CHECK: ins $9, $6, 3, 7