Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edb7c7cd authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu
Browse files

crypto: blowfish - disable AVX2 implementation



It appears that the performance of 'vpgatherdd' is suboptimal for this kind of
workload (tested on Core i5-4570) and causes blowfish-avx2 to be significantly
slower than blowfish-amd64. So disable the AVX2 implementation to avoid
performance regressions.

Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3ef91f21
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -823,6 +823,7 @@ config CRYPTO_BLOWFISH_X86_64
config CRYPTO_BLOWFISH_AVX2_X86_64
	tristate "Blowfish cipher algorithm (x86_64/AVX2)"
	depends on X86 && 64BIT
	depends on BROKEN
	select CRYPTO_ALGAPI
	select CRYPTO_CRYPTD
	select CRYPTO_ABLK_HELPER_X86