This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Draft "Unsafe fp optimizations" project description.
- To: Joern Rennecke <amylaar at redhat dot com>
- Subject: Re: Draft "Unsafe fp optimizations" project description.
- From: Gabriel Dos_Reis <gdosreis at sophia dot inria dot fr>
- Date: Mon, 6 Aug 2001 17:18:57 +0200 (MEST)
- Cc: dewar at gnat dot com, Gabriel dot Dos_Reis at sophia dot inria dot fr, gcc at gcc dot gnu dot org, toon at moene dot indiv dot nluug dot nl
- References: <20010805155234.59CC1F2B79@nile.gnat.com><200108061455.f76EtAI21091@phal.cambridge.redhat.com>
| > Well any platform could potentially use 64-bit arithmetic in place of
| > 32-bit arithmetic, so I am not sure how you would limit the list for
| > the second case.
|
| It wouldn't make sense on the SH3E, which has hardware single precision
| FP, but can do double precision FP only by software.
|
| It would also be rather dubious on the SH4, where single precision is
| considerably faster than double precision.
Thanks for these data which widen the Sparc-like camp.
Now another -- some may qualify it as <censored> -- question: is it
desirable in the name of speed that the compiler chooses to use single
precision in some of the floating-point-expression transformations?
-- Gaby