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

             Bug #: 13617
           Summary: LLVM+Clang emits movw instrucionts with -march=armv6zk
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


When specifying -march=armv6, LLVM still emits movw instructions. However,
those were introduced with armv7, thus the assembler aborts the commit. Without
-march=armv6, LLVM just emits them on my ARMv6 system, leading to SIGILL. The
same happens for other armv6 variants like armv6zk.

Basically this means LLVM currently can't compile code that works on an ARMv6
system, as it ignores everything telling it to not emit ARMv7 instructions. The
same happens for me with -mcpu=arm1176jzf-s, so there's absolutely no way to
disable the usage of the movw instruction, it seems.

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

Reply via email to