Skip to content
Snippets Groups Projects
Commit e2fbba20 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'amd' into 'master'

Adapt an ifdef for AMD Epyc 7003

See merge request !236
parents bb667c68 4812968d
No related branches found
No related tags found
1 merge request!236Adapt an ifdef for AMD Epyc 7003
Pipeline #31774 passed with warnings
......@@ -354,7 +354,7 @@ QUALIFIERS const std::array<__m256i,11> & aesni_roundkeys(const __m256i & k256)
}
QUALIFIERS __m256i aesni1xm128i(const __m256i & in, const __m256i & k0) {
#if defined(__VAES__) && defined(__AVX512VL__)
#if defined(__VAES__)
auto k = aesni_roundkeys(k0);
__m256i x = _mm256_xor_si256(k[0], in);
x = _mm256_aesenc_epi128(x, k[1]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment