public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/53114] New: Extra load store/instructions compared to gcc-3.4 on ARM
@ 2012-04-25 13:34 mr.kayrick at gmail dot com
  2012-04-25 13:36 ` [Bug tree-optimization/53114] " mr.kayrick at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mr.kayrick at gmail dot com @ 2012-04-25 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53114
           Summary: Extra load store/instructions compared to gcc-3.4 on
                    ARM
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mr.kayrick@gmail.com


Created attachment 27236
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27236
Shell sort function

Hi guys,
I have a test case (shell sort, see attached) compiled with different
ARM compilers:
GCC-4.6.3, GCC-3.4.6, and ARMCC.

Both ARMCC and GCC-3.4.6  generate quite optimal assembly while GCC-4.6.3
inserts extra load/store instructions compared to the other compilers.

Can the SSA representation usage in modern GCC be the reason for this?

If so, has anyone tried to do something about it?

% armcc
ARM C/C++ Compiler, 4.1 [Build 713]

The file has been compiled with following options:
for GCC:
-O3
for ARMCC:
-O3 -Otime


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

end of thread, other threads:[~2012-11-28  3:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 13:34 [Bug tree-optimization/53114] New: Extra load store/instructions compared to gcc-3.4 on ARM mr.kayrick at gmail dot com
2012-04-25 13:36 ` [Bug tree-optimization/53114] " mr.kayrick at gmail dot com
2012-04-25 13:36 ` mr.kayrick at gmail dot com
2012-04-25 13:37 ` mr.kayrick at gmail dot com
2012-04-26  7:55 ` mr.kayrick at gmail dot com
2012-11-28  3:29 ` ramana at gcc dot gnu.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).