GCC floating point usage

Geoff Keating geoffk@geoffk.org
Wed Feb 26 01:01:00 GMT 2003


> Cc: Mark Mitchell <mark@codesourcery.com>, Geoff Keating <geoffk@geoffk.org>,
>    gcc-patches@gcc.gnu.org
> Date: Tue, 25 Feb 2003 18:03:47 -0500
> From: David Edelsohn <dje@watson.ibm.com>

> 	The PowerPC *BSD developers started discussing how to avoid using
> FPRs for integer moves.  Richard Earnshaw suggested bumping up
> MEMORY_MOVE_COST for FLOAT class and integer mode.  I needed to increase
> the cost quite high, but it does work.

Just out of interest, do you have any numbers indicating the effect of
this on performance?  It'd be nice to know if it really helps (or
really hurts).

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list