mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-11 08:30:08 +00:00
fix
This commit is contained in:
parent
3abefa246d
commit
036b8805db
@ -411,9 +411,17 @@ static inline void volk_gnsssdr_16ic_x2_rotator_dot_prod_16ic_xn_neon(lv_16sc_t*
|
|||||||
const lv_16sc_t** _in_a = in_a;
|
const lv_16sc_t** _in_a = in_a;
|
||||||
const lv_16sc_t* _in_common = in_common;
|
const lv_16sc_t* _in_common = in_common;
|
||||||
lv_16sc_t* _out = out;
|
lv_16sc_t* _out = out;
|
||||||
|
|
||||||
|
for (int n_vec = 0; n_vec < num_a_vectors; n_vec++)
|
||||||
|
{
|
||||||
|
_out[n_vec] = lv_cmake(0,0);
|
||||||
|
}
|
||||||
|
|
||||||
lv_16sc_t tmp16_, tmp;
|
lv_16sc_t tmp16_, tmp;
|
||||||
lv_32fc_t tmp32_;
|
lv_32fc_t tmp32_;
|
||||||
|
|
||||||
|
if (neon_iters > 0)
|
||||||
|
{
|
||||||
lv_16sc_t dotProduct;
|
lv_16sc_t dotProduct;
|
||||||
|
|
||||||
lv_32fc_t ___phase4 = phase_inc * phase_inc * phase_inc * phase_inc;
|
lv_32fc_t ___phase4 = phase_inc * phase_inc * phase_inc * phase_inc;
|
||||||
@ -433,8 +441,6 @@ static inline void volk_gnsssdr_16ic_x2_rotator_dot_prod_16ic_xn_neon(lv_16sc_t*
|
|||||||
float32x4_t _phase_real = vld1q_f32(__phase_real);
|
float32x4_t _phase_real = vld1q_f32(__phase_real);
|
||||||
float32x4_t _phase_imag = vld1q_f32(__phase_imag);
|
float32x4_t _phase_imag = vld1q_f32(__phase_imag);
|
||||||
|
|
||||||
if (neon_iters > 0)
|
|
||||||
{
|
|
||||||
int16x4x2_t a_val, c_val;
|
int16x4x2_t a_val, c_val;
|
||||||
__VOLK_ATTR_ALIGNED(16) lv_16sc_t dotProductVector[4];
|
__VOLK_ATTR_ALIGNED(16) lv_16sc_t dotProductVector[4];
|
||||||
float32x4_t half = vdupq_n_f32(0.5f);
|
float32x4_t half = vdupq_n_f32(0.5f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user