[PATCH 5/5] x86_64: Add evex optimized bcmp implementation in bcmp-evex.S
Carlos O'Donell
carlos@redhat.com
Tue Sep 14 01:18:37 GMT 2021
On 9/13/21 7:05 PM, Noah Goldstein via Libc-alpha wrote:
> No bug. This commit adds new optimized bcmp implementation for evex.
>
> The primary optimizations are 1) skipping the logic to find the
> difference of the first mismatched byte and 2) not updating src/dst
> addresses as the non-equals logic does not need to be reused by
> different areas.
>
> The entry alignment has been fixed at 64. In throughput sensitive
> functions which bcmp can potentially be frontend loop performance is
> important to opimized for. This is impossible/difficult to do/maintain
> with only 16 byte fixed alignment.
>
> test-memcmp, test-bcmp, and test-wmemcmp are all passing.
This series fails in the containerized 32-bit x86 CI/CD regression tester.
https://patchwork.sourceware.org/project/glibc/patch/20210913230506.546749-5-goldstein.w.n@gmail.com/
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list