summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2011-08-18 18:03:02 +0000
committerJames Molloy <james.molloy@arm.com>2011-08-18 18:03:02 +0000
commit9f9371ccb3b9ceda6996ed26d0ba5bce4db9fd2f (patch)
tree180de6217e98d7736574d134eb1ab610168b0fe8
parent6029135af9e8b6b4568c01461da116731558709b (diff)
downloadbcm5719-llvm-9f9371ccb3b9ceda6996ed26d0ba5bce4db9fd2f.tar.gz
bcm5719-llvm-9f9371ccb3b9ceda6996ed26d0ba5bce4db9fd2f.zip
Test commit; adding test for invalid LDRD which was part of the patch for r137647 but seemingly didn't get svn add'ed.
llvm-svn: 137960
-rw-r--r--llvm/test/MC/Disassembler/ARM/invalid-LDRD-arm.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/ARM/invalid-LDRD-arm.txt b/llvm/test/MC/Disassembler/ARM/invalid-LDRD-arm.txt
new file mode 100644
index 00000000000..f8f23ed02b8
--- /dev/null
+++ b/llvm/test/MC/Disassembler/ARM/invalid-LDRD-arm.txt
@@ -0,0 +1,10 @@
+# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep {invalid instruction encoding}
+
+# 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
+# -------------------------------------------------------------------------------------------------
+# | 0: 0: 0: 0| 0: 0: 0: 0| 0: 0: 0: 0| 0: 0: 0: 0| X: X: X: 1| X: X: X: X| 1: 1: X: 1| X: X: X: X|
+# -------------------------------------------------------------------------------------------------
+#
+# A8.6.68 LDRD (register)
+# if Rt{0} = 1 then UNDEFINED;
+0xd0 0x10 0x00 0x00
OpenPOWER on IntegriCloud