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 3/3] powerpc: Use default st{r,p}cpy optimization for POWER7


On Tue, 2015-07-28 at 21:52 -0300, Adhemerval Zanella wrote:
> 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.
> 

Hold off for bit on this. There is some concern that the benchmark used
to justify this optimization may not be representative. We need time to
review the code and the benchmark before accepting this change.



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