[RFC][BZ #16549, #16410] Remove pthread_(cond)wait assembly implementations?

Rich Felker dalias@aerifal.cx
Tue Feb 11 18:08:00 GMT 2014


On Tue, Feb 11, 2014 at 09:27:20AM -0800, Roland McGrath wrote:
> These were written in assembly to begin with because C versions did not
> perform adequately.

Is there any record of this having been measured at the time they were
added? I don't have any evidence to refute the claim that the asm
performed measurably better, but I also find it a bit doubtful.

> It's entirely possible the compiler has improved
> enough to change that calculus.  But actual performance analysis is
> required.  

This sounds reasonable.

Rich



More information about the Libc-alpha mailing list