1 // RUN
: llvm-mc
-triple aarch64-
-none-eabi
-filetype obj
< %s
-o
- | llvm-objdump
-d
- | FileCheck
%s
3 onepart_before
= 0x1234
4 twopart_before
= 0x12345678
5 threepart_before
= 0x1234567890AB
6 fourpart_before
= 0x1234567890ABCDEF
8 // CHECK
: mov x0
, #1311673391471656960
9 // CHECK
: mov x0
, #1311673391471656960
10 movz x0
, #:abs_g3:fourpart_before
11 movz x0
, #:abs_g3:fourpart_after
12 // CHECK
: mov x0
, #20014547599360
13 // CHECK
: mov x0
, #20014547599360
14 movz x0
, #:abs_g2:threepart_before
15 movz x0
, #:abs_g2:threepart_after
16 // CHECK
: movk x0
, #22136, lsl #32
17 // CHECK
: movk x0
, #22136, lsl #32
18 movk x0
, #:abs_g2_nc:fourpart_before
19 movk x0
, #:abs_g2_nc:fourpart_after
20 // CHECK
: mov x0
, #305397760
21 // CHECK
: mov x0
, #305397760
22 movz x0
, #:abs_g1:twopart_before
23 movz x0
, #:abs_g1:twopart_after
24 // CHECK
: movk x0
, #37035, lsl #16
25 // CHECK
: movk x0
, #37035, lsl #16
26 movk x0
, #:abs_g1_nc:fourpart_before
27 movk x0
, #:abs_g1_nc:fourpart_after
28 // CHECK
: mov x0
, #4660
29 // CHECK
: mov x0
, #4660
30 movz x0
, #:abs_g0:onepart_before
31 movz x0
, #:abs_g0:onepart_after
32 // CHECK
: movk x0
, #52719
33 // CHECK
: movk x0
, #52719
34 movk x0
, #:abs_g0_nc:fourpart_before
35 movk x0
, #:abs_g0_nc:fourpart_after
37 onepart_after
= 0x1234
38 twopart_after
= 0x12345678
39 threepart_after
= 0x1234567890AB
40 fourpart_after
= 0x1234567890ABCDEF