[LLVMbugs] [Bug 20025] New: llvm-mc rejected LDC and STC for coprocessors P10 and P11 in generic coprocessor form

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 13 00:25:11 PDT 2014


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

            Bug ID: 20025
           Summary: llvm-mc rejected LDC and STC for coprocessors P10 and
                    P11 in generic coprocessor form
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: an.kuharev at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

llvm-mc rejected LDC and STC instruction for coprocessors P10 and P11
in generic coprocessor form:
LDC    p10,  ...
STC    p11,  ...
that used in open source libraries to enable VFP instruction
compilation for more targets.
Library may be compiled without VFP support enabled.

gcc compile this generic coprocessor form.

Problem in ARMAsmParser.cpp
P10 and P11 rejected in 
static int MatchCoprocessorOperandName(StringRef Name, char CoprocOp)
    // p10 and p11 are invalid for coproc instructions (reserved for FP/NEON)

-- 
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/20140613/a3015f93/attachment.html>


More information about the llvm-bugs mailing list