This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: PowerPC: gettimeofday optimization by using IFUNC


Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:

> Hi,
>
> This patch make gettimeofday uses IFUNC and optimizing its call by avoid
> the unnecessary way through glibc's internal __gettimeofday. Any tips,
> advices, comments?

Very nice optimizations. The extra round trip always annoyed me.  And
using IFUNC for it is a nice trick.  Is it possible to do on x86 too?

-- 
ak@linux.intel.com -- Speaking for myself only


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