[PATCH v2] aarch64: Optimized memset for Kunpeng processor.
Zhangxuelei (Derek)
zhangxuelei4@huawei.com
Mon Nov 4 08:54:00 GMT 2019
Hi Wilco,
> This won't work, when you align like that you need an extra
> unaligned store at the end.
> The easiest solution is not to align and just keep the stp
> and str using dstin.
>
> +2: stp q0, q0, [dst, 32]
> + stp q0, q0, [dstend, -32]
> + ret
>
> Both of these must use dstend since this is the 1-64 bytes for
> the tail part.
Sorry for my mistakes, and I have corrected them in new patch.
Cheers
Xuelei
More information about the Libc-alpha
mailing list