diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-10 22:58:16 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-11 00:25:22 +0100 |
commit | 9bcb361ddb54932c9c610e83537e9b2e6c7fc893 (patch) | |
tree | adce336d1da5f6e8463828c5104fc8855ce19070 /src/crypto/blake2s.c | |
parent | b4516dded2e85ef5b5338605403f2b8904c91f82 (diff) |
chacha20poly1305: wire up avx512vl for skylake-x
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/blake2s.c')
-rw-r--r-- | src/crypto/blake2s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/blake2s.c b/src/crypto/blake2s.c index 1f4052d..c0b95be 100644 --- a/src/crypto/blake2s.c +++ b/src/crypto/blake2s.c @@ -121,7 +121,7 @@ void __init blake2s_fpu_init(void) { blake2s_use_avx = boot_cpu_has(X86_FEATURE_AVX) && cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM, NULL); #ifndef COMPAT_CANNOT_USE_AVX512 - blake2s_use_avx512 = boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has(X86_FEATURE_AVX512F) && boot_cpu_has(X86_FEATURE_AVX512VL) && cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM | XFEATURE_MASK_ZMM_Hi256, NULL); + blake2s_use_avx512 = boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_AVX2) && boot_cpu_has(X86_FEATURE_AVX512F) && boot_cpu_has(X86_FEATURE_AVX512VL) && cpu_has_xfeatures(XFEATURE_MASK_SSE | XFEATURE_MASK_YMM | XFEATURE_MASK_AVX512, NULL); #endif } #ifdef CONFIG_AS_AVX |