Fixed some bugs.
[llvm/zpu.git] / test / MC / ARM / neon-dup-encoding.s
blob3af7fac81465013eebf703a7556ee9a6ae7c7c24
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unkown -show-encoding < %s | FileCheck %s
2 @ XFAIL: *
4 @ CHECK: vdup.8 d16, r0 @ encoding: [0x90,0x0b,0xc0,0xee]
5 vdup.8 d16, r0
6 @ CHECK: vdup.16 d16, r0 @ encoding: [0xb0,0x0b,0x80,0xee]
7 vdup.16 d16, r0
8 @ CHECK: vdup.32 d16, r0 @ encoding: [0x90,0x0b,0x80,0xee]
9 vdup.32 d16, r0
10 @ CHECK: vdup.8 q8, r0 @ encoding: [0x90,0x0b,0xe0,0xee]
11 vdup.8 q8, r0
12 @ CHECK: vdup.16 q8, r0 @ encoding: [0xb0,0x0b,0xa0,0xee]
13 vdup.16 q8, r0
14 @ CHECK: vdup.32 q8, r0 @ encoding: [0x90,0x0b,0xa0,0xee]
15 vdup.32 q8, r0
16 @ CHECK: vdup.8 d16, d16[1] @ encoding: [0x20,0x0c,0xf3,0xf3]
17 vdup.8 d16, d16[1]
18 @ CHECK: vdup.16 d16, d16[1] @ encoding: [0x20,0x0c,0xf6,0xf3]
19 vdup.16 d16, d16[1]
20 @ CHECK: vdup.32 d16, d16[1] @ encoding: [0x20,0x0c,0xfc,0xf3]
21 vdup.32 d16, d16[1]
22 @ CHECK: vdup.8 q8, d16[1] @ encoding: [0x60,0x0c,0xf3,0xf3]
23 vdup.8 q8, d16[1]
24 @ CHECK: vdup.16 q8, d16[1] @ encoding: [0x60,0x0c,0xf6,0xf3]
25 vdup.16 q8, d16[1]
26 @ CHECK: vdup.32 q8, d16[1] @ encoding: [0x60,0x0c,0xfc,0xf3]
27 vdup.32 q8, d16[1]