[PATCH 25/27] S390: Optimize wmemset.
Stefan Liebler
stli@linux.vnet.ibm.com
Mon Jun 29 15:58:00 GMT 2015
On 06/26/2015 03:53 PM, OndÅej BÃlka wrote:
> On Fri, Jun 26, 2015 at 01:51:50PM +0200, Stefan Liebler wrote:
>> This patch provides optimized version of wmemset with the z13 vector
>> instructions.
>>
> Why do you optimize wmemset but not memset?
>
The current memset implementation uses mvc instruction.
It is optimized for setting one byte, which is still the preferred way
for memset. But setting four bytes with mvc is not optimized in this
way and thus only wmemset is optimized with vector instructions.
More information about the Libc-alpha
mailing list