From abe9b2368dc063686511a5c70245afccccb56ebf Mon Sep 17 00:00:00 2001 From: Alexey Slokva Date: Wed, 11 Oct 2023 23:27:55 -0400 Subject: [PATCH] Remove unused ORC code Signed-off-by: Clayton Smith --- .../volk_16ic_magnitude_16i_a_orc_impl.orc | 23 ----------------- ..._16sc_magnitude_32f_aligned16_orc_impl.orc | 25 ------------------- .../volk_32f_x2_dot_prod_32f_a_orc_impl.orc | 6 ----- ...lk_32fc_s32fc_multiply_32fc_a_orc_impl.orc | 18 ------------- kernels/volk/volk_16ic_magnitude_16i.h | 15 ----------- kernels/volk/volk_16ic_s32f_magnitude_32f.h | 17 ------------- 6 files changed, 104 deletions(-) delete mode 100644 kernels/volk/asm/orc/volk_16ic_magnitude_16i_a_orc_impl.orc delete mode 100644 kernels/volk/asm/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc delete mode 100644 kernels/volk/asm/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc delete mode 100644 kernels/volk/asm/orc/volk_32fc_s32fc_multiply_32fc_a_orc_impl.orc diff --git a/kernels/volk/asm/orc/volk_16ic_magnitude_16i_a_orc_impl.orc b/kernels/volk/asm/orc/volk_16ic_magnitude_16i_a_orc_impl.orc deleted file mode 100644 index fbaebc46d..000000000 --- a/kernels/volk/asm/orc/volk_16ic_magnitude_16i_a_orc_impl.orc +++ /dev/null @@ -1,23 +0,0 @@ -.function volk_16ic_magnitude_16i_a_orc_impl -.source 4 src -.dest 2 dst -.floatparam 4 scalar -.temp 8 iql -.temp 8 iqf -.temp 8 prodiqf -.temp 4 qf -.temp 4 if -.temp 4 sumf -.temp 4 rootf -.temp 4 rootl - -x2 convswl iql, src -x2 convlf iqf, iql -x2 divf iqf, iqf, scalar -x2 mulf prodiqf, iqf, iqf -splitql qf, if, prodiqf -addf sumf, if, qf -sqrtf rootf, sumf -mulf rootf, rootf, scalar -convfl rootl, rootf -convlw dst, rootl diff --git a/kernels/volk/asm/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc b/kernels/volk/asm/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc deleted file mode 100644 index 66fef7d2e..000000000 --- a/kernels/volk/asm/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc +++ /dev/null @@ -1,25 +0,0 @@ -.function volk_16ic_magnitude_32f_a_orc_impl -.source 4 src -.dest 4 dst -.floatparam 4 scalar -.temp 4 reall -.temp 4 imagl -.temp 2 reals -.temp 2 imags -.temp 4 realf -.temp 4 imagf -.temp 4 sumf - - - -splitlw reals, imags, src -convswl reall, reals -convswl imagl, imags -convlf realf, reall -convlf imagf, imagl -divf realf, realf, scalar -divf imagf, imagf, scalar -mulf realf, realf, realf -mulf imagf, imagf, imagf -addf sumf, realf, imagf -sqrtf dst, sumf diff --git a/kernels/volk/asm/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc b/kernels/volk/asm/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc deleted file mode 100644 index b367f3091..000000000 --- a/kernels/volk/asm/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc +++ /dev/null @@ -1,6 +0,0 @@ -.function volk_32f_x2_dot_prod_32f_a_orc_impl -.source 4 src1 -.source 4 src2 -.dest 4 dst -.accumulator 4 accum -addf dst, src1, src2 diff --git a/kernels/volk/asm/orc/volk_32fc_s32fc_multiply_32fc_a_orc_impl.orc b/kernels/volk/asm/orc/volk_32fc_s32fc_multiply_32fc_a_orc_impl.orc deleted file mode 100644 index 2577e034f..000000000 --- a/kernels/volk/asm/orc/volk_32fc_s32fc_multiply_32fc_a_orc_impl.orc +++ /dev/null @@ -1,18 +0,0 @@ -.function volk_32fc_s32fc_multiply_32fc_a_orc_impl -.source 8 src1 -.floatparam 8 scalar -.dest 8 dst -.temp 8 iqprod -.temp 4 real -.temp 4 imag -.temp 4 ac -.temp 4 bd -.temp 8 swapped -x2 mulf iqprod, src1, scalar -splitql bd, ac, iqprod -subf real, ac, bd -swaplq swapped, src1 -x2 mulf iqprod, swapped, scalar -splitql bd, ac, iqprod -addf imag, ac, bd -mergelq dst, real, imag diff --git a/kernels/volk/volk_16ic_magnitude_16i.h b/kernels/volk/volk_16ic_magnitude_16i.h index 72a55f669..76472540e 100644 --- a/kernels/volk/volk_16ic_magnitude_16i.h +++ b/kernels/volk/volk_16ic_magnitude_16i.h @@ -278,21 +278,6 @@ static inline void volk_16ic_magnitude_16i_generic(int16_t* magnitudeVector, } #endif /* LV_HAVE_GENERIC */ -#ifdef LV_HAVE_ORC_DISABLED -extern void volk_16ic_magnitude_16i_a_orc_impl(int16_t* magnitudeVector, - const lv_16sc_t* complexVector, - float scalar, - unsigned int num_points); - -static inline void volk_16ic_magnitude_16i_u_orc(int16_t* magnitudeVector, - const lv_16sc_t* complexVector, - unsigned int num_points) -{ - volk_16ic_magnitude_16i_a_orc_impl( - magnitudeVector, complexVector, SHRT_MAX, num_points); -} -#endif /* LV_HAVE_ORC */ - #endif /* INCLUDED_volk_16ic_magnitude_16i_a_H */ diff --git a/kernels/volk/volk_16ic_s32f_magnitude_32f.h b/kernels/volk/volk_16ic_s32f_magnitude_32f.h index 6d6fd33ae..89600632f 100644 --- a/kernels/volk/volk_16ic_s32f_magnitude_32f.h +++ b/kernels/volk/volk_16ic_s32f_magnitude_32f.h @@ -258,23 +258,6 @@ static inline void volk_16ic_s32f_magnitude_32f_generic(float* magnitudeVector, } #endif /* LV_HAVE_GENERIC */ -#ifdef LV_HAVE_ORC_DISABLED - -extern void volk_16ic_s32f_magnitude_32f_a_orc_impl(float* magnitudeVector, - const lv_16sc_t* complexVector, - const float scalar, - unsigned int num_points); - -static inline void volk_16ic_s32f_magnitude_32f_u_orc(float* magnitudeVector, - const lv_16sc_t* complexVector, - const float scalar, - unsigned int num_points) -{ - volk_16ic_s32f_magnitude_32f_a_orc_impl( - magnitudeVector, complexVector, scalar, num_points); -} -#endif /* LV_HAVE_ORC */ - #endif /* INCLUDED_volk_16ic_s32f_magnitude_32f_a_H */