1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-27 22:58:24 +00:00

fix phase computation in the tail items of the NEON protokernel

This commit is contained in:
Carles Fernandez 2016-03-21 00:40:36 +01:00
parent 1983562496
commit a908804b44

View File

@ -537,7 +537,7 @@ static inline void volk_gnsssdr_s32f_sincos_32fc_neon(lv_32fc_t* out, const floa
four_phases_reg = vaddq_f32(four_phases_reg, four_phases_inc_reg);
}
_phase = phase_inc * (neon_iters * 4);
_phase = _phase + phase_inc * (neon_iters * 4);
for(number = neon_iters * 4; number < num_points; number++)
{
*bPtr++ = lv_cmake((float)cos(_phase), (float)sin(_phase) );