[LLVMbugs] [Bug 20360] New: ARM builtins library has incompatible assembly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 18 10:26:16 PDT 2014


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

            Bug ID: 20360
           Summary: ARM builtins library has incompatible assembly
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: sgundapa at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The $COMPILER_RT_SRC_DIR/lib/builtins/arm/sync-ops.h has assembly with a
backward branch on CBNZ instruction which is wrong on ARMv62T and above.

The ARM manual on CBNZ says backward branching is not possible.
Refer to
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Cjaghefc.html

The integrated-as compiles this file with out an issue due to the bug 
http://llvm.org/bugs/show_bug.cgi?id=20359 

Also, the lib/builtins/CMakeLists.txt has an issue that is not compiling the .S
files.

-- 
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/20140718/1351744a/attachment.html>


More information about the llvm-bugs mailing list