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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to