Lines Matching +full:- +full:3
2 ; RUN: llc -verify-machineinstrs -mcpu=ppc64 < %s | FileCheck %s
3 target datalayout = "E-m:e-i64:64-n32:64"
4 target triple = "powerpc64-unknown-linux-gnu"
8 ; CHECK-LABEL: cn1:
10 ; CHECK-NEXT: lis 3, -1
11 ; CHECK-NEXT: rldicr 3, 3, 48, 63
12 ; CHECK-NEXT: blr
20 ; CHECK-LABEL: cnb:
22 ; CHECK-NEXT: lis 3, -81
23 ; CHECK-NEXT: rldicr 3, 3, 48, 63
24 ; CHECK-NEXT: blr
32 ; CHECK-LABEL: f2:
34 ; CHECK-NEXT: li 3, -1
35 ; CHECK-NEXT: sldi 3, 3, 36
36 ; CHECK-NEXT: blr
38 ret i64 -68719476736
44 ; CHECK-LABEL: f2a:
46 ; CHECK-NEXT: li 3, -337
47 ; CHECK-NEXT: sldi 3, 3, 30
48 ; CHECK-NEXT: blr
50 ret i64 -361850994688
56 ; CHECK-LABEL: f2n:
58 ; CHECK-NEXT: lis 3, -4096
59 ; CHECK-NEXT: rldicr 3, 3, 36, 63
60 ; CHECK-NEXT: blr
68 ; CHECK-LABEL: f3:
70 ; CHECK-NEXT: lis 3, -32768
71 ; CHECK-NEXT: rldicr 3, 3, 33, 63
72 ; CHECK-NEXT: blr
80 ; CHECK-LABEL: cn2n:
82 ; CHECK-NEXT: lis 3, -5121
83 ; CHECK-NEXT: ori 3, 3, 65534
84 ; CHECK-NEXT: rldicr 3, 3, 22, 63
85 ; CHECK-NEXT: blr
87 ret i64 -1407374887747585
92 ; CHECK-LABEL: uint32_1:
94 ; CHECK-NEXT: lis 3, 232
95 ; CHECK-NEXT: ori 3, 3, 30023
96 ; CHECK-NEXT: sldi 3, 3, 8
97 ; CHECK-NEXT: blr
104 ; CHECK-LABEL: uint32_1_i32:
106 ; CHECK-NEXT: lis 3, 232
107 ; CHECK-NEXT: ori 3, 3, 30023
108 ; CHECK-NEXT: sldi 3, 3, 8
109 ; CHECK-NEXT: blr
111 ret i32 -394967296
116 ; CHECK-LABEL: uint32_2:
118 ; CHECK-NEXT: li 3, 0
119 ; CHECK-NEXT: oris 3, 3, 65535
120 ; CHECK-NEXT: ori 3, 3, 65535
121 ; CHECK-NEXT: blr
128 ; CHECK-LABEL: uint32_2_i32:
130 ; CHECK-NEXT: li 3, 0
131 ; CHECK-NEXT: oris 3, 3, 65535
132 ; CHECK-NEXT: ori 3, 3, 65535
133 ; CHECK-NEXT: blr
135 ret i32 -1
140 ; CHECK-LABEL: uint32_3:
142 ; CHECK-NEXT: li 3, 1
143 ; CHECK-NEXT: sldi 3, 3, 31
144 ; CHECK-NEXT: blr
151 ; CHECK-LABEL: uint32_4:
153 ; CHECK-NEXT: li 3, 29
154 ; CHECK-NEXT: sldi 3, 3, 32
155 ; CHECK-NEXT: oris 3, 3, 3752
156 ; CHECK-NEXT: ori 3, 3, 57376
157 ; CHECK-NEXT: blr
164 ; CHECK-LABEL: cn_ones_1:
166 ; CHECK-NEXT: li 3, 2
167 ; CHECK-NEXT: sldi 3, 3, 32
168 ; CHECK-NEXT: oris 3, 3, 28543
169 ; CHECK-NEXT: ori 3, 3, 65535
170 ; CHECK-NEXT: blr
177 ; CHECK-LABEL: cn_ones_2:
179 ; CHECK-NEXT: li 3, 2
180 ; CHECK-NEXT: sldi 3, 3, 32
181 ; CHECK-NEXT: oris 3, 3, 28521
182 ; CHECK-NEXT: ori 3, 3, 32767
183 ; CHECK-NEXT: blr
190 ; CHECK-LABEL: imm1:
192 ; CHECK-NEXT: li 3, 8465
193 ; CHECK-NEXT: sldi 3, 3, 28
194 ; CHECK-NEXT: blr
200 ; CHECK-LABEL: imm2:
202 ; CHECK-NEXT: li 3, 0
203 ; CHECK-NEXT: oris 3, 3, 65535
204 ; CHECK-NEXT: ori 3, 3, 8465
205 ; CHECK-NEXT: blr
211 ; CHECK-LABEL: imm3:
213 ; CHECK-NEXT: li 3, 0
214 ; CHECK-NEXT: oris 3, 3, 65535
215 ; CHECK-NEXT: ori 3, 3, 33041
216 ; CHECK-NEXT: blr
222 ; CHECK-LABEL: imm4:
224 ; CHECK-NEXT: lis 3, 33
225 ; CHECK-NEXT: ori 3, 3, 4352
226 ; CHECK-NEXT: rldimi 3, 3, 32, 0
227 ; CHECK-NEXT: blr
233 ; CHECK-LABEL: imm5:
235 ; CHECK-NEXT: li 3, 28685
236 ; CHECK-NEXT: rldicr 3, 3, 52, 63
237 ; CHECK-NEXT: blr
243 ; CHECK-LABEL: imm6:
245 ; CHECK-NEXT: lis 3, -1
246 ; CHECK-NEXT: ori 3, 3, 28674
247 ; CHECK-NEXT: rldicr 3, 3, 52, 63
248 ; CHECK-NEXT: blr
254 ; CHECK-LABEL: imm7:
256 ; CHECK-NEXT: li 3, 0
257 ; CHECK-NEXT: ori 3, 3, 61713
258 ; CHECK-NEXT: sldi 3, 3, 28
259 ; CHECK-NEXT: blr
265 ; CHECK-LABEL: imm8:
267 ; CHECK-NEXT: lis 3, 15
268 ; CHECK-NEXT: ori 3, 3, 57617
269 ; CHECK-NEXT: sldi 3, 3, 22
270 ; CHECK-NEXT: blr
276 ; CHECK-LABEL: imm9:
278 ; CHECK-NEXT: lis 3, -1
279 ; CHECK-NEXT: ori 3, 3, 28674
280 ; CHECK-NEXT: rldicr 3, 3, 52, 63
281 ; CHECK-NEXT: blr
287 ; CHECK-LABEL: imm10:
289 ; CHECK-NEXT: li 3, 0
290 ; CHECK-NEXT: ori 3, 3, 61713
291 ; CHECK-NEXT: sldi 3, 3, 28
292 ; CHECK-NEXT: blr
298 ; CHECK-LABEL: imm11:
300 ; CHECK-NEXT: lis 3, 15
301 ; CHECK-NEXT: ori 3, 3, 57617
302 ; CHECK-NEXT: sldi 3, 3, 22
303 ; CHECK-NEXT: blr
309 ; CHECK-LABEL: imm12:
311 ; CHECK-NEXT: li 3, 4094
312 ; CHECK-NEXT: sldi 3, 3, 32
313 ; CHECK-NEXT: oris 3, 3, 16324
314 ; CHECK-NEXT: ori 3, 3, 4096
315 ; CHECK-NEXT: blr
321 ; CHECK-LABEL: imm13:
323 ; CHECK-NEXT: li 3, 19
324 ; CHECK-NEXT: sldi 3, 3, 32
325 ; CHECK-NEXT: oris 3, 3, 56895
326 ; CHECK-NEXT: ori 3, 3, 65535
327 ; CHECK-NEXT: blr
333 ; CHECK-LABEL: imm13_2:
335 ; CHECK-NEXT: li 3, 51
336 ; CHECK-NEXT: sldi 3, 3, 32
337 ; CHECK-NEXT: oris 3, 3, 56895
338 ; CHECK-NEXT: ori 3, 3, 65535
339 ; CHECK-NEXT: blr
345 ; CHECK-LABEL: imm14:
347 ; CHECK-NEXT: li 3, 254
348 ; CHECK-NEXT: sldi 3, 3, 32
349 ; CHECK-NEXT: oris 3, 3, 4383
350 ; CHECK-NEXT: ori 3, 3, 65535
351 ; CHECK-NEXT: blr
357 ; CHECK-LABEL: imm15:
359 ; CHECK-NEXT: li 3, -8065
360 ; CHECK-NEXT: sldi 3, 3, 24
361 ; CHECK-NEXT: blr
363 ret i64 -135308247040
367 ; CHECK-LABEL: imm16:
369 ; CHECK-NEXT: li 3, -16392
370 ; CHECK-NEXT: sldi 3, 3, 32
371 ; CHECK-NEXT: oris 3, 3, 57217
372 ; CHECK-NEXT: blr
374 ret i64 -70399354142720
378 ; CHECK-LABEL: imm17:
380 ; CHECK-NEXT: lis 3, 158
381 ; CHECK-NEXT: sldi 3, 3, 32
382 ; CHECK-NEXT: ori 3, 3, 40689
383 ; CHECK-NEXT: blr
389 ; CHECK-LABEL: imm18:
391 ; CHECK-NEXT: li 3, 2
392 ; CHECK-NEXT: sldi 3, 3, 32
393 ; CHECK-NEXT: oris 3, 3, 39436
394 ; CHECK-NEXT: ori 3, 3, 61633
395 ; CHECK-NEXT: blr