aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2012-04-02 15:20:39 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2012-04-02 15:20:39 +0000
commit50ac2e9229044681b1c060125cf4d0ce1fc44d71 (patch)
treed820cdef0787964995b9dbe3303c77968101c33c /test
parent5004e9849aff165bcbd953f891b402ad23bdd1ac (diff)
downloadexternal_llvm-50ac2e9229044681b1c060125cf4d0ce1fc44d71.zip
external_llvm-50ac2e9229044681b1c060125cf4d0ce1fc44d71.tar.gz
external_llvm-50ac2e9229044681b1c060125cf4d0ce1fc44d71.tar.bz2
Added fix in TableGen instruction decoder generation. The decoder now breaks for every leaf node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/ARM/ldrd-armv4.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/ldrd-armv4.txt b/test/MC/Disassembler/ARM/ldrd-armv4.txt
new file mode 100644
index 0000000..bb87ade
--- /dev/null
+++ b/test/MC/Disassembler/ARM/ldrd-armv4.txt
@@ -0,0 +1,15 @@
+# RUN: llvm-mc --disassemble %s -triple=armv4-linux-gnueabi |& FileCheck %s -check-prefix=V4
+# RUN: llvm-mc --disassemble %s -triple=armv5te-linux-gnueabi |& FileCheck %s -check-prefix=V5TE
+
+# 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;
+
+# V4: invalid instruction encoding
+# V5TE: ldrd
+0xd0 0x10 0x00 0x01
+