[Bug rtl-optimization/48688] [x64]: shift/or instead of lea

2011-04-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48688 --- Comment #5 from Jakub Jelinek 2011-04-20 12:30:10 UTC --- Actually, I've managed to handle this by adding a new define_insn_and_split (*lea_general_4).

[Bug rtl-optimization/48688] [x64]: shift/or instead of lea

2011-04-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48688 Jakub Jelinek changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #4 f

[Bug rtl-optimization/48688] [x64]: shift/or instead of lea

2011-04-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48688 Jakub Jelinek changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug rtl-optimization/48688] [x64]: shift/or instead of lea

2011-04-20 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48688 Richard Guenther changed: What|Removed |Added Keywords||missed-optimization Target

[Bug rtl-optimization/48688] [x64]: shift/or instead of lea

2011-04-19 Thread piotr.wyderski at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48688 --- Comment #1 from Piotr Wyderski 2011-04-19 18:00:50 UTC --- (In reply to comment #0) > If k is small (on x86/x64 k = 1, 2, 4, 8) Of course it should be k = 0, 1, 2, 3, the values above are 1 << k.