[lkml]   [2014]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 1/4] x86: Use the default ABI for the 32-bit vDSO
On Fri, Feb 28, 2014 at 7:06 AM, H. Peter Anvin <> wrote:
> How many internal function calls are there? It seems we should try to avoid those as much as possible by suitable inlining.

There are no non-static calls at all, except for __x86.get_pc_thunk.
I imagine that gcc is smart enough to improve the calling convention
to non-externally-visible functions.

Amazingly (to me, anyway), the performance of the 32-bit version seems
to be within 1 ns or so of the 64-bit version on SNB. I suspect that
Intel has optimized the crap out of these things.


 \ /
  Last update: 2014-02-28 22:01    [W:0.079 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site