[PATCHv3] powerpc: Replace lxvd2x/stxvd2x with lvx/stvx in P7's memcpy/memmove
Carlos O'Donell
carlos@redhat.com
Wed Oct 25 18:43:00 GMT 2017
On 10/25/2017 08:17 AM, Tulio Magno Quites Machado Filho wrote:
> Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
>
>> On 20/10/2017 17:22, Tulio Magno Quites Machado Filho wrote:
>>> From: Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
>>>
>>> POWER9 DD2.1 and earlier has an issue where some cache inhibited
>>> vector load traps to the kernel, causing a performance degradation. To
>>> handle this in memcpy and memmove, lvx/stvx is used for aligned
>>> addresses instead of lxvd2x/stxvd2x.
>>>
>>> Reference: https://patchwork.ozlabs.org/patch/814059/
>>>
>>> 2017-10-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
>>>
>>> * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
>>> lxvd2x/stxvd2x with lvx/stvx.
>>> * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
>>>
>>> Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>>
>> |Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>|
>
> Pushed as 63da5cd4a09.
Raji, Adhemerval, Tulio,
Thank you all for fixing this up!
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list