1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | \
3 # Check that the assembler can handle the documented syntax
4 # for ".set at" and set the correct value.
9 # CHECK: addu $1, $1, $2
15 # CHECK: addu $2, $2, $1
21 # CHECK: addu $3, $3, $1
27 # CHECK: addu $4, $4, $1
33 # CHECK: addu $5, $5, $1
39 # CHECK: addu $6, $6, $1
45 # CHECK: addu $7, $7, $1
51 # CHECK: addu $8, $8, $1
57 # CHECK: addu $9, $9, $1
63 # CHECK: addu $10, $10, $1
64 # CHECK: lw $1, 0($10)
69 # CHECK: addu $11, $11, $1
70 # CHECK: lw $1, 0($11)
75 # CHECK: addu $12, $12, $1
76 # CHECK: lw $1, 0($12)
81 # CHECK: addu $13, $13, $1
82 # CHECK: lw $1, 0($13)
87 # CHECK: addu $14, $14, $1
88 # CHECK: lw $1, 0($14)
93 # CHECK: addu $15, $15, $1
94 # CHECK: lw $1, 0($15)
99 # CHECK: addu $16, $16, $1
100 # CHECK: lw $1, 0($16)
105 # CHECK: addu $17, $17, $1
106 # CHECK: lw $1, 0($17)
111 # CHECK: addu $18, $18, $1
112 # CHECK: lw $1, 0($18)
117 # CHECK: addu $19, $19, $1
118 # CHECK: lw $1, 0($19)
123 # CHECK: addu $20, $20, $1
124 # CHECK: lw $1, 0($20)
129 # CHECK: addu $21, $21, $1
130 # CHECK: lw $1, 0($21)
135 # CHECK: addu $22, $22, $1
136 # CHECK: lw $1, 0($22)
141 # CHECK: addu $23, $23, $1
142 # CHECK: lw $1, 0($23)
147 # CHECK: addu $24, $24, $1
148 # CHECK: lw $1, 0($24)
153 # CHECK: addu $25, $25, $1
154 # CHECK: lw $1, 0($25)
159 # CHECK: addu $26, $26, $1
160 # CHECK: lw $1, 0($26)
165 # CHECK: addu $27, $27, $1
166 # CHECK: lw $1, 0($27)
171 # CHECK: addu $gp, $gp, $1
172 # CHECK: lw $1, 0($gp)
177 # CHECK: addu $fp, $fp, $1
178 # CHECK: lw $1, 0($fp)
183 # CHECK: addu $sp, $sp, $1
184 # CHECK: lw $1, 0($sp)
189 # CHECK: addu $ra, $ra, $1
190 # CHECK: lw $1, 0($ra)