summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorKevin Qin <Kevin.Qin@arm.com>2013-11-29 01:29:16 +0000
committerKevin Qin <Kevin.Qin@arm.com>2013-11-29 01:29:16 +0000
commit922419232152567ef4f574c642fa1b7da19aa49d (patch)
tree649309b18f61dc6223ecab5580e7cf7e8735071e /test/MC/Disassembler
parente9f8ce8cde3767b54751e95ddb6ed56b429ec138 (diff)
downloadllvm-922419232152567ef4f574c642fa1b7da19aa49d.tar.gz
llvm-922419232152567ef4f574c642fa1b7da19aa49d.tar.bz2
llvm-922419232152567ef4f574c642fa1b7da19aa49d.tar.xz
[AArch64 NEON]Fix a assertion failure when disassemble SHLL instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/AArch64/neon-instructions.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/MC/Disassembler/AArch64/neon-instructions.txt b/test/MC/Disassembler/AArch64/neon-instructions.txt
index 23ee1eb38a..863730ac6b 100644
--- a/test/MC/Disassembler/AArch64/neon-instructions.txt
+++ b/test/MC/Disassembler/AArch64/neon-instructions.txt
@@ -675,6 +675,23 @@
0xab 0xdc 0x77 0x4e
#----------------------------------------------------------------------
+# Vector Shift Left long
+#----------------------------------------------------------------------
+# CHECK: shll2 v2.8h, v4.16b, #8
+# CHECK: shll2 v6.4s, v8.8h, #16
+# CHECK: shll2 v6.2d, v8.4s, #32
+# CHECK: shll v2.8h, v4.8b, #8
+# CHECK: shll v6.4s, v8.4h, #16
+# CHECK: shll v6.2d, v8.2s, #32
+
+0x82,0x38,0x21,0x6e
+0x06,0x39,0x61,0x6e
+0x06,0x39,0xa1,0x6e
+0x82,0x38,0x21,0x2e
+0x06,0x39,0x61,0x2e
+0x06,0x39,0xa1,0x2e
+
+#----------------------------------------------------------------------
# Vector Shift Left by Immediate
#----------------------------------------------------------------------
# CHECK: shl v0.4h, v1.4h, #3