1@RUN: llvm-mc -triple thumbv7-unknown-unknown -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s
2
3.code 16
4
5	vdup.8	d16, r1
6	vdup.16	d15, r2
7	vdup.32	d14, r3
8	vdup.8	q9, r4
9	vdup.16	q8, r5
10	vdup.32	q7, r6
11
12@ CHECK: vdup.8	d16, r1                 @ encoding: [0xc0,0xee,0x90,0x1b]
13@ CHECK: vdup.16	d15, r2         @ encoding: [0x8f,0xee,0x30,0x2b]
14@ CHECK: vdup.32	d14, r3         @ encoding: [0x8e,0xee,0x10,0x3b]
15@ CHECK: vdup.8	q9, r4                  @ encoding: [0xe2,0xee,0x90,0x4b]
16@ CHECK: vdup.16	q8, r5          @ encoding: [0xa0,0xee,0xb0,0x5b]
17@ CHECK: vdup.32	q7, r6          @ encoding: [0xae,0xee,0x10,0x6b]
18
19	vdup.8	d16, d11[0]
20	vdup.16	d17, d12[0]
21	vdup.32	d18, d13[0]
22	vdup.8	q3, d10[0]
23	vdup.16	q9, d9[0]
24	vdup.32	q8, d8[0]
25	vdup.8	d16, d11[1]
26	vdup.16	d17, d12[1]
27	vdup.32	d18, d13[1]
28	vdup.8	q3, d10[1]
29	vdup.16	q9, d9[1]
30	vdup.32	q8, d8[1]
31
32@ CHECK: vdup.8	d16, d11[0]             @ encoding: [0xf1,0xff,0x0b,0x0c]
33@ CHECK: vdup.16 d17, d12[0]            @ encoding: [0xf2,0xff,0x0c,0x1c]
34@ CHECK: vdup.32 d18, d13[0]            @ encoding: [0xf4,0xff,0x0d,0x2c]
35@ CHECK: vdup.8	q3, d10[0]              @ encoding: [0xb1,0xff,0x4a,0x6c]
36@ CHECK: vdup.16 q9, d9[0]              @ encoding: [0xf2,0xff,0x49,0x2c]
37@ CHECK: vdup.32 q8, d8[0]              @ encoding: [0xf4,0xff,0x48,0x0c]
38@ CHECK: vdup.8	d16, d11[1]             @ encoding: [0xf3,0xff,0x0b,0x0c]
39@ CHECK: vdup.16 d17, d12[1]            @ encoding: [0xf6,0xff,0x0c,0x1c]
40@ CHECK: vdup.32 d18, d13[1]            @ encoding: [0xfc,0xff,0x0d,0x2c]
41@ CHECK: vdup.8	q3, d10[1]              @ encoding: [0xb3,0xff,0x4a,0x6c]
42@ CHECK: vdup.16 q9, d9[1]              @ encoding: [0xf6,0xff,0x49,0x2c]
43@ CHECK: vdup.32 q8, d8[1]              @ encoding: [0xfc,0xff,0x48,0x0c]
44