Skip to content

Commit

Permalink
Added fix in TableGen instruction decoder generation. The decoder now…
Browse files Browse the repository at this point in the history
… breaks for every leaf node.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153874 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
sbaranga-arm committed Apr 2, 2012
1 parent 5004e98 commit 50ac2e9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/MC/Disassembler/ARM/ldrd-armv4.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 50ac2e9

Please sign in to comment.