public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/29294]  New: 4.1, 4.2 (possibly 4.0?) not finding postmodify address mode on ARM
@ 2006-09-29 23:37 eplondke at gmail dot com
  2006-09-29 23:38 ` [Bug tree-optimization/29294] " eplondke at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: eplondke at gmail dot com @ 2006-09-29 23:37 UTC (permalink / raw)
  To: gcc-bugs

The attached file benefits greatly from the ARM postincrement address mode.

In 4.1.1 and 4.2 20060923, we no longer get postincrement addressing mode, 
but (base+4) followed by base = base+4

This leads to an increase in instruction count of 40%.

While the test is of course trivial, I see real code not benefiting from 
postmodify quite often while using 4.1.1.

I'm not quite sure if it belongs in tree-optimization, but it comes out of the
expander as separate 

(set (reg B) (plus (reg A) (4))
(set (reg C) (plus (reg A) (4))

which is how it ends up in the assembly....


-- 
           Summary: 4.1, 4.2 (possibly 4.0?) not finding postmodify address
                    mode on ARM
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eplondke at gmail dot com
  GCC host triplet: x86_64-suse-linux
GCC target triplet: arm-unknown-elf


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


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-29294-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-12-20  5:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-29 23:37 [Bug tree-optimization/29294] New: 4.1, 4.2 (possibly 4.0?) not finding postmodify address mode on ARM eplondke at gmail dot com
2006-09-29 23:38 ` [Bug tree-optimization/29294] " eplondke at gmail dot com
2006-09-29 23:42 ` [Bug rtl-optimization/29294] " eplondke at gmail dot com
2006-09-29 23:43 ` pinskia at gcc dot gnu dot org
2006-10-02 19:16 ` eplondke at gmail dot com
2006-10-06 14:56 ` eplondke at gmail dot com
2006-10-06 19:07 ` eplondke at gmail dot com
2006-10-09 16:33 ` ramana dot radhakrishnan at codito dot com
2009-04-21 14:09 ` ramana at gcc dot gnu dot org
2009-12-14 23:22 ` rearnsha at gcc dot gnu dot org
     [not found] <bug-29294-4@http.gcc.gnu.org/bugzilla/>
2012-12-20  4:45 ` siarhei.siamashka at gmail dot com
2012-12-20  5:47 ` siarhei.siamashka at gmail dot com

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).