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: [PATCH]: PR29335 use MPFR for more trigonometric transcendentals


On Tue, 24 Oct 2006, Roger Sayle wrote:

> On Tue, 24 Oct 2006, Kaveh R. GHAZI wrote:
> > 2006-10-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
> >
> > 	PR middle-end/29335
> > 	* builtins.c (fold_builtin_sin, fold_builtin_atan): Remove.
> > 	(do_mpfr_arg1): Add `min', `max' and `inclusive' arguments.
> > 	Update all callers.
> > 	(BUILT_IN_SIN, BUILT_IN_ATAN): Handle in main switch.
> > 	(BUILT_IN_ASIN, BUILT_IN_ACOS, BUILT_IN_ATAN, BUILT_IN_ASINH,
> > 	BUILT_IN_ACOSH, BUILT_IN_ATANH, BUILT_IN_SINH, BUILT_IN_COSH,
> > 	BUILT_IN_TANH): Calculate compile-time arguments using MPFR.
> >
> > testsuite:
> > 	* gcc.dg/torture/builtin-math-3.c: New test.
>
> This is OK for mainline.  Sorry to have been a pain about the testsuite
> names, and many thanks for the compromise.  Appreciated.
> Roger

Likewise, and thanks for the review(s).

		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu


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