[llvmlinux] Builtin: stack pointer

Paul_Koning at Dell.com Paul_Koning at Dell.com
Thu Mar 27 15:06:07 UTC 2014


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

> On 27 March 2014 10:29, Andreas Schwab <schwab at 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 LLVMLinux mailing list