[LLVMbugs] [Bug 9341] New: ARM: ssat/usat not supported in inline asm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 27 09:45:53 PST 2011


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

           Summary: ARM: ssat/usat not supported in inline asm
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mans at mansr.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6246)
 --> (http://llvm.org/bugs/attachment.cgi?id=6246)
Test case

Inline asm using the SSAT or USAT instructions fails with this error in clang:

asm.c:3:14: error: invalid operand for instruction
    __asm__ ("ssat %0, #8, %1" : "=r"(x) : "r"(x));
             ^
<inline asm>:1:2: note: instantiated into assembly here
        ssat r0, #8, r0
        ^
1 error generated.

-- 
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.



More information about the llvm-bugs mailing list