[PATCH v2] arm64/xor: use EOR3 instructions when available

Catalin Marinas catalin.marinas at arm.com
Mon Dec 13 11:19:03 PST 2021


On Mon, 13 Dec 2021 15:02:52 +0100, Ard Biesheuvel wrote:
> Use the EOR3 instruction to implement xor_blocks() if the instruction is
> available, which is the case if the CPU implements the SHA-3 extension.
> This is about 20% faster on Apple M1 when using the 5-way version.
> 
> 

Applied to arm64 (for-next/xor-neon), thanks!

[1/1] arm64/xor: use EOR3 instructions when available
      https://git.kernel.org/arm64/c/ce9ba49a2460

-- 
Catalin




More information about the linux-arm-kernel mailing list