[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

Dale Johannesen dalej at apple.com
Thu Oct 18 14:09:34 PDT 2007


On Oct 18, 2007, at 1:04 PM, Chris Lattner wrote:
>>    /* 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?

No; there are no long double instructions, so I'm not sure how you
would write such a thing in inline asm.
(The asm in the fix above breaks the long double into two doubles
explicitly, and I'd expect that to be the common practice).
  



More information about the llvm-commits mailing list