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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to