mirror_zfs/module/icp/algs
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 Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
edonr Update build system and packaging 2018-05-29 16:00:33 -07:00
modes ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
sha1 Fix icp build on FreeBSD 2019-11-01 10:27:53 -07:00
sha2 Encryption patch follow-up 2017-10-11 16:54:48 -04:00
skein Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00