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 III


On Thu, Nov 07, 2002 at 12:04:11PM +0100, Jan Hubicka wrote:
> 	* builtins.c (expand_builtin_mathfn): Handle floor/ceil/trunc/round/nearbyint
> 	(expand_builtin): Likewise.
> 	* builtins.def: Add
> 	__builtin_floor, __builtin_floorf, __builtin_floorl
> 	__builtin_ceil, __builtin_ceilf, __builtin_ceill
> 	__builtin_round, __builtin_roundf, __builtin_roundl
> 	__builtin_trunc, __builtin_truncf, __builtin_truncl
> 	__builtin_nearbyint, __builtin_nearbyintf, __builtin_nearbyintl.
> 	* genopinit.c (optabs): Initialize the new optabs.
> 	* optab.c (init_optabs): Likewise.
> 	* optabs.h (optab_index): Add OTI_floor, OTI_ceil, OTI_trunc,
> 	OTI_round, OTI_nearbyint.
> 	(floor_optab, ceil_optab, trunc_optab, round_optab, nearbyint_optab): New.
> 	* doc/md.texi: Document new named patterns.
> 	* doc/extend.texi (builtin functions)  Document
> 	floor, floorf, floorl, ceil, ceilf,
> 	ceill, round, roundf, roundl, trunc,
> 	truncf, truncl, nearbyint, nearbyintf, nearbyintl.

Ok.


r~


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