diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-06-02 12:51:47 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-05 04:33:22 -0400 |
commit | 3ef91f21a66826cf1003bb7b3c51ac2de4c28182 (patch) | |
tree | 70196d4c039d76131a86ca9e41d66ee1ad5d8262 /crypto | |
parent | de614e561b9c633073caae8f86399aa8923ef85d (diff) |
crypto: twofish - disable AVX2 implementation
It appears that the performance of 'vpgatherdd' is suboptimal for this kind of
workload (tested on Core i5-4570) and causes twofish_avx2 to be significantly
slower than twofish_avx. So disable the AVX2 implementation to avoid
performance regressions.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 622d8a48cbe9..27720af741b4 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -1299,6 +1299,7 @@ config CRYPTO_TWOFISH_AVX_X86_64 | |||
1299 | config CRYPTO_TWOFISH_AVX2_X86_64 | 1299 | config CRYPTO_TWOFISH_AVX2_X86_64 |
1300 | tristate "Twofish cipher algorithm (x86_64/AVX2)" | 1300 | tristate "Twofish cipher algorithm (x86_64/AVX2)" |
1301 | depends on X86 && 64BIT | 1301 | depends on X86 && 64BIT |
1302 | depends on BROKEN | ||
1302 | select CRYPTO_ALGAPI | 1303 | select CRYPTO_ALGAPI |
1303 | select CRYPTO_CRYPTD | 1304 | select CRYPTO_CRYPTD |
1304 | select CRYPTO_ABLK_HELPER_X86 | 1305 | select CRYPTO_ABLK_HELPER_X86 |