From 129ebd4dd46e92760f431c766ba61781f5885c41 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Fri, 15 Apr 2011 13:53:32 -0700 Subject: volk: forgot to add this one --- volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc (limited to 'volk/orc') diff --git a/volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc new file mode 100644 index 000000000..d92afbe01 --- /dev/null +++ b/volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc @@ -0,0 +1,6 @@ +.function volk_32f_x2_dot_prod_32f_a16_orc_impl +.source 4 src1 +.source 4 src2 +.dest 4 dst +.accumulator 4 accum +addf dst, src1, src2 -- cgit From 7ae3c05f4ab5e694608c9146aa842ea185a0417a Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Fri, 15 Apr 2011 23:26:07 -0700 Subject: Volk: Link Orc into libvolk.so instead of as a separate installed lib --- volk/orc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'volk/orc') diff --git a/volk/orc/Makefile.am b/volk/orc/Makefile.am index 6b5e4f8b6..960d09b6a 100644 --- a/volk/orc/Makefile.am +++ b/volk/orc/Makefile.am @@ -21,7 +21,7 @@ AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(ORC_CFLAGS) include $(top_srcdir)/Makefile.common -lib_LTLIBRARIES = libvolk_orc.la +noinst_LTLIBRARIES = libvolk_orc.la libvolk_orc_la_LDFLAGS = $(ORC_LDFLAGS) libvolk_orc_la_SOURCES = \ -- cgit From c80e7b00de836a388013a002008c7256481414cb Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Wed, 18 May 2011 13:39:57 -0700 Subject: Volk: renamed everything else to _a instead of _a16, makefiles included --- volk/orc/Makefile.am | 42 +++++++++++----------- ...k_16i_s32f_deinterleave_32f_x2_a16_orc_impl.orc | 12 ------- ...olk_16i_s32f_deinterleave_32f_x2_a_orc_impl.orc | 12 +++++++ .../volk_16ic_deinterleave_16i_x2_a16_orc_impl.orc | 5 --- .../volk_16ic_deinterleave_16i_x2_a_orc_impl.orc | 5 +++ ...volk_16ic_deinterleave_real_8i_a16_orc_impl.orc | 6 ---- .../volk_16ic_deinterleave_real_8i_a_orc_impl.orc | 6 ++++ volk/orc/volk_16ic_magnitude_16i_a16_orc_impl.orc | 23 ------------ volk/orc/volk_16ic_magnitude_16i_a_orc_impl.orc | 23 ++++++++++++ .../volk_16sc_magnitude_32f_aligned16_orc_impl.orc | 2 +- volk/orc/volk_16u_byteswap_a16_orc_impl.orc | 3 -- volk/orc/volk_16u_byteswap_a_orc_impl.orc | 3 ++ volk/orc/volk_32f_s32f_normalize_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_s32f_normalize_a_orc_impl.orc | 5 +++ volk/orc/volk_32f_sqrt_32f_a16_orc_impl.orc | 4 --- volk/orc/volk_32f_sqrt_32f_a_orc_impl.orc | 4 +++ volk/orc/volk_32f_x2_add_32f_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_x2_add_32f_a_orc_impl.orc | 5 +++ volk/orc/volk_32f_x2_divide_32f_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_x2_divide_32f_a_orc_impl.orc | 5 +++ volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc | 6 ---- volk/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc | 6 ++++ volk/orc/volk_32f_x2_max_32f_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_x2_max_32f_a_orc_impl.orc | 5 +++ volk/orc/volk_32f_x2_min_32f_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_x2_min_32f_a_orc_impl.orc | 5 +++ volk/orc/volk_32f_x2_multiply_32f_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_x2_multiply_32f_a_orc_impl.orc | 5 +++ volk/orc/volk_32f_x2_subtract_32f_a16_orc_impl.orc | 5 --- volk/orc/volk_32f_x2_subtract_32f_a_orc_impl.orc | 5 +++ .../volk_32fc_32f_multiply_32fc_a16_orc_impl.orc | 7 ---- .../orc/volk_32fc_32f_multiply_32fc_a_orc_impl.orc | 7 ++++ volk/orc/volk_32fc_magnitude_32f_a16_orc_impl.orc | 13 ------- volk/orc/volk_32fc_magnitude_32f_a_orc_impl.orc | 13 +++++++ .../volk_32fc_s32f_magnitude_16i_a16_orc_impl.orc | 23 ------------ .../volk_32fc_s32f_magnitude_16i_a_orc_impl.orc | 23 ++++++++++++ .../volk_32fc_x2_multiply_32fc_a16_orc_impl.orc | 18 ---------- volk/orc/volk_32fc_x2_multiply_32fc_a_orc_impl.orc | 18 ++++++++++ volk/orc/volk_32i_x2_and_32i_a16_orc_impl.orc | 5 --- volk/orc/volk_32i_x2_and_32i_a_orc_impl.orc | 5 +++ volk/orc/volk_32i_x2_or_32i_a16_orc_impl.orc | 5 --- volk/orc/volk_32i_x2_or_32i_a_orc_impl.orc | 5 +++ volk/orc/volk_8i_convert_16i_a16_orc_impl.orc | 5 --- volk/orc/volk_8i_convert_16i_a_orc_impl.orc | 5 +++ volk/orc/volk_8i_s32f_convert_32f_a16_orc_impl.orc | 11 ------ volk/orc/volk_8i_s32f_convert_32f_a_orc_impl.orc | 11 ++++++ 46 files changed, 203 insertions(+), 203 deletions(-) delete mode 100644 volk/orc/volk_16i_s32f_deinterleave_32f_x2_a16_orc_impl.orc create mode 100644 volk/orc/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.orc delete mode 100644 volk/orc/volk_16ic_deinterleave_16i_x2_a16_orc_impl.orc create mode 100644 volk/orc/volk_16ic_deinterleave_16i_x2_a_orc_impl.orc delete mode 100644 volk/orc/volk_16ic_deinterleave_real_8i_a16_orc_impl.orc create mode 100644 volk/orc/volk_16ic_deinterleave_real_8i_a_orc_impl.orc delete mode 100644 volk/orc/volk_16ic_magnitude_16i_a16_orc_impl.orc create mode 100644 volk/orc/volk_16ic_magnitude_16i_a_orc_impl.orc delete mode 100644 volk/orc/volk_16u_byteswap_a16_orc_impl.orc create mode 100644 volk/orc/volk_16u_byteswap_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_s32f_normalize_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_s32f_normalize_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_sqrt_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_sqrt_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_add_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_add_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_divide_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_divide_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_max_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_max_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_min_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_min_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_multiply_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_multiply_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32f_x2_subtract_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32f_x2_subtract_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32fc_32f_multiply_32fc_a16_orc_impl.orc create mode 100644 volk/orc/volk_32fc_32f_multiply_32fc_a_orc_impl.orc delete mode 100644 volk/orc/volk_32fc_magnitude_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_32fc_magnitude_32f_a_orc_impl.orc delete mode 100644 volk/orc/volk_32fc_s32f_magnitude_16i_a16_orc_impl.orc create mode 100644 volk/orc/volk_32fc_s32f_magnitude_16i_a_orc_impl.orc delete mode 100644 volk/orc/volk_32fc_x2_multiply_32fc_a16_orc_impl.orc create mode 100644 volk/orc/volk_32fc_x2_multiply_32fc_a_orc_impl.orc delete mode 100644 volk/orc/volk_32i_x2_and_32i_a16_orc_impl.orc create mode 100644 volk/orc/volk_32i_x2_and_32i_a_orc_impl.orc delete mode 100644 volk/orc/volk_32i_x2_or_32i_a16_orc_impl.orc create mode 100644 volk/orc/volk_32i_x2_or_32i_a_orc_impl.orc delete mode 100644 volk/orc/volk_8i_convert_16i_a16_orc_impl.orc create mode 100644 volk/orc/volk_8i_convert_16i_a_orc_impl.orc delete mode 100644 volk/orc/volk_8i_s32f_convert_32f_a16_orc_impl.orc create mode 100644 volk/orc/volk_8i_s32f_convert_32f_a_orc_impl.orc (limited to 'volk/orc') diff --git a/volk/orc/Makefile.am b/volk/orc/Makefile.am index 960d09b6a..814471bd0 100644 --- a/volk/orc/Makefile.am +++ b/volk/orc/Makefile.am @@ -25,27 +25,27 @@ noinst_LTLIBRARIES = libvolk_orc.la libvolk_orc_la_LDFLAGS = $(ORC_LDFLAGS) libvolk_orc_la_SOURCES = \ -volk_8i_convert_16i_a16_orc_impl.orc \ -volk_8i_s32f_convert_32f_a16_orc_impl.orc \ -volk_16u_byteswap_a16_orc_impl.orc \ -volk_32i_x2_and_32i_a16_orc_impl.orc \ -volk_32i_x2_or_32i_a16_orc_impl.orc \ -volk_32f_x2_add_32f_a16_orc_impl.orc \ -volk_32f_x2_subtract_32f_a16_orc_impl.orc \ -volk_32f_x2_divide_32f_a16_orc_impl.orc \ -volk_32f_x2_multiply_32f_a16_orc_impl.orc \ -volk_32fc_x2_multiply_32fc_a16_orc_impl.orc \ -volk_32fc_32f_multiply_32fc_a16_orc_impl.orc \ -volk_32f_sqrt_32f_a16_orc_impl.orc \ -volk_32f_x2_max_32f_a16_orc_impl.orc \ -volk_32f_x2_min_32f_a16_orc_impl.orc \ -volk_32f_s32f_normalize_a16_orc_impl.orc \ -volk_32fc_magnitude_32f_a16_orc_impl.orc \ -volk_32fc_s32f_magnitude_16i_a16_orc_impl.orc \ -volk_16ic_magnitude_16i_a16_orc_impl.orc \ -volk_16ic_deinterleave_16i_x2_a16_orc_impl.orc \ -volk_16i_s32f_deinterleave_32f_x2_a16_orc_impl.orc \ -volk_16ic_deinterleave_real_8i_a16_orc_impl.orc +volk_8i_convert_16i_a_orc_impl.orc \ +volk_8i_s32f_convert_32f_a_orc_impl.orc \ +volk_16u_byteswap_a_orc_impl.orc \ +volk_32i_x2_and_32i_a_orc_impl.orc \ +volk_32i_x2_or_32i_a_orc_impl.orc \ +volk_32f_x2_add_32f_a_orc_impl.orc \ +volk_32f_x2_subtract_32f_a_orc_impl.orc \ +volk_32f_x2_divide_32f_a_orc_impl.orc \ +volk_32f_x2_multiply_32f_a_orc_impl.orc \ +volk_32fc_x2_multiply_32fc_a_orc_impl.orc \ +volk_32fc_32f_multiply_32fc_a_orc_impl.orc \ +volk_32f_sqrt_32f_a_orc_impl.orc \ +volk_32f_x2_max_32f_a_orc_impl.orc \ +volk_32f_x2_min_32f_a_orc_impl.orc \ +volk_32f_s32f_normalize_a_orc_impl.orc \ +volk_32fc_magnitude_32f_a_orc_impl.orc \ +volk_32fc_s32f_magnitude_16i_a_orc_impl.orc \ +volk_16ic_magnitude_16i_a_orc_impl.orc \ +volk_16ic_deinterleave_16i_x2_a_orc_impl.orc \ +volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.orc \ +volk_16ic_deinterleave_real_8i_a_orc_impl.orc diff --git a/volk/orc/volk_16i_s32f_deinterleave_32f_x2_a16_orc_impl.orc b/volk/orc/volk_16i_s32f_deinterleave_32f_x2_a16_orc_impl.orc deleted file mode 100644 index 0189fbf5d..000000000 --- a/volk/orc/volk_16i_s32f_deinterleave_32f_x2_a16_orc_impl.orc +++ /dev/null @@ -1,12 +0,0 @@ -.function volk_16ic_s32f_deinterleave_32f_x2_a16_orc_impl -.dest 4 idst -.dest 4 qdst -.source 4 src -.floatparam 4 scalar -.temp 8 iql -.temp 8 iqf - -x2 convswl iql, src -x2 convlf iqf, iql -x2 divf iqf, iqf, scalar -splitql qdst, idst, iqf diff --git a/volk/orc/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.orc b/volk/orc/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.orc new file mode 100644 index 000000000..fd8915da0 --- /dev/null +++ b/volk/orc/volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.orc @@ -0,0 +1,12 @@ +.function volk_16ic_s32f_deinterleave_32f_x2_a_orc_impl +.dest 4 idst +.dest 4 qdst +.source 4 src +.floatparam 4 scalar +.temp 8 iql +.temp 8 iqf + +x2 convswl iql, src +x2 convlf iqf, iql +x2 divf iqf, iqf, scalar +splitql qdst, idst, iqf diff --git a/volk/orc/volk_16ic_deinterleave_16i_x2_a16_orc_impl.orc b/volk/orc/volk_16ic_deinterleave_16i_x2_a16_orc_impl.orc deleted file mode 100644 index 56018edda..000000000 --- a/volk/orc/volk_16ic_deinterleave_16i_x2_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_16ic_deinterleave_16i_x2_a16_orc_impl -.dest 2 idst -.dest 2 qdst -.source 4 src -splitlw qdst, idst, src diff --git a/volk/orc/volk_16ic_deinterleave_16i_x2_a_orc_impl.orc b/volk/orc/volk_16ic_deinterleave_16i_x2_a_orc_impl.orc new file mode 100644 index 000000000..76faa936a --- /dev/null +++ b/volk/orc/volk_16ic_deinterleave_16i_x2_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_16ic_deinterleave_16i_x2_a_orc_impl +.dest 2 idst +.dest 2 qdst +.source 4 src +splitlw qdst, idst, src diff --git a/volk/orc/volk_16ic_deinterleave_real_8i_a16_orc_impl.orc b/volk/orc/volk_16ic_deinterleave_real_8i_a16_orc_impl.orc deleted file mode 100644 index dba9a4c8e..000000000 --- a/volk/orc/volk_16ic_deinterleave_real_8i_a16_orc_impl.orc +++ /dev/null @@ -1,6 +0,0 @@ -.function volk_16ic_deinterleave_real_8i_a16_orc_impl -.dest 1 dst -.source 4 src -.temp 2 iw -select0lw iw, src -convhwb dst, iw diff --git a/volk/orc/volk_16ic_deinterleave_real_8i_a_orc_impl.orc b/volk/orc/volk_16ic_deinterleave_real_8i_a_orc_impl.orc new file mode 100644 index 000000000..8db49fd7c --- /dev/null +++ b/volk/orc/volk_16ic_deinterleave_real_8i_a_orc_impl.orc @@ -0,0 +1,6 @@ +.function volk_16ic_deinterleave_real_8i_a_orc_impl +.dest 1 dst +.source 4 src +.temp 2 iw +select0lw iw, src +convhwb dst, iw diff --git a/volk/orc/volk_16ic_magnitude_16i_a16_orc_impl.orc b/volk/orc/volk_16ic_magnitude_16i_a16_orc_impl.orc deleted file mode 100644 index 37225e9b8..000000000 --- a/volk/orc/volk_16ic_magnitude_16i_a16_orc_impl.orc +++ /dev/null @@ -1,23 +0,0 @@ -.function volk_16ic_magnitude_16i_a16_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/volk/orc/volk_16ic_magnitude_16i_a_orc_impl.orc b/volk/orc/volk_16ic_magnitude_16i_a_orc_impl.orc new file mode 100644 index 000000000..fbaebc46d --- /dev/null +++ b/volk/orc/volk_16ic_magnitude_16i_a_orc_impl.orc @@ -0,0 +1,23 @@ +.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/volk/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc b/volk/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc index 1e2380837..66fef7d2e 100644 --- a/volk/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc +++ b/volk/orc/volk_16sc_magnitude_32f_aligned16_orc_impl.orc @@ -1,4 +1,4 @@ -.function volk_16ic_magnitude_32f_a16_orc_impl +.function volk_16ic_magnitude_32f_a_orc_impl .source 4 src .dest 4 dst .floatparam 4 scalar diff --git a/volk/orc/volk_16u_byteswap_a16_orc_impl.orc b/volk/orc/volk_16u_byteswap_a16_orc_impl.orc deleted file mode 100644 index c1c8ee59e..000000000 --- a/volk/orc/volk_16u_byteswap_a16_orc_impl.orc +++ /dev/null @@ -1,3 +0,0 @@ -.function volk_16u_byteswap_a16_orc_impl -.dest 2 dst -swapw dst, dst diff --git a/volk/orc/volk_16u_byteswap_a_orc_impl.orc b/volk/orc/volk_16u_byteswap_a_orc_impl.orc new file mode 100644 index 000000000..b96ba84af --- /dev/null +++ b/volk/orc/volk_16u_byteswap_a_orc_impl.orc @@ -0,0 +1,3 @@ +.function volk_16u_byteswap_a_orc_impl +.dest 2 dst +swapw dst, dst diff --git a/volk/orc/volk_32f_s32f_normalize_a16_orc_impl.orc b/volk/orc/volk_32f_s32f_normalize_a16_orc_impl.orc deleted file mode 100644 index acd319b16..000000000 --- a/volk/orc/volk_32f_s32f_normalize_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_s32f_normalize_a16_orc_impl -.source 4 src1 -.floatparam 4 invscalar -.dest 4 dst -mulf dst, src1, invscalar diff --git a/volk/orc/volk_32f_s32f_normalize_a_orc_impl.orc b/volk/orc/volk_32f_s32f_normalize_a_orc_impl.orc new file mode 100644 index 000000000..986fdf665 --- /dev/null +++ b/volk/orc/volk_32f_s32f_normalize_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_s32f_normalize_a_orc_impl +.source 4 src1 +.floatparam 4 invscalar +.dest 4 dst +mulf dst, src1, invscalar diff --git a/volk/orc/volk_32f_sqrt_32f_a16_orc_impl.orc b/volk/orc/volk_32f_sqrt_32f_a16_orc_impl.orc deleted file mode 100644 index ae5680f15..000000000 --- a/volk/orc/volk_32f_sqrt_32f_a16_orc_impl.orc +++ /dev/null @@ -1,4 +0,0 @@ -.function volk_32f_sqrt_32f_a16_orc_impl -.source 4 src -.dest 4 dst -sqrtf dst, src diff --git a/volk/orc/volk_32f_sqrt_32f_a_orc_impl.orc b/volk/orc/volk_32f_sqrt_32f_a_orc_impl.orc new file mode 100644 index 000000000..f339b1122 --- /dev/null +++ b/volk/orc/volk_32f_sqrt_32f_a_orc_impl.orc @@ -0,0 +1,4 @@ +.function volk_32f_sqrt_32f_a_orc_impl +.source 4 src +.dest 4 dst +sqrtf dst, src diff --git a/volk/orc/volk_32f_x2_add_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_add_32f_a16_orc_impl.orc deleted file mode 100644 index 8d095a052..000000000 --- a/volk/orc/volk_32f_x2_add_32f_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_x2_add_32f_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -addf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_add_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_add_32f_a_orc_impl.orc new file mode 100644 index 000000000..450cc6a9e --- /dev/null +++ b/volk/orc/volk_32f_x2_add_32f_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_x2_add_32f_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +addf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_divide_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_divide_32f_a16_orc_impl.orc deleted file mode 100644 index 0097646cb..000000000 --- a/volk/orc/volk_32f_x2_divide_32f_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_x2_divide_32f_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -divf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_divide_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_divide_32f_a_orc_impl.orc new file mode 100644 index 000000000..ee3b61b82 --- /dev/null +++ b/volk/orc/volk_32f_x2_divide_32f_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_x2_divide_32f_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +divf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc deleted file mode 100644 index d92afbe01..000000000 --- a/volk/orc/volk_32f_x2_dot_prod_32f_a16_orc_impl.orc +++ /dev/null @@ -1,6 +0,0 @@ -.function volk_32f_x2_dot_prod_32f_a16_orc_impl -.source 4 src1 -.source 4 src2 -.dest 4 dst -.accumulator 4 accum -addf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc new file mode 100644 index 000000000..b367f3091 --- /dev/null +++ b/volk/orc/volk_32f_x2_dot_prod_32f_a_orc_impl.orc @@ -0,0 +1,6 @@ +.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/volk/orc/volk_32f_x2_max_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_max_32f_a16_orc_impl.orc deleted file mode 100644 index b7f008737..000000000 --- a/volk/orc/volk_32f_x2_max_32f_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_x2_max_32f_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -maxf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_max_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_max_32f_a_orc_impl.orc new file mode 100644 index 000000000..725201633 --- /dev/null +++ b/volk/orc/volk_32f_x2_max_32f_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_x2_max_32f_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +maxf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_min_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_min_32f_a16_orc_impl.orc deleted file mode 100644 index 78328b576..000000000 --- a/volk/orc/volk_32f_x2_min_32f_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_x2_min_32f_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -minf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_min_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_min_32f_a_orc_impl.orc new file mode 100644 index 000000000..a71ed8250 --- /dev/null +++ b/volk/orc/volk_32f_x2_min_32f_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_x2_min_32f_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +minf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_multiply_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_multiply_32f_a16_orc_impl.orc deleted file mode 100644 index e8fadff19..000000000 --- a/volk/orc/volk_32f_x2_multiply_32f_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_x2_multiply_32f_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -mulf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_multiply_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_multiply_32f_a_orc_impl.orc new file mode 100644 index 000000000..c17d539fd --- /dev/null +++ b/volk/orc/volk_32f_x2_multiply_32f_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_x2_multiply_32f_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +mulf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_subtract_32f_a16_orc_impl.orc b/volk/orc/volk_32f_x2_subtract_32f_a16_orc_impl.orc deleted file mode 100644 index 13fbe8c83..000000000 --- a/volk/orc/volk_32f_x2_subtract_32f_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32f_x2_subtract_32f_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -subf dst, src1, src2 diff --git a/volk/orc/volk_32f_x2_subtract_32f_a_orc_impl.orc b/volk/orc/volk_32f_x2_subtract_32f_a_orc_impl.orc new file mode 100644 index 000000000..b3b0f256e --- /dev/null +++ b/volk/orc/volk_32f_x2_subtract_32f_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32f_x2_subtract_32f_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +subf dst, src1, src2 diff --git a/volk/orc/volk_32fc_32f_multiply_32fc_a16_orc_impl.orc b/volk/orc/volk_32fc_32f_multiply_32fc_a16_orc_impl.orc deleted file mode 100644 index 455293cff..000000000 --- a/volk/orc/volk_32fc_32f_multiply_32fc_a16_orc_impl.orc +++ /dev/null @@ -1,7 +0,0 @@ -.function volk_32fc_32f_multiply_32fc_a16_orc_impl -.source 8 src1 -.source 4 src2 -.dest 8 dst -.temp 8 tmp -mergelq tmp, src2, src2 -x2 mulf dst, src1, tmp diff --git a/volk/orc/volk_32fc_32f_multiply_32fc_a_orc_impl.orc b/volk/orc/volk_32fc_32f_multiply_32fc_a_orc_impl.orc new file mode 100644 index 000000000..aa82699f5 --- /dev/null +++ b/volk/orc/volk_32fc_32f_multiply_32fc_a_orc_impl.orc @@ -0,0 +1,7 @@ +.function volk_32fc_32f_multiply_32fc_a_orc_impl +.source 8 src1 +.source 4 src2 +.dest 8 dst +.temp 8 tmp +mergelq tmp, src2, src2 +x2 mulf dst, src1, tmp diff --git a/volk/orc/volk_32fc_magnitude_32f_a16_orc_impl.orc b/volk/orc/volk_32fc_magnitude_32f_a16_orc_impl.orc deleted file mode 100644 index c5e2e57f1..000000000 --- a/volk/orc/volk_32fc_magnitude_32f_a16_orc_impl.orc +++ /dev/null @@ -1,13 +0,0 @@ -.function volk_32fc_magnitude_32f_a16_orc_impl -.source 8 src -.dest 4 dst -.temp 8 iqf -.temp 8 prodiqf -.temp 4 qf -.temp 4 if -.temp 4 sumf - -x2 mulf prodiqf, src, src -splitql qf, if, prodiqf -addf sumf, if, qf -sqrtf dst, sumf diff --git a/volk/orc/volk_32fc_magnitude_32f_a_orc_impl.orc b/volk/orc/volk_32fc_magnitude_32f_a_orc_impl.orc new file mode 100644 index 000000000..032ab2b1b --- /dev/null +++ b/volk/orc/volk_32fc_magnitude_32f_a_orc_impl.orc @@ -0,0 +1,13 @@ +.function volk_32fc_magnitude_32f_a_orc_impl +.source 8 src +.dest 4 dst +.temp 8 iqf +.temp 8 prodiqf +.temp 4 qf +.temp 4 if +.temp 4 sumf + +x2 mulf prodiqf, src, src +splitql qf, if, prodiqf +addf sumf, if, qf +sqrtf dst, sumf diff --git a/volk/orc/volk_32fc_s32f_magnitude_16i_a16_orc_impl.orc b/volk/orc/volk_32fc_s32f_magnitude_16i_a16_orc_impl.orc deleted file mode 100644 index 6116f5e1f..000000000 --- a/volk/orc/volk_32fc_s32f_magnitude_16i_a16_orc_impl.orc +++ /dev/null @@ -1,23 +0,0 @@ -.function volk_32fc_s32f_magnitude_16i_a16_orc_impl -.source 8 src -.dest 2 dst -.floatparam 4 scalar -.temp 8 iqf -.temp 8 prodiqf -.temp 4 qf -.temp 4 if -.temp 4 sumf -.temp 4 rootf -.temp 4 rootl -.temp 4 maskl - -x2 mulf prodiqf, src, src -splitql qf, if, prodiqf -addf sumf, if, qf -sqrtf rootf, sumf -mulf rootf, rootf, scalar -cmpltf maskl, 32768.0, rootf -andl maskl, maskl, 0x80000000 -orl rootf, rootf, maskl -convfl rootl, rootf -convssslw dst, rootl diff --git a/volk/orc/volk_32fc_s32f_magnitude_16i_a_orc_impl.orc b/volk/orc/volk_32fc_s32f_magnitude_16i_a_orc_impl.orc new file mode 100644 index 000000000..505e73f5d --- /dev/null +++ b/volk/orc/volk_32fc_s32f_magnitude_16i_a_orc_impl.orc @@ -0,0 +1,23 @@ +.function volk_32fc_s32f_magnitude_16i_a_orc_impl +.source 8 src +.dest 2 dst +.floatparam 4 scalar +.temp 8 iqf +.temp 8 prodiqf +.temp 4 qf +.temp 4 if +.temp 4 sumf +.temp 4 rootf +.temp 4 rootl +.temp 4 maskl + +x2 mulf prodiqf, src, src +splitql qf, if, prodiqf +addf sumf, if, qf +sqrtf rootf, sumf +mulf rootf, rootf, scalar +cmpltf maskl, 32768.0, rootf +andl maskl, maskl, 0x80000000 +orl rootf, rootf, maskl +convfl rootl, rootf +convssslw dst, rootl diff --git a/volk/orc/volk_32fc_x2_multiply_32fc_a16_orc_impl.orc b/volk/orc/volk_32fc_x2_multiply_32fc_a16_orc_impl.orc deleted file mode 100644 index a27d722cd..000000000 --- a/volk/orc/volk_32fc_x2_multiply_32fc_a16_orc_impl.orc +++ /dev/null @@ -1,18 +0,0 @@ -.function volk_32fc_x2_multiply_32fc_a16_orc_impl -.source 8 src1 -.source 8 src2 -.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, src2 -splitql bd, ac, iqprod -subf real, ac, bd -swaplq swapped, src1 -x2 mulf iqprod, swapped, src2 -splitql bd, ac, iqprod -addf imag, ac, bd -mergelq dst, real, imag diff --git a/volk/orc/volk_32fc_x2_multiply_32fc_a_orc_impl.orc b/volk/orc/volk_32fc_x2_multiply_32fc_a_orc_impl.orc new file mode 100644 index 000000000..cb8a12d81 --- /dev/null +++ b/volk/orc/volk_32fc_x2_multiply_32fc_a_orc_impl.orc @@ -0,0 +1,18 @@ +.function volk_32fc_x2_multiply_32fc_a_orc_impl +.source 8 src1 +.source 8 src2 +.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, src2 +splitql bd, ac, iqprod +subf real, ac, bd +swaplq swapped, src1 +x2 mulf iqprod, swapped, src2 +splitql bd, ac, iqprod +addf imag, ac, bd +mergelq dst, real, imag diff --git a/volk/orc/volk_32i_x2_and_32i_a16_orc_impl.orc b/volk/orc/volk_32i_x2_and_32i_a16_orc_impl.orc deleted file mode 100644 index 7b331f8ed..000000000 --- a/volk/orc/volk_32i_x2_and_32i_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32i_x2_and_32i_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -andl dst, src1, src2 diff --git a/volk/orc/volk_32i_x2_and_32i_a_orc_impl.orc b/volk/orc/volk_32i_x2_and_32i_a_orc_impl.orc new file mode 100644 index 000000000..1845e4654 --- /dev/null +++ b/volk/orc/volk_32i_x2_and_32i_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32i_x2_and_32i_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +andl dst, src1, src2 diff --git a/volk/orc/volk_32i_x2_or_32i_a16_orc_impl.orc b/volk/orc/volk_32i_x2_or_32i_a16_orc_impl.orc deleted file mode 100644 index 4984a9ced..000000000 --- a/volk/orc/volk_32i_x2_or_32i_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_32i_x2_or_32i_a16_orc_impl -.dest 4 dst -.source 4 src1 -.source 4 src2 -orl dst, src1, src2 diff --git a/volk/orc/volk_32i_x2_or_32i_a_orc_impl.orc b/volk/orc/volk_32i_x2_or_32i_a_orc_impl.orc new file mode 100644 index 000000000..004663f42 --- /dev/null +++ b/volk/orc/volk_32i_x2_or_32i_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32i_x2_or_32i_a_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +orl dst, src1, src2 diff --git a/volk/orc/volk_8i_convert_16i_a16_orc_impl.orc b/volk/orc/volk_8i_convert_16i_a16_orc_impl.orc deleted file mode 100644 index f44845c88..000000000 --- a/volk/orc/volk_8i_convert_16i_a16_orc_impl.orc +++ /dev/null @@ -1,5 +0,0 @@ -.function volk_8i_convert_16i_a16_orc_impl -.source 1 src -.dest 2 dst -convsbw dst, src -shlw dst, dst, 8 diff --git a/volk/orc/volk_8i_convert_16i_a_orc_impl.orc b/volk/orc/volk_8i_convert_16i_a_orc_impl.orc new file mode 100644 index 000000000..d813c6cfa --- /dev/null +++ b/volk/orc/volk_8i_convert_16i_a_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_8i_convert_16i_a_orc_impl +.source 1 src +.dest 2 dst +convsbw dst, src +shlw dst, dst, 8 diff --git a/volk/orc/volk_8i_s32f_convert_32f_a16_orc_impl.orc b/volk/orc/volk_8i_s32f_convert_32f_a16_orc_impl.orc deleted file mode 100644 index 8f6e157e9..000000000 --- a/volk/orc/volk_8i_s32f_convert_32f_a16_orc_impl.orc +++ /dev/null @@ -1,11 +0,0 @@ -.function volk_8i_s32f_convert_32f_a16_orc_impl -.source 1 src -.dest 4 dst -.floatparam 4 scalar -.temp 4 flsrc -.temp 4 lsrc -.temp 2 ssrc -convsbw ssrc, src -convswl lsrc, ssrc -convlf flsrc, lsrc -mulf dst, flsrc, scalar diff --git a/volk/orc/volk_8i_s32f_convert_32f_a_orc_impl.orc b/volk/orc/volk_8i_s32f_convert_32f_a_orc_impl.orc new file mode 100644 index 000000000..ad54fb1e1 --- /dev/null +++ b/volk/orc/volk_8i_s32f_convert_32f_a_orc_impl.orc @@ -0,0 +1,11 @@ +.function volk_8i_s32f_convert_32f_a_orc_impl +.source 1 src +.dest 4 dst +.floatparam 4 scalar +.temp 4 flsrc +.temp 4 lsrc +.temp 2 ssrc +convsbw ssrc, src +convswl lsrc, ssrc +convlf flsrc, lsrc +mulf dst, flsrc, scalar -- cgit