arm64: use SHA3 instructions to speed up XOR
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64/xor: use static calls for inner NEON helpersarch/ arch/ | +31 | 0 replies | |
| 2/2 | arm64/xor: use EOR3 instructions when availablearch/ arch/ | +148 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] arm64: use SHA3 instructions to speed up XOR
If available, use the 3-way EOR3 instruction that is part of the SHA3 extension rather than the ordinary 2-way EOR NEON instruction. Doing so speeds up XOR processing by ~20% on Apple M1 when using the 5-way version.
This is also useful as a canary for spotting regressions in the static call API, as we export a static call from one module and consume it in another.
Cc Mark Rutland <[email protected]>
Cc Peter Zijlstra <[email protected]>
Ard Biesheuvel (2):
arm64/xor: use static calls for inner NEON helpers arm64/xor: use EOR3 instructions when available
arch/arm64/Kconfig | 3 + arch/arm64/include/asm/xor.h | 24 ++- arch/arm64/lib/xor-neon.c | 165 +++++++++++++++++++- 3 files changed, 179 insertions(+), 13 deletions(-)
Signature · 7 lines
2.30.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel