Lines Matching +full:- +full:6

1 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 | \
3 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 | \
5 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 -target-abi=n32 | \
7 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 -target-abi=n32 | \
16 la $5, 0xffffffff # CHECK: addiu $5, $zero, -1 # encoding: [0x24,0x05,0xff,0xff]
17 la $5, 0xfffffffe # CHECK: addiu $5, $zero, -2 # encoding: [0x24,0x05,0xff,0xfe]
18 la $5, 0xffffc000 # CHECK: addiu $5, $zero, -16384 # encoding: [0x24,0x05,0xc0,0x00]
19 la $5, 0xffff8000 # CHECK: addiu $5, $zero, -32768 # encoding: [0x24,0x05,0x80,0x00]
71 la $5, 0x00000001($6) # CHECK: addiu $5, $6, 1 # encoding: [0x24,0xc5,0x00,0x01]
72 la $5, 0x00000002($6) # CHECK: addiu $5, $6, 2 # encoding: [0x24,0xc5,0x00,0x02]
73 la $5, 0x00004000($6) # CHECK: addiu $5, $6, 16384 # encoding: [0x24,0xc5,0x40,0x00]
74 la $5, 0x00008000($6) # CHECK: ori $5, $zero, 32768 # encoding: [0x34,0x05,0x80,0x00]
75 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
76 la $5, 0xffffffff($6) # CHECK: addiu $5, $6, -1 # encoding: [0x24,0xc5,0xff,0xff]
77 la $5, 0xfffffffe($6) # CHECK: addiu $5, $6, -2 # encoding: [0x24,0xc5,0xff,0xfe]
78 la $5, 0xffffc000($6) # CHECK: addiu $5, $6, -16384 # encoding: [0x24,0xc5,0xc0,0x00]
79 la $5, 0xffff8000($6) # CHECK: addiu $5, $6, -32768 # encoding: [0x24,0xc5,0x80,0x00]
81 la $5, 0x00010000($6) # CHECK: lui $5, 1 # encoding: [0x3c,0x05,0x00,0x01]
82 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
83 la $5, 0x00020000($6) # CHECK: lui $5, 2 # encoding: [0x3c,0x05,0x00,0x02]
84 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
85 la $5, 0x40000000($6) # CHECK: lui $5, 16384 # encoding: [0x3c,0x05,0x40,0x00]
86 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
87 la $5, 0x80000000($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
88 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
89 la $5, 0xffff0000($6) # CHECK: lui $5, 65535 # encoding: [0x3c,0x05,0xff,0xff]
90 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
91 la $5, 0xfffe0000($6) # CHECK: lui $5, 65534 # encoding: [0x3c,0x05,0xff,0xfe]
92 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
93 la $5, 0xc0000000($6) # CHECK: lui $5, 49152 # encoding: [0x3c,0x05,0xc0,0x00]
94 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
95 la $5, 0x80000000($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
96 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
98 la $5, 0x00010001($6) # CHECK: lui $5, 1 # encoding: [0x3c,0x05,0x00,0x01]
100 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
101 la $5, 0x00020001($6) # CHECK: lui $5, 2 # encoding: [0x3c,0x05,0x00,0x02]
103 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
104 la $5, 0x40000001($6) # CHECK: lui $5, 16384 # encoding: [0x3c,0x05,0x40,0x00]
106 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
107 la $5, 0x80000001($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
109 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
110 la $5, 0x00010002($6) # CHECK: lui $5, 1 # encoding: [0x3c,0x05,0x00,0x01]
112 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
113 la $5, 0x00020002($6) # CHECK: lui $5, 2 # encoding: [0x3c,0x05,0x00,0x02]
115 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
116 la $5, 0x40000002($6) # CHECK: lui $5, 16384 # encoding: [0x3c,0x05,0x40,0x00]
118 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
119 la $5, 0x80000002($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
121 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
122 la $5, 0x00014000($6) # CHECK: lui $5, 1 # encoding: [0x3c,0x05,0x00,0x01]
124 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
125 la $5, 0x00024000($6) # CHECK: lui $5, 2 # encoding: [0x3c,0x05,0x00,0x02]
127 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
128 la $5, 0x40004000($6) # CHECK: lui $5, 16384 # encoding: [0x3c,0x05,0x40,0x00]
130 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
131 la $5, 0x80004000($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
133 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
134 la $5, 0x00018000($6) # CHECK: lui $5, 1 # encoding: [0x3c,0x05,0x00,0x01]
136 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
137 la $5, 0x00028000($6) # CHECK: lui $5, 2 # encoding: [0x3c,0x05,0x00,0x02]
139 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
140 la $5, 0x40008000($6) # CHECK: lui $5, 16384 # encoding: [0x3c,0x05,0x40,0x00]
142 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
143 la $5, 0x80008000($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
145 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
146 la $5, 0xffff4000($6) # CHECK: lui $5, 65535 # encoding: [0x3c,0x05,0xff,0xff]
148 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
149 la $5, 0xfffe8000($6) # CHECK: lui $5, 65534 # encoding: [0x3c,0x05,0xff,0xfe]
151 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
152 la $5, 0xc0008000($6) # CHECK: lui $5, 49152 # encoding: [0x3c,0x05,0xc0,0x00]
154 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
155 la $5, 0x80008000($6) # CHECK: lui $5, 32768 # encoding: [0x3c,0x05,0x80,0x00]
157 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
159 la $6, 0x00000001($6) # CHECK: addiu $6, $6, 1 # encoding: [0x24,0xc6,0x00,0x01]
160 la $6, 0x00000002($6) # CHECK: addiu $6, $6, 2 # encoding: [0x24,0xc6,0x00,0x02]
161 la $6, 0x00004000($6) # CHECK: addiu $6, $6, 16384 # encoding: [0x24,0xc6,0x40,0x00]
162 la $6, 0x00008000($6) # CHECK: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00]
163 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
164 la $6, 0xffffffff($6) # CHECK: addiu $6, $6, -1 # encoding: [0x24,0xc6,0xff,0xff]
165 la $6, 0xfffffffe($6) # CHECK: addiu $6, $6, -2 # encoding: [0x24,0xc6,0xff,0xfe]
166 la $6, 0xffffc000($6) # CHECK: addiu $6, $6, -16384 # encoding: [0x24,0xc6,0xc0,0x00]
167 la $6, 0xffff8000($6) # CHECK: addiu $6, $6, -32768 # encoding: [0x24,0xc6,0x80,0x00]
169 la $6, 0x00010000($6) # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
170 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
171 la $6, 0x00020000($6) # CHECK: lui $1, 2 # encoding: [0x3c,0x01,0x00,0x02]
172 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
173 la $6, 0x40000000($6) # CHECK: lui $1, 16384 # encoding: [0x3c,0x01,0x40,0x00]
174 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
175 la $6, 0x80000000($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
176 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
177 la $6, 0xffff0000($6) # CHECK: lui $1, 65535 # encoding: [0x3c,0x01,0xff,0xff]
178 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
179 la $6, 0xfffe0000($6) # CHECK: lui $1, 65534 # encoding: [0x3c,0x01,0xff,0xfe]
180 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
181 la $6, 0xc0000000($6) # CHECK: lui $1, 49152 # encoding: [0x3c,0x01,0xc0,0x00]
182 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
183 la $6, 0x80000000($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
184 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
186 la $6, 0x00010001($6) # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
188 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
189 la $6, 0x00020001($6) # CHECK: lui $1, 2 # encoding: [0x3c,0x01,0x00,0x02]
191 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
192 la $6, 0x40000001($6) # CHECK: lui $1, 16384 # encoding: [0x3c,0x01,0x40,0x00]
194 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
195 la $6, 0x80000001($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
197 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
198 la $6, 0x00010002($6) # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
200 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
201 la $6, 0x00020002($6) # CHECK: lui $1, 2 # encoding: [0x3c,0x01,0x00,0x02]
203 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
204 la $6, 0x40000002($6) # CHECK: lui $1, 16384 # encoding: [0x3c,0x01,0x40,0x00]
206 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
207 la $6, 0x80000002($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
209 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
210 la $6, 0x00014000($6) # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
212 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
213 la $6, 0x00024000($6) # CHECK: lui $1, 2 # encoding: [0x3c,0x01,0x00,0x02]
215 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
216 la $6, 0x40004000($6) # CHECK: lui $1, 16384 # encoding: [0x3c,0x01,0x40,0x00]
218 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
219 la $6, 0x80004000($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
221 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
222 la $6, 0x00018000($6) # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
224 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
225 la $6, 0x00028000($6) # CHECK: lui $1, 2 # encoding: [0x3c,0x01,0x00,0x02]
227 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
228 la $6, 0x40008000($6) # CHECK: lui $1, 16384 # encoding: [0x3c,0x01,0x40,0x00]
230 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
231 la $6, 0x80008000($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
233 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
234 la $6, 0xffff4000($6) # CHECK: lui $1, 65535 # encoding: [0x3c,0x01,0xff,0xff]
236 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
237 la $6, 0xfffe8000($6) # CHECK: lui $1, 65534 # encoding: [0x3c,0x01,0xff,0xfe]
239 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
240 la $6, 0xc0008000($6) # CHECK: lui $1, 49152 # encoding: [0x3c,0x01,0xc0,0x00]
242 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
243 la $6, 0x80008000($6) # CHECK: lui $1, 32768 # encoding: [0x3c,0x01,0x80,0x00]
245 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
248 …# CHECK: # fixup A - offset: 0, value: %hi(symbol), kind: fixup_Mips_H…
250 …# CHECK: # fixup A - offset: 0, value: %lo(symbol), kind: fixup_Mips_L…
251 la $5, symbol($6) # CHECK: lui $5, %hi(symbol) # encoding: [0x3c,0x05,A,A]
252 …# CHECK: # fixup A - offset: 0, value: %hi(symbol), kind: fixup_Mips_H…
254 …# CHECK: # fixup A - offset: 0, value: %lo(symbol), kind: fixup_Mips_L…
255 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
256 la $6, symbol($6) # CHECK: lui $1, %hi(symbol) # encoding: [0x3c,0x01,A,A]
257 …# CHECK: # fixup A - offset: 0, value: %hi(symbol), kind: fixup_Mips_H…
259 …# CHECK: # fixup A - offset: 0, value: %lo(symbol), kind: fixup_Mips_L…
260 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
262 …# CHECK: # fixup A - offset: 0, value: %hi(symbol+8), kind: fixup_Mi…
264 …# CHECK: # fixup A - offset: 0, value: %lo(symbol+8), kind: fixup_Mi…
265 la $5, symbol+8($6) # CHECK: lui $5, %hi(symbol+8) # encoding: [0x3c,0x05,A,A]
266 …# CHECK: # fixup A - offset: 0, value: %hi(symbol+8), kind: fixup_Mi…
268 …# CHECK: # fixup A - offset: 0, value: %lo(symbol+8), kind: fixup_Mi…
269 # CHECK: addu $5, $5, $6 # encoding: [0x00,0xa6,0x28,0x21]
270 la $6, symbol+8($6) # CHECK: lui $1, %hi(symbol+8) # encoding: [0x3c,0x01,A,A]
271 …# CHECK: # fixup A - offset: 0, value: %hi(symbol+8), kind: fixup_Mi…
273 …# CHECK: # fixup A - offset: 0, value: %lo(symbol+8), kind: fixup_Mi…
274 # CHECK: addu $6, $1, $6 # encoding: [0x00,0x26,0x30,0x21]
276 …# CHECK: # fixup A - offset: 0, value: %hi($tmp0), kind: fixup_Mips_…
278 …# CHECK: # fixup A - offset: 0, value: %lo($tmp0), kind: fixup_Mips_…