This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] Improve strcpy: Faster unaligned loads.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, libc-alpha at sourceware dot org
- Date: Mon, 09 Sep 2013 16:00:41 -0400
- Subject: Re: [PATCH 2/2] Improve strcpy: Faster unaligned loads.
- Authentication-results: sourceware.org; auth=none
- References: <20130909153051 dot GA23047 at domone dot kolej dot mff dot cuni dot cz> <20130909161112 dot GB23047 at domone dot kolej dot mff dot cuni dot cz> <mvmbo42dkiq dot fsf at hawking dot suse dot de> <20130909171703 dot GA32141 at domone dot kolej dot mff dot cuni dot cz> <87ob81c1yk dot fsf at igel dot home> <20130909191829 dot GA997 at domone dot kolej dot mff dot cuni dot cz>
On 09/09/2013 03:18 PM, OndÅej BÃlka wrote:
> On Mon, Sep 09, 2013 at 07:57:39PM +0200, Andreas Schwab wrote:
>> OndÅej BÃlka <neleai@seznam.cz> writes:
>>
>>> On Mon, Sep 09, 2013 at 06:31:25PM +0200, Andreas Schwab wrote:
>>>> OndÅej BÃlka <neleai@seznam.cz> writes:
>>>>
>>>>> * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned-new.S: New implementation.
>>>>
>>>> Calling something new is becoming outdated soon.
>>>>
>>> That was because I first wanted to move strcpy-sse2-unaligned to
>>> strcpy-sse2-unaligned-old.S
>>
>> Calling something old isn't better, "new" old things coming along soon.
>>
> Should I then put it to strncpy-sse2-unaligned.S and add conditionals?
>
I suggest using a `vN' implementation name to be able to easily
have multiple versions.
Therefore I suggest calling your copy `strcpy-sse2-unaligned-v2.S',
and leave the old one as-is.
Cheers,
Carlos.