From 6b3373cb811435a678493467f81f2ec8e89f7a32 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 29 May 2023 22:06:12 +0800 Subject: [PATCH] revert bad fix --- ggml.c | 5 ----- otherarch/ggml_v2.c | 5 ----- 2 files changed, 10 deletions(-) diff --git a/ggml.c b/ggml.c index 3cbc89fcf..1b4f64440 100644 --- a/ggml.c +++ b/ggml.c @@ -188,11 +188,6 @@ typedef double ggml_float; #else #if !defined(__riscv) #include -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 diff --git a/otherarch/ggml_v2.c b/otherarch/ggml_v2.c index 6972ae50e..097742e7a 100644 --- a/otherarch/ggml_v2.c +++ b/otherarch/ggml_v2.c @@ -187,11 +187,6 @@ typedef double ggml_v2_float; #else #if !defined(__riscv) #include -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