This is the mail archive of the gcc-patches@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]

Re: Code size problem with [ARM PATCH] Protect stack pointer


> Dear Nathan and all,
> 
> For your information.
> 
> This bug-fix patch
> http://gcc.gnu.org/ml/gcc-patches/2003-10/msg01414.html
> caused significant code size increase, as measured using the CSiBE 
> benchmark:
> http://sed.inf.u-szeged.hu/csibe/observations.php
> 
> Please consider some refinement, if possible!
> 
> Best regards,
>    Arpad Beszedes

This is a necessary consequence of avoiding an ABI violation that becomes 
very significant when running code on an ARMv6 processor.  The best 
solution all round is to not use a frame pointer at all 
(-fomit-frame-pointer -mno-apcs-frame).

R.


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