[Bug rtl-optimization/40314] inefficient address calculation of fields of large struct

2010-03-20 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug rtl-optimization/40314] inefficient address calculation of fields of large struct

2009-05-31 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-05-31 07:22 --- I think we have enough passes already and should try to stuff this in cse.c and fwprop.c. See PR middle-end/33699 for related issues. -- ebotcazou at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/40314] inefficient address calculation of fields of large struct

2009-05-31 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2009-05-31 08:05 --- (In reply to comment #3) I think we have enough passes already and should try to stuff this in cse.c and fwprop.c. See PR middle-end/33699 for related issues. It looks that patch solved some similar issues. But

[Bug rtl-optimization/40314] inefficient address calculation of fields of large struct

2009-05-30 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-05-31 02:42 --- Created an attachment (id=17940) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17940action=view) test case to show the opportunity -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40314

[Bug rtl-optimization/40314] inefficient address calculation of fields of large struct

2009-05-30 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2009-05-31 02:51 --- There are a lot of such opportunities in mcf from SPEC CPU 2006. One possible implementation is to add a pass before cse. In the new pass it should detect insn patterns like: (set r200 400) # 400 is