mirror_zfs/module/icp
Attila Fülöp 5b3b79559c
ICP: gcm-avx: Support architectures lacking the MOVBE instruction
There are a couple of x86_64 architectures which support all needed
features to make the accelerated GCM implementation work but the
MOVBE instruction. Those are mainly Intel Sandy- and Ivy-Bridge
and AMD Bulldozer, Piledriver, and Steamroller.

By using MOVBE only if available and replacing it with a MOV
followed by a BSWAP if not, those architectures now benefit from
the new GCM routines and performance is considerably better
compared to the original implementation.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Adam D. Moss <c@yotes.com>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Followup #9749 
Closes #10029
2020-03-17 10:24:38 -07:00
..
algs ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
api Static symbols exported by ICP 2020-01-02 18:08:45 -08:00
asm-x86_64 ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
core ICP: Fix null pointer dereference and use after free 2019-12-03 10:28:47 -08:00
include ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
io Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
os Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
spi Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
illumos-crypto.c Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
Makefile.in Fix icp include directories for in-tree build 2020-02-20 08:10:47 -08:00