summaryrefslogtreecommitdiff
path: root/test/MC/ARM/neon-shuffle-encoding.s
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-04-11 16:53:25 +0000
committerJim Grosbach <grosbach@apple.com>2012-04-11 16:53:25 +0000
commit6073b30b053da2c2ac6150dd67cecb304bc614f1 (patch)
tree036dd5c5f956a63ce4f433fc3265d9185b1231bb /test/MC/ARM/neon-shuffle-encoding.s
parent6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4 (diff)
downloadllvm-6073b30b053da2c2ac6150dd67cecb304bc614f1.tar.gz
llvm-6073b30b053da2c2ac6150dd67cecb304bc614f1.tar.bz2
llvm-6073b30b053da2c2ac6150dd67cecb304bc614f1.tar.xz
ARM 'vzip.32 Dd, Dm' is a pseudo-instruction.
While there is an encoding for it in VZIP, the result of that is undefined, so we should avoid it. Define the instruction as a pseudo for VTRN.32 instead, as the ARM ARM indicates. rdar://11221911 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/neon-shuffle-encoding.s')
-rw-r--r--test/MC/ARM/neon-shuffle-encoding.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/ARM/neon-shuffle-encoding.s b/test/MC/ARM/neon-shuffle-encoding.s
index 26734c161b..e4d60776a9 100644
--- a/test/MC/ARM/neon-shuffle-encoding.s
+++ b/test/MC/ARM/neon-shuffle-encoding.s
@@ -59,6 +59,7 @@
vzip.8 q9, q8
vzip.16 q9, q8
vzip.32 q9, q8
+ vzip.32 d2, d3
@ CHECK: vuzp.8 d17, d16 @ encoding: [0x20,0x11,0xf2,0xf3]
@ CHECK: vuzp.16 d17, d16 @ encoding: [0x20,0x11,0xf6,0xf3]
@@ -70,6 +71,7 @@
@ CHECK: vzip.8 q9, q8 @ encoding: [0xe0,0x21,0xf2,0xf3]
@ CHECK: vzip.16 q9, q8 @ encoding: [0xe0,0x21,0xf6,0xf3]
@ CHECK: vzip.32 q9, q8 @ encoding: [0xe0,0x21,0xfa,0xf3]
+@ CHECK: vtrn.32 d2, d3 @ encoding: [0x83,0x20,0xba,0xf3]
@ VTRN alternate size suffices