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: i386 RTX_COST tweeks take 2


On Wed, Nov 07, 2001 at 01:36:57PM +0100, Jan Hubicka wrote:
> http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01491.html
> 
> It saves one extra copy after expanded multiplies.

Why can't we repair the damage with globals?  Why wouldn't 
fixing this be any different than if the code used a local
variable as an intermediate?

While preserve_subexpressions_p may not be the best heuristic,
not using it consistently is confusing.


r~


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