zfs/module/icp/asm-x86_64
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
..
aes Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
modes ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
sha1 [icp] fpu and asm cleanup for linux 2017-03-07 12:59:31 -08:00
sha2 Clang fixes 2017-07-05 10:38:20 -07:00