[LLVMbugs] [Bug 9530] New: ARM disassembler failed to disassemble LDRT and LDRBT

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 22 13:01:02 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9530

           Summary: ARM disassembler failed to disassemble LDRT and LDRBT
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: crabtw at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Debug message

{{{
$ echo '0x05 0x36 0x74 0xe6' | Debug+Asserts/bin/llvm-mc -arch=arm
--disassemble -debug 
Args: Debug+Asserts/bin/llvm-mc -arch=arm --disassemble -debug 

Features:,+v4t
CPU:genericOpcode=138 Name=LDRBT Format=ARM_FORMAT_LDFRM(6)
 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 
-------------------------------------------------------------------------------------------------
| 1: 1: 1: 0| 0: 1: 1: 0| 0: 1: 1: 1| 0: 1: 0: 0| 0: 0: 1: 1| 0: 1: 1: 0| 0: 0:
0: 0| 0: 1: 0: 1|
-------------------------------------------------------------------------------------------------

<stdin>:1:1: warning: invalid instruction encoding
0x05 0x36 0x74 0xe6
^
}}}

It should output "ldrbt r3, [r4], -r5, lsl #12".

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list