From 70c2b6c6964bc692eda66a9501b634413dd85131 Mon Sep 17 00:00:00 2001 From: 3ooabkhxtn <3ooabkhxtn@local> Date: Fri, 12 May 2023 13:32:00 +0000 Subject: [PATCH] Put __SSE3__ into defined() --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index f5b470cc0..f4f5789aa 100644 --- a/ggml.c +++ b/ggml.c @@ -472,7 +472,7 @@ static const size_t CACHE_LINE_SIZE_F32 = CACHE_LINE_SIZE/sizeof(float); // quantization // -#if __AVX__ || __AVX2__ || __AVX512F__ || __SSE3__ +#if __AVX__ || __AVX2__ || __AVX512F__ || defined(__SSE3__) // multiply int8_t, add results pairwise twice static inline __m128i mul_sum_i8_pairs(const __m128i x, const __m128i y) { // Get absolute values of x vectors