mirror_zfs/module/icp/asm-x86_64/modes
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
..
aesni-gcm-x86_64.S ICP: gcm-avx: Support architectures lacking the MOVBE instruction 2020-03-17 10:24:38 -07:00
gcm_pclmulqdq.S Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00
ghash-x86_64.S ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.cryptogams ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.cryptogams.descrip ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.openssl ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
THIRDPARTYLICENSE.openssl.descrip ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00