1 // RUN
: llvm-mc
-triple aarch64-
-none-eabi
-filetype obj
< %s
-o
- | llvm-objdump
-d
- | FileCheck
%s
4 twopart_before
= -12345678
5 threepart_before
= -1234567890
7 // CHECK
: movn x0
, #0, lsl #32
8 // CHECK
: movn x0
, #0, lsl #32
9 movz x0
, #:abs_g2_s:threepart_before
10 movz x0
, #:abs_g2_s:threepart_after
12 // CHECK
: movk x0
, #65535, lsl #32
13 // CHECK
: movk x0
, #65535, lsl #32
14 movk x0
, #:abs_g2_nc:threepart_before
15 movk x0
, #:abs_g2_nc:threepart_after
17 // CHECK
: mov x0
, #-12320769
18 // CHECK
: mov x0
, #-12320769
19 movz x0
, #:abs_g1_s:twopart_before
20 movz x0
, #:abs_g1_s:twopart_after
22 // CHECK
: movk x0
, #46697, lsl #16
23 // CHECK
: movk x0
, #46697, lsl #16
24 movk x0
, #:abs_g1_nc:threepart_before
25 movk x0
, #:abs_g1_nc:threepart_after
27 // CHECK
: mov x0
, #12345
28 // CHECK
: mov x0
, #12345
29 movz x0
, #:abs_g0_s:onepart_before
30 movz x0
, #:abs_g0_s:onepart_after
32 // CHECK
: movk x0
, #64814
33 // CHECK
: movk x0
, #64814
34 movk x0
, #:abs_g0_nc:threepart_before
35 movk x0
, #:abs_g0_nc:threepart_after
37 // CHECK
: mov x0
, #12345
38 // CHECK
: mov x0
, #12345
39 movn x0
, #:abs_g0_s:onepart_before
40 movn x0
, #:abs_g0_s:onepart_after
43 twopart_after
= -12345678
44 threepart_after
= -1234567890