Re: Improve addsi3 for CONST_INT

2011-07-10 Thread Denis Chertykov
2011/7/8 Georg-Johann Lay : > Denis Chertykov wrote: >> 2011/7/7 Georg-Johann Lay: >>> Hi Denis. >> >> I think that it's a good question to discuss inside gcc mailing list. >> May be somebody more qualified person give a better suggestion than me. > > ...bringing this over to gcc mailing list > >>>

Re: Improve addsi3 for CONST_INT

2011-07-08 Thread Joern Rennecke
Quoting Georg-Johann Lay : OPTIMIZE_MODE_SWITCHING looks rempting but it runs prior to reload, and many uses of ZERO or TMP generated in reload or peep2. We would need a pass with similar abilities running after peep2. Actually, optimize_mode_switching used to run after reload, and its EMIT_HA

Improve addsi3 for CONST_INT

2011-07-08 Thread Georg-Johann Lay
Denis Chertykov wrote: > 2011/7/7 Georg-Johann Lay: >> Hi Denis. > > I think that it's a good question to discuss inside gcc mailing list. > May be somebody more qualified person give a better suggestion than me. ...bringing this over to gcc mailing list >> I think about improving addsi3 insn wh