aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2021-12-13 15:02:52 +0100
committerCatalin Marinas <[email protected]>2021-12-14 12:14:26 +0000
commit2c54b423cf85baed5ad9f9546f6c8ea741774a06 (patch)
tree010e8a49aceae84010145ca1e51ed3e3d476a2c5 /drivers/usb/cdns3/cdns3-imx.c
parentd58071a8a76d779eedab38033ae4c821c30295a5 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions