diff --git a/lib/src/phy/utils/vector.c b/lib/src/phy/utils/vector.c index d1961011e..26be1b2b4 100644 --- a/lib/src/phy/utils/vector.c +++ b/lib/src/phy/utils/vector.c @@ -39,6 +39,13 @@ #include "volk/volk.h" #endif +#ifdef DEBUG_MODE +#warning FIXME: Disabling SSE/AVX vector code +#undef LV_HAVE_SSE +#undef LV_HAVE_AVX +#endif + + int srslte_vec_acc_ii(int *x, uint32_t len) { int i; int z=0; @@ -295,21 +302,17 @@ void srslte_vec_lut_fuf(float *x, uint32_t *lut, float *y, uint32_t len) { } void srslte_vec_lut_sss(short *x, unsigned short *lut, short *y, uint32_t len) { -#ifdef DEBUG_MODE -#warning FIXME: Disabling SSE/AVX in srslte_vec_lut_sss -#else -#ifdef LV_HAVE_SSE +#ifndef LV_HAVE_SSE for (int i=0;i