This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.4-BIB] Add trunc/round/floor/ceil/rint builtins II
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, Jan Hubicka <jh at suse dot cz>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 7 Nov 2002 00:01:13 +0000 (GMT)
- Subject: 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