[LLVMbugs] [Bug 23507] New: integrated arm assembler should support pre-UAL syntax

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 12 14:46:27 PDT 2015


            Bug ID: 23507
           Summary: integrated arm assembler should support pre-UAL syntax
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: chh at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Android Open Source Project has many arm and arm64 assembly files using pre-UAL
syntax. Some of them are easy to fix to compile with llvm, but many are from
other upstream open source projects and they are difficult to change.
To build the whole Android Open Source with only clang/llvm, llvm should
support some commonly used pre-UAL syntax. Examples are:

Code used in Android core libc. The following patch was in AOSP now,
but many of these pre-UAL are used in other AOSP upstream projects.
    ldrmib -> ldrbmi
    ldrcsb -> ldrbcs
    strmib -> strbmi
    strmih -> strhmi
    strcsb -> strbcs
    ldmmcsia -> ldmcs
    ldmmiia  -> ldmmi
    stmcsia  -> stmcs  or  stmiacs
    stmmiia  -> stmmi  or  stmiami
    stmhsia  -> stmiahs
    eoreqs   -> eorseq
    ldrneb   -> ldrbne
    strneb   -> strbne
    strneh   -> strhne
    streqb   -> strbeq
    ldmlsfd  sp!, ...  ->  popls ...

Code used in Chromium: https://llvm.org/bugs/show_bug.cgi?id=20422

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/20150512/cae53cda/attachment.html>

More information about the llvm-bugs mailing list