how to fix anti-optimization?

Dale Johannesen dalej@apple.com
Thu Sep 13 11:03:00 GMT 2001


On Thursday, September 13, 2001, at 10:50 AM, David Edelsohn wrote:

> 	Is GCC's "cost" model involved anywhere in the path?  For PowerPC,
> the cost of CONST_INT and CONST_DOUBLE are zero while FP memory costs are
> bumped up.

No, it isn't.  I looked at this; the substitution is done on trees, so 
this is too early, isn't it?  CONST_COSTS (etc.) works on rtl.
I appreciate the suggestions, and will be trying Richard Henderson's later 
today.



More information about the Gcc mailing list