[llvm-bugs] [Bug 49118] New: [Integrated Assembler][Thumb2] ldr and str missing .w suffix aliases

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 9 11:43:14 PST 2021


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

            Bug ID: 49118
           Summary: [Integrated Assembler][Thumb2] ldr and str missing .w
                    suffix aliases
           Product: clang
           Version: trunk
          Hardware: PC
               URL: https://github.com/ClangBuiltLinux/linux/issues/1296
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: arnd at linaro.org, david.spickett at linaro.org,
                    htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

The Linux kernel uses the forms:

ldr.w r3, [r1], #4
str.w r3, [r0], #4

$ clang -target arm-linux-gnueabi foo.s -c -Wa,-mthumb        
foo.s:3:1: error: invalid instruction
ldr.w r3, [r1], #4
^
foo.s:5:1: error: invalid instruction
str.w r3, [r0], #4
^

-- 
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/20210209/99401160/attachment.html>


More information about the llvm-bugs mailing list