This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: PR29335 use MPFR for builtin sincos
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, roger at eyesopen dot com
- Date: Wed, 1 Nov 2006 15:57:21 +0100
- Subject: Re: [PATCH]: PR29335 use MPFR for builtin sincos
- References: <Pine.GSO.firstname.lastname@example.org>
On 11/1/06, Kaveh R. GHAZI <email@example.com> wrote:
This patch uses MPFR for builtin sincos.
For a call like sincos(0.0,s,c), where "s" and "c" are pointers, I
transform this into e.g. "(void)(*s=0.0,*c=1.0)".
Bootstrapped on sparc-sun-solaris2.10, no regressions. The new testcases
all pass. In the transcendental accuracy testsuite, there is no sincos
test, however I was able to shoehorn the values used in the sin and cos
tests through builtin sincos and they all get "perfect" results.
Okay for mainline?
This might transform a valid gimple statement into a non-gimple one - did
you verify that the various places that might fold the statement correctly
handle this case?