This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]