aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/neon-vswp.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ARM/neon-vswp.s')
-rw-r--r--test/MC/ARM/neon-vswp.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/ARM/neon-vswp.s b/test/MC/ARM/neon-vswp.s
new file mode 100644
index 0000000..2138eed
--- /dev/null
+++ b/test/MC/ARM/neon-vswp.s
@@ -0,0 +1,7 @@
+@ RUN: llvm-mc -mcpu=cortex-a8 -triple armv7-apple-darwin -show-encoding < %s | FileCheck %s
+
+vswp d1, d2
+vswp q1, q2
+
+@ CHECK: vswp d1, d2 @ encoding: [0x02,0x10,0xb2,0xf3]
+@ CHECK: vswp q1, q2 @ encoding: [0x44,0x20,0xb2,0xf3]