[Bug target/11824] [ARM] Parameter passing via stack could be improved

bpringlemeir at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 20 13:59:00 GMT 2013


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.



More information about the Gcc-bugs mailing list