This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][BZ #16549, #16410] Remove pthread_(cond)wait assembly implementations?
- From: Rich Felker <dalias at aerifal dot cx>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: OndÅej BÃlka <neleai at seznam dot cz>, libc-alpha at sourceware dot org
- Date: Tue, 11 Feb 2014 13:07:58 -0500
- Subject: Re: [RFC][BZ #16549, #16410] Remove pthread_(cond)wait assembly implementations?
- Authentication-results: sourceware.org; auth=none
- References: <20140211172324 dot GA31923 at domone dot podge> <20140211172720 dot 52ABB7445F at topped-with-meat dot com>
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