This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Accessing signgam from the middle-end for builtin lgamma


Dave Korn wrote:

> On 25 April 2007 18:55, Kaveh R. GHAZI wrote:
> 
> > I'd like to work on using MPFR to handle builtin lgamma.
> 
>   In what sense is it a builtin if it requires a library to be installed and
> emits a call to a library function ???  I may not have understood what you're
> trying to do here, but how would it be different from if the compiler
> installed a header that said
> 
> #define __builtin_lgamma lgamma /* Must have MPFR installed. */

The builtin would run on the host at compile time, whereas the above
would run on the target at runtime.  I presume he's talking about using
MPFR in the host compiler to simplify lgamma(constant), not actually
causing any requirement on the target code to use or have MPFR.

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]