This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11824] [ARM] Parameter passing via stack could be improved
- From: "bpringlemeir at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Apr 2013 13:59:19 +0000
- Subject: [Bug target/11824] [ARM] Parameter passing via stack could be improved
- Auto-submitted: auto-generated
- References: <bug-11824-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11824
Bill Pringlemeir <bpringlemeir at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bpringlemeir at gmail dot
| |com
--- Comment #4 from Bill Pringlemeir <bpringlemeir at gmail dot com> 2013-04-20 13:59:19 UTC ---
As far as I understand, the instruction stream is smaller, but there are two
extra memory writes to adjust the stack. This optimization is only important
for '-Os'. Generally, it will slow the code as data writes and code fetches
are generally the same cost and this trades 2 for 1.