This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86
- To: N8TM at aol dot com, rth at cygnus dot com, hjstein at bfr dot co dot il, toon at moene dot indiv dot nluug dot nl
- Subject: Re: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 18 Dec 1998 22:36:08 -0800
- Cc: egcs at cygnus dot com
- References: <15d89fe9.367b4072@aol.com>
- Reply-To: Richard Henderson <rth at cygnus dot com>
On Sat, Dec 19, 1998 at 12:58:10AM -0500, N8TM@aol.com wrote:
> How much extra time?
One extra cycle on read; since we're committed to read-modify-write
anyway, probably one to three extra cycles on write depending on
if we actually straddle a 16-byte boundary.
> Is it feasible to make the XFmode spills use aligned addresses,
> and would alignment be as much of an improvement as in DFmode?
If we were to spill in XFmode, then yes, alignment would be just
as important as in DFmode.
> The only quantification I've seen is my test of one application
> indicating that changing spills from SFmode to XFmode appears to
> make that application run 25% longer on a PPro.
I have not tried quantifing the change. I would want to examine
things more closely, however, because 25% seems low to me.
And before I even did that, someone would have to do a much better
job convincing me that it was even a good idea. Cause from where
I'm sitting now, I agree with Toon that the idea is losing all the
way around.
r~