[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / neon-dup-encoding.s
blob31dcf0b31ed5360cb3be33106c7e08bfafdb0f75
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s
3 vdup.8 d16, r0
4 vdup.16 d16, r0
5 vdup.32 d16, r0
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]
11 vdup.8 q8, r0
12 vdup.16 q8, r0
13 vdup.32 q8, r0
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]
19 vdup.8 d16, d16[1]
20 vdup.16 d16, d16[1]
21 vdup.32 d16, d16[1]
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]
27 vdup.8 q8, d16[1]
28 vdup.16 q8, d16[1]
29 vdup.32 q8, d16[1]
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]