SSE conversion optimization

Jan Hubicka jh@suse.cz
Sun Sep 9 00:00:00 GMT 2007


> On Sun, Sep 09, 2007 at 12:02:28AM +0200, Jan Hubicka wrote:
> > Hi,
> > Amdfam10 preffers doing packed conversions destinating SSE register rather than scalar.
> > This means basically following replacments:
> > 
> > -      cvtsi2sd -> movd + cvtdq2pd
> > -      cvtsi2ss -> movd + cvtdq2ps
> 
> Can you disable them for -mtune=generic if an extra pair of
> memory load/store is added?

You mean doing it only for conversion from memory operand_  Yes, that
should be quite easy, I will send you updated patch.

Honza
> 
> Thanks.
> 
> 
> H.J.



More information about the Gcc-patches mailing list