[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-02-21 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 Jakub Jelinek changed: What|Removed |Added Target Milestone|4.6.0 |4.7.0

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-02-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 --- Comment #8 from Richard Guenther 2011-02-08 14:39:25 UTC --- (In reply to comment #7) > forwprop is a forward walk, for this kind of optimization we want to walk > backwards, from the narrowing integer conversion to the operations and > when

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-02-08 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 Richard Guenther changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 --- Comment #7 from Jakub Jelinek 2011-01-29 19:40:25 UTC --- forwprop is a forward walk, for this kind of optimization we want to walk backwards, from the narrowing integer conversion to the operations and whenever we change some operation see i

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-28 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 --- Comment #6 from Richard Guenther 2011-01-28 11:04:19 UTC --- (In reply to comment #4) > Alternatively, this narrowing of > word mode operations could as well be done > during tree optimizations. I think the FE is the only place which perform

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-27 Thread tony.poppleton at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 --- Comment #5 from Tony Poppleton 2011-01-27 17:58:12 UTC --- The modified testcase in comment #4 also fixes the original bug with redundent push/pop of BX (as described in PR35926), so fixing this during tree optimizations would be good.

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-27 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 Jakub Jelinek changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comment #4 fro

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-27 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 --- Comment #3 from Jakub Jelinek 2011-01-27 17:21:04 UTC --- Not so easily, addsi3_cc is quite specialized pattern and if we add peepholes to help with reg1 = reg1 op reg2; reg2 = reg1 [reg1 DEAD]; I think we'd add it only for a couple of most c

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-27 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 Richard Guenther changed: What|Removed |Added Target|i686|i?86-*-* --- Comment #2 from Richard G

[Bug rtl-optimization/47477] [4.6 regression] Sub-optimal mov at end of method

2011-01-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47477 H.J. Lu changed: What|Removed |Added Target||i686 Status|UNCONFIRMED