[LLVMbugs] [Bug 3970] New: clang outputs "Unsupported asm"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 10 05:46:12 PDT 2009


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: unassignedclangbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


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



More information about the llvm-bugs mailing list