[3.4-BIB] Add trunc/round/floor/ceil/rint builtins II
Richard Henderson
rth@redhat.com
Wed Nov 6 14:29:00 GMT 2002
On Wed, Nov 06, 2002 at 10:54:05PM +0100, Jan Hubicka wrote:
> + DEF_LIB_ALWAYS_BUILTIN(BUILT_IN_FLOOR,
> + "__builtin_floor",
> + BT_FN_DOUBLE_DOUBLE)
Surely this should be DEF_LIB_BUILTIN, since floor is in C90.
> + DEF_C99_BUILTIN(BUILT_IN_CEIL,
> + "__builtin_ceil",
> + BT_FN_DOUBLE_DOUBLE)
I would be shocked if this didn't exist on a platform that did
have floor, and thus I would think that we should be able to
fall back on the libm version if the target doesn't support it.
Do these show up as "foo" when !flag_iso?
r~
More information about the Gcc-patches
mailing list