Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / ARM / neon-shiftaccum-encoding.s
blob0dc630d395dcd4bf196a3654ae6dc9c03b78d9b9
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
3 @ CHECK: vsra.s8 d17, d16, #8 @ encoding: [0x30,0x11,0xc8,0xf2]
4 vsra.s8 d17, d16, #8
5 @ CHECK: vsra.s16 d17, d16, #16 @ encoding: [0x30,0x11,0xd0,0xf2]
6 vsra.s16 d17, d16, #16
7 @ CHECK: vsra.s32 d17, d16, #32 @ encoding: [0x30,0x11,0xe0,0xf2]
8 vsra.s32 d17, d16, #32
9 @ CHECK: vsra.s64 d17, d16, #64 @ encoding: [0xb0,0x11,0xc0,0xf2]
10 vsra.s64 d17, d16, #64
11 @ CHECK: vsra.s8 q8, q9, #8 @ encoding: [0x72,0x01,0xc8,0xf2]
12 vsra.s8 q8, q9, #8
13 @ CHECK: vsra.s16 q8, q9, #16 @ encoding: [0x72,0x01,0xd0,0xf2]
14 vsra.s16 q8, q9, #16
15 @ CHECK: vsra.s32 q8, q9, #32 @ encoding: [0x72,0x01,0xe0,0xf2]
16 vsra.s32 q8, q9, #32
17 @ CHECK: vsra.s64 q8, q9, #64 @ encoding: [0xf2,0x01,0xc0,0xf2]
18 vsra.s64 q8, q9, #64
19 @ CHECK: vsra.u8 d17, d16, #8 @ encoding: [0x30,0x11,0xc8,0xf3]
20 vsra.u8 d17, d16, #8
21 @ CHECK: vsra.u16 d17, d16, #16 @ encoding: [0x30,0x11,0xd0,0xf3]
22 vsra.u16 d17, d16, #16
23 @ CHECK: vsra.u32 d17, d16, #32 @ encoding: [0x30,0x11,0xe0,0xf3]
24 vsra.u32 d17, d16, #32
25 @ CHECK: vsra.u64 d17, d16, #64 @ encoding: [0xb0,0x11,0xc0,0xf3]
26 vsra.u64 d17, d16, #64
27 @ CHECK: vsra.u8 q8, q9, #8 @ encoding: [0x72,0x01,0xc8,0xf3]
28 vsra.u8 q8, q9, #8
29 @ CHECK: vsra.u16 q8, q9, #16 @ encoding: [0x72,0x01,0xd0,0xf3]
30 vsra.u16 q8, q9, #16
31 @ CHECK: vsra.u32 q8, q9, #32 @ encoding: [0x72,0x01,0xe0,0xf3]
32 vsra.u32 q8, q9, #32
33 @ CHECK: vsra.u64 q8, q9, #64 @ encoding: [0xf2,0x01,0xc0,0xf3]
34 vsra.u64 q8, q9, #64
35 @ CHECK: vrsra.s8 d17, d16, #8 @ encoding: [0x30,0x13,0xc8,0xf2]
36 vrsra.s8 d17, d16, #8
37 @ CHECK: vrsra.s16 d17, d16, #16 @ encoding: [0x30,0x13,0xd0,0xf2]
38 vrsra.s16 d17, d16, #16
39 @ CHECK: vrsra.s32 d17, d16, #32 @ encoding: [0x30,0x13,0xe0,0xf2]
40 vrsra.s32 d17, d16, #32
41 @ CHECK: vrsra.s64 d17, d16, #64 @ encoding: [0xb0,0x13,0xc0,0xf2]
42 vrsra.s64 d17, d16, #64
43 @ CHECK: vrsra.u8 d17, d16, #8 @ encoding: [0x30,0x13,0xc8,0xf3]
44 vrsra.u8 d17, d16, #8
45 @ CHECK: vrsra.u16 d17, d16, #16 @ encoding: [0x30,0x13,0xd0,0xf3]
46 vrsra.u16 d17, d16, #16
47 @ CHECK: vrsra.u32 d17, d16, #32 @ encoding: [0x30,0x13,0xe0,0xf3]
48 vrsra.u32 d17, d16, #32
49 @ CHECK: vrsra.u64 d17, d16, #64 @ encoding: [0xb0,0x13,0xc0,0xf3]
50 vrsra.u64 d17, d16, #64
51 @ CHECK: vrsra.s8 q8, q9, #8 @ encoding: [0x72,0x03,0xc8,0xf2]
52 vrsra.s8 q8, q9, #8
53 @ CHECK: vrsra.s16 q8, q9, #16 @ encoding: [0x72,0x03,0xd0,0xf2]
54 vrsra.s16 q8, q9, #16
55 @ CHECK: vrsra.s32 q8, q9, #32 @ encoding: [0x72,0x03,0xe0,0xf2]
56 vrsra.s32 q8, q9, #32
57 @ CHECK: vrsra.s64 q8, q9, #64 @ encoding: [0xf2,0x03,0xc0,0xf2]
58 vrsra.s64 q8, q9, #64
59 @ CHECK: vrsra.u8 q8, q9, #8 @ encoding: [0x72,0x03,0xc8,0xf3]
60 vrsra.u8 q8, q9, #8
61 @ CHECK: vrsra.u16 q8, q9, #16 @ encoding: [0x72,0x03,0xd0,0xf3]
62 vrsra.u16 q8, q9, #16
63 @ CHECK: vrsra.u32 q8, q9, #32 @ encoding: [0x72,0x03,0xe0,0xf3]
64 vrsra.u32 q8, q9, #32
65 @ CHECK: vrsra.u64 q8, q9, #64 @ encoding: [0xf2,0x03,0xc0,0xf3]
66 vrsra.u64 q8, q9, #64
67 @ CHECK: vsli.8 d17, d16, #7 @ encoding: [0x30,0x15,0xcf,0xf3]
68 vsli.8 d17, d16, #7
69 @ CHECK: vsli.16 d17, d16, #15 @ encoding: [0x30,0x15,0xdf,0xf3]
70 vsli.16 d17, d16, #15
71 @ CHECK: vsli.32 d17, d16, #31 @ encoding: [0x30,0x15,0xff,0xf3]
72 vsli.32 d17, d16, #31
73 @ CHECK: vsli.64 d17, d16, #63 @ encoding: [0xb0,0x15,0xff,0xf3]
74 vsli.64 d17, d16, #63
75 @ CHECK: vsli.8 q9, q8, #7 @ encoding: [0x70,0x25,0xcf,0xf3]
76 vsli.8 q9, q8, #7
77 @ CHECK: vsli.16 q9, q8, #15 @ encoding: [0x70,0x25,0xdf,0xf3]
78 vsli.16 q9, q8, #15
79 @ CHECK: vsli.32 q9, q8, #31 @ encoding: [0x70,0x25,0xff,0xf3]
80 vsli.32 q9, q8, #31
81 @ CHECK: vsli.64 q9, q8, #63 @ encoding: [0xf0,0x25,0xff,0xf3]
82 vsli.64 q9, q8, #63
83 @ CHECK: vsri.8 d17, d16, #8 @ encoding: [0x30,0x14,0xc8,0xf3]
84 vsri.8 d17, d16, #8
85 @ CHECK: vsri.16 d17, d16, #16 @ encoding: [0x30,0x14,0xd0,0xf3]
86 vsri.16 d17, d16, #16
87 @ CHECK: vsri.32 d17, d16, #32 @ encoding: [0x30,0x14,0xe0,0xf3]
88 vsri.32 d17, d16, #32
89 @ CHECK: vsri.64 d17, d16, #64 @ encoding: [0xb0,0x14,0xc0,0xf3]
90 vsri.64 d17, d16, #64
91 @ CHECK: vsri.8 q9, q8, #8 @ encoding: [0x70,0x24,0xc8,0xf3]
92 vsri.8 q9, q8, #8
93 @ CHECK: vsri.16 q9, q8, #16 @ encoding: [0x70,0x24,0xd0,0xf3]
94 vsri.16 q9, q8, #16
95 @ CHECK: vsri.32 q9, q8, #32 @ encoding: [0x70,0x24,0xe0,0xf3]
96 vsri.32 q9, q8, #32
97 @ CHECK: vsri.64 q9, q8, #64 @ encoding: [0xf0,0x24,0xc0,0xf3]
98 vsri.64 q9, q8, #64