[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / neon-mov-vfp.s
blob6ee6bfda436c86fd82084d56f40c1726492d7620
1 @ RUN: not llvm-mc -mcpu=cortex-a8 -triple armv7-unknown-unknown -show-encoding -mattr=-neon < %s 2>&1 | FileCheck %s --check-prefix=VFP --check-prefix=CHECK
2 @ RUN: not llvm-mc -mcpu=cortex-a8 -triple thumbv7-unknown-unknown -show-encoding -mattr=-neon < %s 2>&1 | FileCheck %s --check-prefix=VFP --check-prefix=CHECK
3 @ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-unknown-unknown -show-encoding -mattr=+neon < %s 2>&1 | FileCheck %s --check-prefix=NEON --check-prefix=CHECK
4 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-unknown-unknown -show-encoding -mattr=+neon < %s 2>&1 | FileCheck %s --check-prefix=NEON --check-prefix=CHECK
6 @ The 32-bit variants of the NEON scalar move instructions are also available
7 @ to any core with VFPv2
9 @ CHECK-DAG: vmov.32 d13[0], r6 @ encoding:
10 @ CHECK-DAG: vmov.32 d17[1], r9 @ encoding:
11 vmov.32 d13[0], r6
12 vmov.32 d17[1], r9
14 @ VFP-DAG: error: instruction requires: NEON
15 @ VFP-DAG: error: instruction requires: NEON
16 @ NEON-DAG: vmov.8 d22[5], r2 @ encoding:
17 @ NEON-DAG: vmov.16 d3[2], r4 @ encoding:
18 vmov.8 d22[5], r2
19 vmov.16 d3[2], r4
21 @ CHECK-DAG: vmov.32 r6, d13[0] @ encoding:
22 @ CHECK-DAG: vmov.32 r9, d17[1] @ encoding:
23 vmov.32 r6, d13[0]
24 vmov.32 r9, d17[1]
26 @ VFP-DAG: error: instruction requires: NEON
27 @ VFP-DAG: error: instruction requires: NEON
28 @ NEON-DAG: vmov.s8 r2, d22[5] @ encoding:
29 @ NEON-DAG: vmov.u16 r4, d3[2] @ encoding:
30 vmov.s8 r2, d22[5]
31 vmov.u16 r4, d3[2]