From f5c9b87ee707a9952e146deafbbd8d490240a982 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 10 Jun 2024 10:48:16 +0200 Subject: [PATCH] Fix build issue with gcc on AVX512 --- libsrc/core/simd_avx512.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/core/simd_avx512.hpp b/libsrc/core/simd_avx512.hpp index b1f74a21..490ffed1 100644 --- a/libsrc/core/simd_avx512.hpp +++ b/libsrc/core/simd_avx512.hpp @@ -111,7 +111,7 @@ namespace ngcore template void SIMD_function (const Function & func, std::true_type) { - data = (__m512){ func(7), func(6), func(5), func(4), + data = (__m512d){ func(7), func(6), func(5), func(4), func(3), func(2), func(1), func(0) }; }