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: cmath call builtin sqrtf but many platforms seem miss that(was Re: lrint lrintf problems )


Bernd Roesch <nospamname@web.de> writes:

> Hello Richard
>
> On 09.03.09, you wrote:
>
>>> I believe one should convince the middle end to emit libcall
>>> for __builtin_xxx when the target has no builtint support.
>> 
>> It of course does.
>
> On what codeplace is the redefine do in GCC source ?

This is in optabs.c, as set up by gen_libfunc and friends.  A call to
__builtin_xxx, where xxx is a library function, is normally replaced by
a call to xxx.  Where xxx is not a library function, gcc normally
provides the function in libgcc.

Ian


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