From: Clayton Smith Date: Sat, 9 Dec 2023 00:27:45 +0000 (-0500) Subject: [PATCH 5/6] Fix flaky mod_range test X-Git-Tag: archive/raspbian/3.1.0-3+rpi1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cdf5dc093a9fa2ce507d46076351555b4a789644;p=volk.git [PATCH 5/6] Fix flaky mod_range test Signed-off-by: Clayton Smith Gbp-Pq: Name 0005-Fix-flaky-mod_range-test.patch --- diff --git a/kernels/volk/volk_32f_s32f_mod_rangepuppet_32f.h b/kernels/volk/volk_32f_s32f_mod_rangepuppet_32f.h index 3e0bc43..3a17859 100644 --- a/kernels/volk/volk_32f_s32f_mod_rangepuppet_32f.h +++ b/kernels/volk/volk_32f_s32f_mod_rangepuppet_32f.h @@ -19,7 +19,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_generic(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_generic( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif @@ -31,7 +31,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_u_sse(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_u_sse( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif #ifdef LV_HAVE_SSE @@ -41,7 +41,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_a_sse(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_a_sse( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif @@ -52,7 +52,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_u_sse2(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_u_sse2( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif #ifdef LV_HAVE_SSE2 @@ -62,7 +62,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_a_sse2(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_a_sse2( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif @@ -73,7 +73,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_u_avx(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_u_avx( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif #ifdef LV_HAVE_AVX @@ -83,7 +83,7 @@ static inline void volk_32f_s32f_mod_rangepuppet_32f_a_avx(float* output, unsigned int num_points) { volk_32f_s32f_s32f_mod_range_32f_a_avx( - output, input, bound - 3.141f, bound, num_points); + output, input, bound - 3.131f, bound, num_points); } #endif #endif