Fix copy-past issue in srsran_vec_apply_cfo_simd

master
Xavier Arteaga 4 years ago committed by Andre Puschmann
parent 2e3c00aa97
commit de187d4c88

@ -1710,14 +1710,13 @@ void srsran_vec_apply_cfo_simd(const cf_t* x, float cfo, cf_t* z, int len)
} }
} else { } else {
for (; i < len - SRSRAN_SIMD_F_SIZE + 1; i += SRSRAN_SIMD_F_SIZE) { for (; i < len - SRSRAN_SIMD_F_SIZE + 1; i += SRSRAN_SIMD_F_SIZE) {
for (; i < len - SRSRAN_SIMD_CF_SIZE + 1; i += SRSRAN_SIMD_CF_SIZE) {
simd_cf_t a = srsran_simd_cfi_loadu(&x[i]); simd_cf_t a = srsran_simd_cfi_loadu(&x[i]);
simd_cf_t r = srsran_simd_cf_prod(a, _simd_phase); simd_cf_t r = srsran_simd_cf_prod(a, _simd_phase);
_simd_phase = srsran_simd_cf_prod(_simd_phase, _simd_osc);
srsran_simd_cfi_storeu(&z[i], r); srsran_simd_cfi_storeu(&z[i], r);
}
_simd_phase = srsran_simd_cf_prod(_simd_phase, _simd_osc);
} }
} }
#endif #endif

Loading…
Cancel
Save