1 @ PR18921
, "vmov" part.
2 @ RUN
: llvm-mc
-triple
=armv7-linux-gnueabi
-show-encoding
< %s | FileCheck
%s
4 vmov.i64 d2
, #0xffffffffffffffff
5 vmov.i64 q2
, #0xffffffffffffffff
6 vmov.i32 d2
, #0xffffffff
7 vmov.i32 q2
, #0xffffffff
8 vmov.i64 d2
, #0xabababababababab
9 vmov.i64 q2
, #0xabababababababab
10 vmov.i32 d2
, #0xabababab
11 vmov.i32 q2
, #0xabababab
15 @ CHECK
: vmov.i64 d2
, #0xffffffffffffffff @ encoding: [0x3f,0x2e,0x87,0xf3]
16 @ CHECK
: vmov.i64 q2
, #0xffffffffffffffff @ encoding: [0x7f,0x4e,0x87,0xf3]
17 @ CHECK
: vmov.i8 d2
, #0xff @ encoding: [0x1f,0x2e,0x87,0xf3]
18 @ CHECK
: vmov.i8 q2
, #0xff @ encoding: [0x5f,0x4e,0x87,0xf3]
19 @ CHECK
: vmov.i8 d2
, #0xab @ encoding: [0x1b,0x2e,0x82,0xf3]
20 @ CHECK
: vmov.i8 q2
, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3]
21 @ CHECK
: vmov.i8 d2
, #0xab @ encoding: [0x1b,0x2e,0x82,0xf3]
22 @ CHECK
: vmov.i8 q2
, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3]
23 @ CHECK
: vmov.i8 q2
, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3]
24 @ CHECK
: vmov.i8 q2
, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3]
26 vmov.i64 d2
, #0xff00ff00ff00ff00
27 vmov.i64 q2
, #0xff00ff00ff00ff00
28 vmov.i64 d2
, #0x00a500a500a500a5
29 vmov.i64 q2
, #0x00a500a500a500a5
30 vmov.i32 d2
, #0x00a500a5
31 vmov.i32 q2
, #0x00a500a5
32 vmov.i64 d2
, #0xa500a500a500a500
33 vmov.i64 q2
, #0xa500a500a500a500
34 vmov.i32 d2
, #0xa500a500
35 vmov.i32 q2
, #0xa500a500
37 @ CHECK
: vmov.i64 d2
, #0xff00ff00ff00ff00 @ encoding: [0x3a,0x2e,0x82,0xf3]
38 @ CHECK
: vmov.i64 q2
, #0xff00ff00ff00ff00 @ encoding: [0x7a,0x4e,0x82,0xf3]
39 @ CHECK
: vmov.i16 d2
, #0xa5 @ encoding: [0x15,0x28,0x82,0xf3]
40 @ CHECK
: vmov.i16 q2
, #0xa5 @ encoding: [0x55,0x48,0x82,0xf3]
41 @ CHECK
: vmov.i16 d2
, #0xa5 @ encoding: [0x15,0x28,0x82,0xf3]
42 @ CHECK
: vmov.i16 q2
, #0xa5 @ encoding: [0x55,0x48,0x82,0xf3]
43 @ CHECK
: vmov.i16 d2
, #0xa500 @ encoding: [0x15,0x2a,0x82,0xf3]
44 @ CHECK
: vmov.i16 q2
, #0xa500 @ encoding: [0x55,0x4a,0x82,0xf3]
45 @ CHECK
: vmov.i16 d2
, #0xa500 @ encoding: [0x15,0x2a,0x82,0xf3]
46 @ CHECK
: vmov.i16 q2
, #0xa500 @ encoding: [0x55,0x4a,0x82,0xf3]
48 vmov.i64 d2
, #0x000000a5000000a5
49 vmov.i64 q2
, #0x000000a5000000a5
50 vmov.i64 d2
, #0x00a5ffff00a5ffff
51 vmov.i64 q2
, #0x00a5ffff00a5ffff
53 @ CHECK
: vmov.i32 d2
, #0xa5 @ encoding: [0x15,0x20,0x82,0xf3]
54 @ CHECK
: vmov.i32 q2
, #0xa5 @ encoding: [0x55,0x40,0x82,0xf3]
55 @ CHECK
: vmov.i32 d2
, #0xa5ffff @ encoding: [0x15,0x2d,0x82,0xf3]
56 @ CHECK
: vmov.i32 q2
, #0xa5ffff @ encoding: [0x55,0x4d,0x82,0xf3]
58 vmvn.i64 d2
, #0xffffffffffffffff
59 vmvn.i64 q2
, #0xffffffffffffffff
60 vmvn.i32 d2
, #0xffffffff
61 vmvn.i32 q2
, #0xffffffff
62 vmvn.i64 d2
, #0xabababababababab
63 vmvn.i64 q2
, #0xabababababababab
64 vmvn.i32 d2
, #0xabababab
65 vmvn.i32 q2
, #0xabababab
69 @ CHECK
: vmov.i8 d2
, #0x0 @ encoding: [0x10,0x2e,0x80,0xf2]
70 @ CHECK
: vmov.i8 q2
, #0x0 @ encoding: [0x50,0x4e,0x80,0xf2]
71 @ CHECK
: vmov.i8 d2
, #0x0 @ encoding: [0x10,0x2e,0x80,0xf2]
72 @ CHECK
: vmov.i8 q2
, #0x0 @ encoding: [0x50,0x4e,0x80,0xf2]
73 @ CHECK
: vmov.i8 d2
, #0x54 @ encoding: [0x14,0x2e,0x85,0xf2]
74 @ CHECK
: vmov.i8 q2
, #0x54 @ encoding: [0x54,0x4e,0x85,0xf2]
75 @ CHECK
: vmov.i8 d2
, #0x54 @ encoding: [0x14,0x2e,0x85,0xf2]
76 @ CHECK
: vmov.i8 q2
, #0x54 @ encoding: [0x54,0x4e,0x85,0xf2]
77 @ CHECK
: vmov.i8 d2
, #0x54 @ encoding: [0x14,0x2e,0x85,0xf2]
78 @ CHECK
: vmov.i8 q2
, #0x54 @ encoding: [0x54,0x4e,0x85,0xf2]
80 vmvn.i64 d2
, #0x00a500a500a500a5
81 vmvn.i64 q2
, #0x00a500a500a500a5
82 vmvn.i32 d2
, #0x00a500a5
83 vmvn.i32 q2
, #0x00a500a5
84 vmvn.i64 d2
, #0xa500a500a500a500
85 vmvn.i64 q2
, #0xa500a500a500a500
86 vmvn.i32 d2
, #0xa500a500
87 vmvn.i32 q2
, #0xa500a500
89 @ CHECK
: vmvn.i16 d2
, #0xa5 @ encoding: [0x35,0x28,0x82,0xf3]
90 @ CHECK
: vmvn.i16 q2
, #0xa5 @ encoding: [0x75,0x48,0x82,0xf3]
91 @ CHECK
: vmvn.i16 d2
, #0xa5 @ encoding: [0x35,0x28,0x82,0xf3]
92 @ CHECK
: vmvn.i16 q2
, #0xa5 @ encoding: [0x75,0x48,0x82,0xf3]
93 @ CHECK
: vmvn.i16 d2
, #0xa500 @ encoding: [0x35,0x2a,0x82,0xf3]
94 @ CHECK
: vmvn.i16 q2
, #0xa500 @ encoding: [0x75,0x4a,0x82,0xf3]
95 @ CHECK
: vmvn.i16 d2
, #0xa500 @ encoding: [0x35,0x2a,0x82,0xf3]
96 @ CHECK
: vmvn.i16 q2
, #0xa500 @ encoding: [0x75,0x4a,0x82,0xf3]
98 vmvn.i64 d2
, #0x000000a5000000a5
99 vmvn.i64 q2
, #0x000000a5000000a5
100 vmvn.i64 d2
, #0x00a5ffff00a5ffff
101 vmvn.i64 q2
, #0x00a5ffff00a5ffff
103 @ CHECK
: vmvn.i32 d2
, #0xa5 @ encoding: [0x35,0x20,0x82,0xf3]
104 @ CHECK
: vmvn.i32 q2
, #0xa5 @ encoding: [0x75,0x40,0x82,0xf3]
105 @ CHECK
: vmvn.i32 d2
, #0xa5ffff @ encoding: [0x35,0x2d,0x82,0xf3]
106 @ CHECK
: vmvn.i32 q2
, #0xa5ffff @ encoding: [0x75,0x4d,0x82,0xf3]