This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: how to fix anti-optimization?



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]