This is the mail archive of the gcc-patches@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: [3.4-BIB] Add trunc/round/floor/ceil/rint builtins II


On Wed, 6 Nov 2002, Richard Henderson wrote:

> What it means is that we can't make __builtin_floorf call
> floorf if the backend doesn't implement the pattern though.
> 
> I think.

It's normal for __builtin_foo to require the library to have the function
foo.  Problems are only if it converts to a call to a different function
(e.g., float f; __builtin_floor(f); mustn't get converted to a call to
floorf).

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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