Put __SSE3__ into defined()

This commit is contained in:
3ooabkhxtn 2023-05-12 13:32:00 +00:00
parent ca54314a2f
commit 70c2b6c696

2
ggml.c
View file

@ -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