public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/31849]  New: Code size regression caused by fix to PR 31360
@ 2007-05-07  0:05 rearnsha at gcc dot gnu dot org
  2007-05-07  0:06 ` [Bug rtl-optimization/31849] " rearnsha at gcc dot gnu dot org
                   ` (49 more replies)
  0 siblings, 50 replies; 51+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2007-05-07  0:05 UTC (permalink / raw)
  To: gcc-bugs

The fix to PR31360 has caused significant code size regressions on ARM-EABI. 
An example of this is from zlib (adler32.c) and is attached, compile with -Os
-mcpu=arm7tdmi -fno-short-enums -w 

The new code:
1) Hoists a register containing 0 out of the loop
2) Uses that *only* as a copy into another register (mov reg, #0 costs exactly
the same as mov reg, reg)
3) By doing the above, somehow prevents the post-increment sequence from being
found.
4) Forces another register to be saved by the function.


-- 
           Summary: Code size regression caused by fix to PR 31360
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rearnsha at gcc dot gnu dot org
GCC target triplet: arm-none-eabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2010-07-20 22:12 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-07  0:05 [Bug rtl-optimization/31849] New: Code size regression caused by fix to PR 31360 rearnsha at gcc dot gnu dot org
2007-05-07  0:06 ` [Bug rtl-optimization/31849] " rearnsha at gcc dot gnu dot org
2007-05-07  1:36 ` pinskia at gcc dot gnu dot org
2007-05-07  3:14 ` [Bug rtl-optimization/31849] [4.2/4.3 Regression] " steven at gcc dot gnu dot org
2007-05-07  8:35 ` rearnsha at gcc dot gnu dot org
2007-05-07  8:39 ` rakdver at kam dot mff dot cuni dot cz
2007-05-07  8:46 ` stevenb dot gcc at gmail dot com
2007-05-07  9:43 ` rearnsha at gcc dot gnu dot org
2007-05-07 10:22 ` rakdver at gcc dot gnu dot org
2007-05-07 12:50 ` rearnsha at gcc dot gnu dot org
2007-05-07 12:57 ` pinskia at gcc dot gnu dot org
2007-05-07 13:25 ` rakdver at gcc dot gnu dot org
2007-06-30  9:09 ` [Bug rtl-optimization/31849] [4.3 " pinskia at gcc dot gnu dot org
2007-07-04 13:33 ` rakdver at gcc dot gnu dot org
2007-09-05  1:24 ` mmitchel at gcc dot gnu dot org
2007-11-24 18:43 ` [Bug tree-optimization/31849] " ebotcazou at gcc dot gnu dot org
2007-11-24 19:08 ` rakdver at gcc dot gnu dot org
2007-11-24 19:19 ` ebotcazou at gcc dot gnu dot org
2007-11-24 21:53 ` rakdver at kam dot mff dot cuni dot cz
2007-11-24 21:56 ` rakdver at gcc dot gnu dot org
2007-11-24 22:28 ` rakdver at gcc dot gnu dot org
2007-11-26  0:48 ` rakdver at gcc dot gnu dot org
2007-11-26  0:49 ` rakdver at gcc dot gnu dot org
2007-11-26  0:53 ` mmitchel at gcc dot gnu dot org
2007-11-26  1:12 ` rakdver at kam dot mff dot cuni dot cz
2007-11-26  1:24 ` pinskia at gcc dot gnu dot org
2007-11-26  1:43 ` rakdver at kam dot mff dot cuni dot cz
2007-11-26  5:08 ` rakdver at gcc dot gnu dot org
2007-11-26  9:05 ` steven at gcc dot gnu dot org
2008-01-27 17:25 ` steven at gcc dot gnu dot org
2008-02-12  0:33 ` alexandre dot nunes at gmail dot com
2008-03-14 16:48 ` [Bug tree-optimization/31849] [4.3/4.4 Regression] Code size increased with PR 31360 (IV-opts not understanding autoincrement) rguenth at gcc dot gnu dot org
2008-05-23 23:37 ` hp at gcc dot gnu dot org
2008-06-06 14:58 ` rguenth at gcc dot gnu dot org
2008-06-13 14:35 ` pinskia at gcc dot gnu dot org
2008-07-15 19:33 ` joel at gcc dot gnu dot org
2008-07-15 19:37 ` joel at gcc dot gnu dot org
2008-08-27 22:04 ` jsm28 at gcc dot gnu dot org
2008-10-22 13:18 ` amylaar at gcc dot gnu dot org
2008-12-10  4:31 ` amylaar at gcc dot gnu dot org
2008-12-10  5:30 ` amylaar at gcc dot gnu dot org
2008-12-10 22:32 ` stevenb dot gcc at gmail dot com
2008-12-11  2:09 ` amylaar at gcc dot gnu dot org
2009-01-24 10:20 ` rguenth at gcc dot gnu dot org
2009-03-06 15:30 ` alexandre dot nunes at gmail dot com
2009-03-06 15:55 ` amylaar at gcc dot gnu dot org
2009-08-04 12:36 ` [Bug tree-optimization/31849] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-02-04 16:04 ` steven at gcc dot gnu dot org
2010-02-10 10:42 ` steven at gcc dot gnu dot org
2010-05-22 18:18 ` [Bug tree-optimization/31849] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
2010-07-20 22:12 ` steven at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).