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 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.

-- 
Will Newton
Toolchain Working Group, Linaro


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