1@ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
2
3	vdup.8	d16, r0
4	vdup.16	d16, r0
5	vdup.32	d16, r0
6
7@ CHECK: vdup.8	d16, r0                 @ encoding: [0x90,0x0b,0xc0,0xee]
8@ CHECK: vdup.16	d16, r0         @ encoding: [0xb0,0x0b,0x80,0xee]
9@ CHECK: vdup.32	d16, r0         @ encoding: [0x90,0x0b,0x80,0xee]
10
11	vdup.8	q8, r0
12	vdup.16	q8, r0
13	vdup.32	q8, r0
14
15@ CHECK: vdup.8	q8, r0                  @ encoding: [0x90,0x0b,0xe0,0xee]
16@ CHECK: vdup.16	q8, r0          @ encoding: [0xb0,0x0b,0xa0,0xee]
17@ CHECK: vdup.32	q8, r0          @ encoding: [0x90,0x0b,0xa0,0xee]
18
19	vdup.8	d16, d16[1]
20	vdup.16	d16, d16[1]
21	vdup.32	d16, d16[1]
22
23@ CHECK: vdup.8	d16, d16[1]             @ encoding: [0x20,0x0c,0xf3,0xf3]
24@ CHECK: vdup.16	d16, d16[1]     @ encoding: [0x20,0x0c,0xf6,0xf3]
25@ CHECK: vdup.32	d16, d16[1]     @ encoding: [0x20,0x0c,0xfc,0xf3]
26
27	vdup.8	q8, d16[1]
28	vdup.16	q8, d16[1]
29	vdup.32	q8, d16[1]
30
31@ CHECK: vdup.8	q8, d16[1]              @ encoding: [0x60,0x0c,0xf3,0xf3]
32@ CHECK: vdup.16	q8, d16[1]      @ encoding: [0x60,0x0c,0xf6,0xf3]
33@ CHECK: vdup.32	q8, d16[1]      @ encoding: [0x60,0x0c,0xfc,0xf3]
34