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

            Bug ID: 20691
           Summary: missing codegen for __builtin_signbitl for ppc_fp128
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

nlewycky@ducttape:~$ cat signbit.c
int test1(float x) { return __builtin_signbitf(x); }
int test2(double x) { return __builtin_signbit(x); }
int test3(long double x) { return __builtin_signbitl(x); }
nlewycky@ducttape:~$ llvm/Debug+Asserts/bin/clang -target powerpc64-linux-gnu
signbit.c -flto -S -o -
signbit.c:3:35: error: cannot compile this builtin function yet
int test3(long double x) { return __builtin_signbitl(x); }
                                  ^~~~~~~~~~~~~~~~~~~~~
1 error generated.

This breaks std::signbit in libstdc++ 4.9's cmath header.

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