解决不支持avx指令集的x86环境编译失败问题

This commit is contained in:
wlff
2024-12-26 20:34:20 +08:00
committed by wlff234
parent 4132fa7a2c
commit 9f74ccc8ba

View File

@ -709,7 +709,7 @@ VectorL2SquaredDistance(int dim, float *ax, float *bx)
}
return distance;
}
#elif defined(__x86_64__)
#elif defined(__x86_64__) && defined(__AVX__)
static inline __m128 masked_read(int d, const float *x)
{
__attribute__((__aligned__(16))) float buf[4];