[llvm-commits] [llvm-gcc-4.0] r43134 - in /llvm-gcc-4.0/trunk/gcc/config/rs6000: darwin-ldouble.c darwin-libgcc.10.4.ver darwin-libgcc.10.5.ver darwin.h

Chris Lattner clattner at apple.com
Thu Oct 18 13:04:24 PDT 2007


On Oct 18, 2007, at 9:57 AM, Dale Johannesen wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=43134&view=rev
> Log:
> Enable 128-bit long double on PPC darwin.
> Remove hacks in library functions and build which
> worked around its absence.

Nice!  Many llvm local changes going away,

>    /* Use fused multiply-add to get low part of a * c.  */
> -/* APPLE LOCAL begin LLVM */
> -#ifndef __llvm__  /* FIXME: no long double support! */
>    asm ("fmsub %0,%1,%2,%3" : "=f"(tau) : "f"(a), "f"(c), "f"(t));
> -#endif

Have you tested to see if long double works with inline asm?

-Chris






More information about the llvm-commits mailing list