[Bug target/40657] allocate local variables with fewer instructions

2012-06-20 Thread aldot at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657 Bernhard Reutner-Fischer aldot at gcc dot gnu.org changed: What|Removed |Added CC||aldot

[Bug target/40657] allocate local variables with fewer instructions

2012-06-20 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657 Bernd Schmidt bernds at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug target/40657] allocate local variables with fewer instructions

2010-07-09 Thread bernds at gcc dot gnu dot org
--- Comment #11 from bernds at gcc dot gnu dot org 2010-07-09 09:03 --- Subject: Bug 40657 Author: bernds Date: Fri Jul 9 09:03:22 2010 New Revision: 161988 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=161988 Log: PR target/40657 * config/arm/arm.c

[Bug target/40657] allocate local variables with fewer instructions

2010-07-02 Thread carrot at google dot com
--- Comment #10 from carrot at google dot com 2010-07-02 17:41 --- The patch optimizes the prologue part only, the epilogue can also be enhanced. Now compile the attached test case, I get push{r0, r1, r2, lr} add r0, sp, #4 bl bar ldr

[Bug target/40657] allocate local variables with fewer instructions

2010-04-27 Thread bernds at gcc dot gnu dot org
--- Comment #8 from bernds at gcc dot gnu dot org 2010-04-27 09:34 --- Subject: Bug 40657 Author: bernds Date: Tue Apr 27 09:34:08 2010 New Revision: 158771 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158771 Log: PR target/40657 * config/arm/arm.c

[Bug target/40657] allocate local variables with fewer instructions

2010-04-27 Thread bernds at gcc dot gnu dot org
--- Comment #9 from bernds at gcc dot gnu dot org 2010-04-27 09:35 --- Fixed. -- bernds at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug target/40657] allocate local variables with fewer instructions

2010-03-31 Thread bernds at codesourcery dot com
--- Comment #7 from bernds at codesourcery dot com 2010-03-31 21:42 --- A patch is at http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01274.html -- bernds at codesourcery dot com changed: What|Removed |Added

[Bug target/40657] allocate local variables with fewer instructions

2009-12-22 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657

[Bug target/40657] allocate local variables with fewer instructions

2009-07-07 Thread carrot at google dot com
--- Comment #5 from carrot at google dot com 2009-07-07 06:44 --- Could we do the optimization in function thumb1_expand_prologue? If we find this opportunity in function thumb1_expand_prologue, we can remove the sp manipulations from prologue and epilogue. We also should add extra

[Bug target/40657] allocate local variables with fewer instructions

2009-07-06 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-07-06 08:16 --- Created an attachment (id=18140) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18140action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657

[Bug target/40657] allocate local variables with fewer instructions

2009-07-06 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2009-07-06 09:13 --- IIRC push-multiple and pop-multiple are not supported yet. Richard E.? -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40657] allocate local variables with fewer instructions

2009-07-06 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-07-06 09:54 --- (In reply to comment #2) IIRC push-multiple and pop-multiple are not supported yet. Richard E.? I am not sure what you mean here. push and pop multiple are supported to the best of the cases that GCC can detect

[Bug target/40657] allocate local variables with fewer instructions

2009-07-06 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2009-07-06 10:43 --- Ah, heh, so you're saying that pushing/popping registers you don't have to save may be a size optimization? That's an interesting idea. But how to do this in GCC... The push {lr} is never even in the RTL. Output