[llvm-bugs] [Bug 40972] New: PLD/PLDW instructions with <q> assembler qualifiers are not recognized

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 5 23:58:40 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40972

            Bug ID: 40972
           Summary: PLD/PLDW instructions with <q> assembler qualifiers
                    are not recognized
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: stefan at agner.ch
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
                    Ties.Stuij at arm.com

According to the Arm ARM, the assembler syntax for PLD and PLDW support the <q>
assembler field, which allows to select the 16-bit or 32-bit encoding variants.
Since there are only 32-bit encoding variants, .w should be a valid qualifier.

However, currently this leads to a invalid instruction error:


./arch/arm/include/asm/processor.h:133:5: error: invalid instruction
                        "pldw.w\t%a0 \n"
                         ^
<inline asm>:2:1: note: instantiated into assembly here
pldw.w  [r0]
^
1 error generated.

-- 
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/20190306/faadb68b/attachment.html>


More information about the llvm-bugs mailing list