This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [PATCH] ARM: Add pointer guard support.


On 25 September 2013 17:59, Andrew Haley <aph@redhat.com> wrote:
> On 09/25/2013 05:23 PM, Will Newton wrote:
>> From a back of the envelope calculation the cost of accessing TLS is
>> one cycle faster than accessing a global in best case (e.g.
>> Cortex-A15)
>
> Why is TLS so fast on Cortex-A15?

I don't have exact numbers but the mrc instruction used to load the
thread pointer into a general purpose register has very variable
timings depending on which core you have. A15 is the fastest of the
Cortex-A cores in this regard.


-- 
Will Newton
Toolchain Working Group, Linaro


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