mirror_zfs/module/icp/algs
Attila Fülöp 3d09d3809b 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-05-12 10:53:32 -07:00
..
aes Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08: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-05-12 10:53:32 -07:00
sha1 SPARC optimizations for Encode() 2017-10-12 01:36:16 +08:00
sha2 Encryption patch follow-up 2017-10-11 16:54:48 -04:00
skein Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00