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, AArch64] Add optimized strchr.


On 17/06/14 11:37, Will Newton wrote:
> On 11 June 2014 11:54, Richard Earnshaw <rearnsha@arm.com> wrote:
> 
> Hi Richard,
> 
>> Implementation of strchr for AArch64.  Speedups taken from micro-bench
>> show the improvements relative to the standard C code.
>>
>> The use of LD1 means we have identical code for both big- and
>> little-endian systems.
>>
>> A speedup (which is taken as the time to run the reference version
>> divided by the time to run the new version) >1 implies an improvement
>> (<1 a regression).  The table only shows one sample that regresses and
>> that's by marginally less than 1%.  The geomean for all the samples is
>> 1.58.
>>
>> Measurements are on Cortex-A57.
>>
>> <date>  Richard Earnshaw  <rearnsha@arm.com>
>>
>>         * sysdeps/aarch64/strchr.S: New file.
>>
>> OK?
> 
> Some of the indentation around the defines of tmp1 and vrepchr seems a
> bit off, but other than that this looks OK.
> 

vrepchr is fine (it's the + at the beginning of the line in patch format
that causes the tab to go one column more).

tmp1 has a tab rather than a space between the define and tmp1, that
should preferably be replaced with a normal space but it's not a real
problem.

R.


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