[LLVMbugs] [Bug 23000] New: Immediates that need shifts are misassembled for ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 23 13:53:25 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23000

            Bug ID: 23000
           Summary: Immediates that need shifts are misassembled for ARM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: compnerd at compnerd.org, dimitry at andric.com,
                    llvmbugs at cs.uiuc.edu, t.p.northover at gmail.com
    Classification: Unclassified

Try to assemble:

AES_Te:
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
.word 1,2,3,4,5,6
AES_encrypt:
 sub r10,r3,#(AES_encrypt-AES_Te) @ Te

and disassemble. The immediate for the sub is misencoded. This is observed in
the OpenSSL assembly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150323/a4c3407b/attachment.html>


More information about the llvm-bugs mailing list