Builtin: stack pointer

Paul_Koning@Dell.com Paul_Koning@Dell.com
Thu Mar 27 15:06:00 GMT 2014


On Mar 27, 2014, at 6:38 AM, Renato Golin <renato.golin@linaro.org> wrote:

> On 27 March 2014 10:29, Andreas Schwab <schwab@suse.de> wrote:
>> Depends on what you need the value for.
> 
> Mostly unwind code that uses both FP and SP, example:

But unwind code is inherently platform-dependent.  Your objection to the inline asm that references SP by name is that it’s platform dependent.  The builtin would reduce the amount of platform dependent code by one line, i.e., probably much less than one percent.

	paul



More information about the Gcc mailing list