[PATCH v4] aarch64: thunderx2 memcpy optimizations for ext-based code path
Anton Youdkevitch
anton.youdkevitch@bell-sw.com
Mon Mar 25 21:52:00 GMT 2019
Wilco,
I appreciate you comments very much. Here is the patch
considering the points you made.
1. Always taken conditional branch at the beginning is
removed.
2. Epilogue code is placed after the end of the loop to
reduce the number of branches.
3. The redundant "mov" instructions inside the loop are
gone due to the changed order of the registers in the ext
instructions inside the loop.
4. Invariant code in the loop epilogue is no more
repeated for each ext chunk.
make check shows no regression
--
Thanks,
Anton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memcpy-ext-4.patch
Type: text/x-diff
Size: 2152 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190325/ac019558/attachment.bin>
More information about the Libc-alpha
mailing list