This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] x87 constants for doubles with -ffast-math
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 Jul 2003 21:36:34 -0700
- Subject: Re: [PATCH] x87 constants for doubles with -ffast-math
- References: <Pine.LNX.4.44.0306291125450.26900-100000@www.eyesopen.com>
On Sun, Jun 29, 2003 at 11:52:01AM -0600, Roger Sayle wrote:
> * config/i386/i386.c (init_ext_80387_constants): Also initialize
> double and float versions of the 80387 mathematical constants.
> (standard_80387_constant_p): Use these special instructions when
> optimizing for size. If flag_unsafe_math_optimizations, recognize
> these constants rounded to float or double precision.
I'm not that fond of this, even with -ffast-math.
If you can find someone else that agrees to this,
I won't object, but I won't approve it myself.
r~