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

           Summary: clang outputs "Unsupported asm"
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


$ clang-c -c a.c

with a.c:

double floor(double x)
{
        register long double val;

        __asm __volatile (
                        "frndint\n"
                        :
                        "=t" (val)
                        :
                        "0" (x)
                        );
}


gives:
"Unsupported asm: input constraint with a matching output constraint of
incompatible type!"


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