1 @ RUN
: llvm-mc
-mcpu
=cortex-a8
-triple thumb-unknown-unknown
-show-encoding
< %s | FileCheck
%s
5 @ CHECK
: vsra.s8 d17
, d16
, #8 @ encoding: [0xc8,0xef,0x30,0x11]
7 @ CHECK
: vsra.s16 d17
, d16
, #16 @ encoding: [0xd0,0xef,0x30,0x11]
9 @ CHECK
: vsra.s32 d17
, d16
, #32 @ encoding: [0xe0,0xef,0x30,0x11]
10 vsra.s32 d17
, d16
, #32
11 @ CHECK
: vsra.s64 d17
, d16
, #64 @ encoding: [0xc0,0xef,0xb0,0x11]
12 vsra.s64 d17
, d16
, #64
13 @ CHECK
: vsra.s8 q8
, q9
, #8 @ encoding: [0xc8,0xef,0x72,0x01]
15 @ CHECK
: vsra.s16 q8
, q9
, #16 @ encoding: [0xd0,0xef,0x72,0x01]
17 @ CHECK
: vsra.s32 q8
, q9
, #32 @ encoding: [0xe0,0xef,0x72,0x01]
19 @ CHECK
: vsra.s64 q8
, q9
, #64 @ encoding: [0xc0,0xef,0xf2,0x01]
21 @ CHECK
: vsra.u8 d17
, d16
, #8 @ encoding: [0xc8,0xff,0x30,0x11]
23 @ CHECK
: vsra.u16 d17
, d16
, #16 @ encoding: [0xd0,0xff,0x30,0x11]
24 vsra.u16 d17
, d16
, #16
25 @ CHECK
: vsra.u32 d17
, d16
, #32 @ encoding: [0xe0,0xff,0x30,0x11]
26 vsra.u32 d17
, d16
, #32
27 @ CHECK
: vsra.u64 d17
, d16
, #64 @ encoding: [0xc0,0xff,0xb0,0x11]
28 vsra.u64 d17
, d16
, #64
29 @ CHECK
: vsra.u8 q8
, q9
, #8 @ encoding: [0xc8,0xff,0x72,0x01]
31 @ CHECK
: vsra.u16 q8
, q9
, #16 @ encoding: [0xd0,0xff,0x72,0x01]
33 @ CHECK
: vsra.u32 q8
, q9
, #32 @ encoding: [0xe0,0xff,0x72,0x01]
35 @ CHECK
: vsra.u64 q8
, q9
, #64 @ encoding: [0xc0,0xff,0xf2,0x01]
37 @ CHECK
: vrsra.s8 d17
, d16
, #8 @ encoding: [0xc8,0xef,0x30,0x13]
39 @ CHECK
: vrsra.s16 d17
, d16
, #16 @ encoding: [0xd0,0xef,0x30,0x13]
40 vrsra.s16 d17
, d16
, #16
41 @ CHECK
: vrsra.s32 d17
, d16
, #32 @ encoding: [0xe0,0xef,0x30,0x13]
42 vrsra.s32 d17
, d16
, #32
43 @ CHECK
: vrsra.s64 d17
, d16
, #64 @ encoding: [0xc0,0xef,0xb0,0x13]
44 vrsra.s64 d17
, d16
, #64
45 @ CHECK
: vrsra.u8 d17
, d16
, #8 @ encoding: [0xc8,0xff,0x30,0x13]
47 @ CHECK
: vrsra.u16 d17
, d16
, #16 @ encoding: [0xd0,0xff,0x30,0x13]
48 vrsra.u16 d17
, d16
, #16
49 @ CHECK
: vrsra.u32 d17
, d16
, #32 @ encoding: [0xe0,0xff,0x30,0x13]
50 vrsra.u32 d17
, d16
, #32
51 @ CHECK
: vrsra.u64 d17
, d16
, #64 @ encoding: [0xc0,0xff,0xb0,0x13]
52 vrsra.u64 d17
, d16
, #64
53 @ CHECK
: vrsra.s8 q8
, q9
, #8 @ encoding: [0xc8,0xef,0x72,0x03]
55 @ CHECK
: vrsra.s16 q8
, q9
, #16 @ encoding: [0xd0,0xef,0x72,0x03]
57 @ CHECK
: vrsra.s32 q8
, q9
, #32 @ encoding: [0xe0,0xef,0x72,0x03]
59 @ CHECK
: vrsra.s64 q8
, q9
, #64 @ encoding: [0xc0,0xef,0xf2,0x03]
61 @ CHECK
: vrsra.u8 q8
, q9
, #8 @ encoding: [0xc8,0xff,0x72,0x03]
63 @ CHECK
: vrsra.u16 q8
, q9
, #16 @ encoding: [0xd0,0xff,0x72,0x03]
65 @ CHECK
: vrsra.u32 q8
, q9
, #32 @ encoding: [0xe0,0xff,0x72,0x03]
67 @ CHECK
: vrsra.u64 q8
, q9
, #64 @ encoding: [0xc0,0xff,0xf2,0x03]
69 @ CHECK
: vsli.8 d17
, d16
, #7 @ encoding: [0xcf,0xff,0x30,0x15]
71 @ CHECK
: vsli.16 d17
, d16
, #15 @ encoding: [0xdf,0xff,0x30,0x15]
73 @ CHECK
: vsli.32 d17
, d16
, #31 @ encoding: [0xff,0xff,0x30,0x15]
75 @ CHECK
: vsli.64 d17
, d16
, #63 @ encoding: [0xff,0xff,0xb0,0x15]
77 @ CHECK
: vsli.8 q9
, q8
, #7 @ encoding: [0xcf,0xff,0x70,0x25]
79 @ CHECK
: vsli.16 q9
, q8
, #15 @ encoding: [0xdf,0xff,0x70,0x25]
81 @ CHECK
: vsli.32 q9
, q8
, #31 @ encoding: [0xff,0xff,0x70,0x25]
83 @ CHECK
: vsli.64 q9
, q8
, #63 @ encoding: [0xff,0xff,0xf0,0x25]
85 @ CHECK
: vsri.8 d17
, d16
, #8 @ encoding: [0xc8,0xff,0x30,0x14]
87 @ CHECK
: vsri.16 d17
, d16
, #16 @ encoding: [0xd0,0xff,0x30,0x14]
89 @ CHECK
: vsri.32 d17
, d16
, #32 @ encoding: [0xe0,0xff,0x30,0x14]
91 @ CHECK
: vsri.64 d17
, d16
, #64 @ encoding: [0xc0,0xff,0xb0,0x14]
93 @ CHECK
: vsri.8 q9
, q8
, #8 @ encoding: [0xc8,0xff,0x70,0x24]
95 @ CHECK
: vsri.16 q9
, q8
, #16 @ encoding: [0xd0,0xff,0x70,0x24]
97 @ CHECK
: vsri.32 q9
, q8
, #32 @ encoding: [0xe0,0xff,0x70,0x24]
99 @ CHECK
: vsri.64 q9
, q8
, #64 @ encoding: [0xc0,0xff,0xf0,0x24]