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: unassignedclangb...@nondot.org
          Reporter: ndesaulni...@google.com
                CC: a...@linaro.org, david.spick...@linaro.org,
                    htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to