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: [PATCH 2/3] Remove x86 assembler rwlock code


On 05/06/2014 05:36 PM, Andi Kleen wrote:
> From: Andi Kleen <ak@odo.jf.intel.com>
> 
> With the recent tuning the C version of rwlocks is basically the same
> performance as the x86 assembler version for uncontended locks (with a
> a few cycles near the run-to-run variability). For others it should not
> matter anyways.
> 
> So remove the assembler code and use the C version like other
> architectures.

Is there an objective microbenchmark we can add to the benchmark suite
that shows the assembly and C are roughly equivalent?

Cheers,
Carlos.


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