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
* [Bug tree-optimization/53114] Extra load store/instructions compared to gcc-3.4 on ARM 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 ` mr.kayrick at gmail dot com 2012-04-25 13:36 ` mr.kayrick at gmail dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mr.kayrick at gmail dot com @ 2012-04-25 13:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53114 --- Comment #1 from Alexey Kravets <mr.kayrick at gmail dot com> 2012-04-25 13:35:47 UTC --- Created attachment 27237 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27237 Assembly generated by ARMCC ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/53114] Extra load store/instructions compared to gcc-3.4 on ARM 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 ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: mr.kayrick at gmail dot com @ 2012-04-25 13:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53114 --- Comment #2 from Alexey Kravets <mr.kayrick at gmail dot com> 2012-04-25 13:36:35 UTC --- Created attachment 27238 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27238 Assembly generated by GCC-4.6.3 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/53114] Extra load store/instructions compared to gcc-3.4 on ARM 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 4 siblings, 0 replies; 6+ messages in thread From: mr.kayrick at gmail dot com @ 2012-04-25 13:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53114 --- Comment #3 from Alexey Kravets <mr.kayrick at gmail dot com> 2012-04-25 13:37:02 UTC --- Created attachment 27239 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27239 Assembly generated by GCC-3.4.6 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/53114] Extra load store/instructions compared to gcc-3.4 on ARM 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 ` (2 preceding siblings ...) 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 4 siblings, 0 replies; 6+ messages in thread From: mr.kayrick at gmail dot com @ 2012-04-26 7:55 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53114 --- Comment #4 from Alexey Kravets <mr.kayrick at gmail dot com> 2012-04-26 07:55:25 UTC --- -fno-ivopts option fixed this issue (thanks to Alexander Monakov ), so there is an induction variables optimization issue. http://gcc.gnu.org/ml/gcc/2012-04/msg00815.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/53114] Extra load store/instructions compared to gcc-3.4 on ARM 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 ` (3 preceding siblings ...) 2012-04-26 7:55 ` mr.kayrick at gmail dot com @ 2012-11-28 3:29 ` ramana at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: ramana at gcc dot gnu.org @ 2012-11-28 3:29 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53114 Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-11-28 CC| |ramana at gcc dot gnu.org Ever Confirmed|0 |1 ^ 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).