diff options
author | Josh Blum | 2012-07-04 11:16:02 -0700 |
---|---|---|
committer | Josh Blum | 2012-07-04 11:16:02 -0700 |
commit | 7c0f5550d06e9c5e2ab413e3e2b95a843a435135 (patch) | |
tree | 5ae238fb0764b5f6c0b7d3def2204e87a6541280 /volk | |
parent | dbc7a4c08ac27844e413a39a326bf1b50b09dd00 (diff) | |
download | gnuradio-7c0f5550d06e9c5e2ab413e3e2b95a843a435135.tar.gz gnuradio-7c0f5550d06e9c5e2ab413e3e2b95a843a435135.tar.bz2 gnuradio-7c0f5550d06e9c5e2ab413e3e2b95a843a435135.zip |
volk: fix volk_32f_x2_dot_prod_32f_u_sse tail case
Diffstat (limited to 'volk')
-rw-r--r-- | volk/include/volk/volk_32f_x2_dot_prod_32f_u.h | 3 | ||||
-rw-r--r-- | volk/lib/testqa.cc | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/volk/include/volk/volk_32f_x2_dot_prod_32f_u.h b/volk/include/volk/volk_32f_x2_dot_prod_32f_u.h index ab33a2587..c43d229df 100644 --- a/volk/include/volk/volk_32f_x2_dot_prod_32f_u.h +++ b/volk/include/volk/volk_32f_x2_dot_prod_32f_u.h @@ -87,9 +87,6 @@ static inline void volk_32f_x2_dot_prod_32f_u_sse( float* result, const float* number = sixteenthPoints*16; for(;number < num_points; number++){ dotProduct += ((*aPtr++) * (*bPtr++)); - dotProduct += ((*aPtr++) * (*bPtr++)); - dotProduct += ((*aPtr++) * (*bPtr++)); - dotProduct += ((*aPtr++) * (*bPtr++)); } *result = dotProduct; diff --git a/volk/lib/testqa.cc b/volk/lib/testqa.cc index d1eb1cacb..507c78777 100644 --- a/volk/lib/testqa.cc +++ b/volk/lib/testqa.cc @@ -54,7 +54,7 @@ VOLK_RUN_TESTS(volk_32fc_x2_square_dist_32f_a, 1e-4, 0, 20460, 1); VOLK_RUN_TESTS(volk_32fc_x2_s32f_square_dist_scalar_mult_32f_a, 1e-4, 10, 20460, 1); VOLK_RUN_TESTS(volk_32f_x2_divide_32f_a, 1e-4, 0, 20460, 1); VOLK_RUN_TESTS(volk_32f_x2_dot_prod_32f_a, 1e-4, 0, 204600, 1); -//VOLK_RUN_TESTS(volk_32f_x2_dot_prod_32f_u, 1e-4, 0, 204600, 1); +VOLK_RUN_TESTS(volk_32f_x2_dot_prod_32f_u, 1e-4, 0, 204600, 1); VOLK_RUN_TESTS(volk_32f_x2_dot_prod_16i_a, 1e-4, 0, 204600, 1); //VOLK_RUN_TESTS(volk_32f_s32f_32f_fm_detect_32f_a, 1e-4, 2046, 10000); VOLK_RUN_TESTS(volk_32f_index_max_16u_a, 3, 0, 20460, 1); |