[PATCH 3/3] powerpc: Use default st{r,p}cpy optimization for POWER7
Tulio Magno Quites Machado Filho
tuliom@linux.vnet.ibm.com
Wed Aug 5 19:01:00 GMT 2015
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> Following the discussion with Ondrej and recent changes to default
> st{r,ṕ}cpy algorithm, this patches uses it for both powerpc64 and
> powerpc64/power7 instead of optimized ones (which will be removed).
> This is faster in all but few inputs (mostly with very short sizes)
> for benchtests.
>
> It removes the default powerpc64 st{r,p}cpy and uses the same
> optimization, since powerpc64 optimized algorithm only uses a
> slight optimized path for both doubleword aligned source and
> destiny and resorting to byte-per-byte access to unaligned inputs.
>
> Checked on powerpc64le and compared bench output in attachments.
LGTM.
Thanks!
--
Tulio Magno
More information about the Libc-alpha
mailing list