From a85f336ba172acda4aa8881476fda60b8f88ba2f Mon Sep 17 00:00:00 2001 From: rrahn Date: Thu, 22 Aug 2024 17:16:38 +0200 Subject: [PATCH] Use explicit _MM_PERM_ENUM type for intrinsics. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77633 for discussion. --- include/seqan3/utility/simd/detail/simd_algorithm_avx512.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/seqan3/utility/simd/detail/simd_algorithm_avx512.hpp b/include/seqan3/utility/simd/detail/simd_algorithm_avx512.hpp index 75745223c2..65493e00f1 100644 --- a/include/seqan3/utility/simd/detail/simd_algorithm_avx512.hpp +++ b/include/seqan3/utility/simd/detail/simd_algorithm_avx512.hpp @@ -270,7 +270,7 @@ constexpr simd_t extract_eighth_avx512(simd_t const & src) // for uneven index exchange higher 64 bits with lower 64 bits for each 128 bit lane. if constexpr (index % 2 == 1) - tmp = _mm512_shuffle_epi32(tmp, 0b0100'1110); // := [1, 0, 3, 2]. + tmp = _mm512_shuffle_epi32(tmp, static_cast<_MM_PERM_ENUM>(0b0100'1110)); // := [1, 0, 3, 2]. return reinterpret_cast(_mm512_castsi128_si512(_mm512_extracti64x2_epi64(tmp, index / 2))); }