Home
last modified time | relevance | path

Searched hist:"2 c54b423cf85baed5ad9f9546f6c8ea741774a06" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm64/lib/
H A Dxor-neon.cdiff 2c54b423cf85baed5ad9f9546f6c8ea741774a06 Mon Dec 13 08:02:52 CST 2021 Ard Biesheuvel <ardb@kernel.org> arm64/xor: use EOR3 instructions when available

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.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20211213140252.2856053-1-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
/openbmc/linux/arch/arm64/
H A DMakefilediff 2c54b423cf85baed5ad9f9546f6c8ea741774a06 Mon Dec 13 08:02:52 CST 2021 Ard Biesheuvel <ardb@kernel.org> arm64/xor: use EOR3 instructions when available

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.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20211213140252.2856053-1-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
H A DKconfigdiff 2c54b423cf85baed5ad9f9546f6c8ea741774a06 Mon Dec 13 08:02:52 CST 2021 Ard Biesheuvel <ardb@kernel.org> arm64/xor: use EOR3 instructions when available

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.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20211213140252.2856053-1-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>