Searched hist:"2 c54b423cf85baed5ad9f9546f6c8ea741774a06" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/arm64/lib/ |
H A D | xor-neon.c | diff 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 D | Makefile | diff 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 D | Kconfig | diff 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>
|