Closed
Description
GGML.c is using "_mm256_set_m128i" which is not available in GCC 7.5.0.
The workaround is to port the macro definition in GCC 9 directly to GGML.c.
--- a/ggml.c
+++ b/ggml.c
@@ -188,6 +188,12 @@ typedef double ggml_float;
#else
#if !defined(__riscv)
#include <immintrin.h>
+extern __inline __m256i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
+_mm256_set_m128i (__m128i __H, __m128i __L)
+{
+ return _mm256_insertf128_si256 (_mm256_castsi128_si256 (__L), __H, 1);
+}
+
#endif
#endif
#endif