Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
lib/arm/adler32: add NEON+dotprod implementation
This improves Adler-32 performance on large inputs:
CPU Old (GB/s) New (GB/s)
========= ========== ==========
Apple M1 51.5 61.1
Cortex-X1 34.2 45.2
Cortex-A78 16.9 23.3
Cortex-A76 18.2 23.1
Cortex-A55 2.4 4.1
This roughly follows the approach of the old AVX-2 implementation, which
I recently changed to a different approach. But vdotq_u32 (the udot
instruction) makes the approach work well on arm64.- Loading branch information
Showing
1 changed file
with
109 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters