diff options
-rw-r--r-- | volk/orc/volk_32s_and_aligned16_orc_impl.orc | 5 | ||||
-rw-r--r-- | volk/orc/volk_8s_convert_16s_aligned16_orc_impl.orc | 4 | ||||
-rw-r--r-- | volk/orc/volk_8s_convert_32f_aligned16_orc_impl.orc | 9 |
3 files changed, 18 insertions, 0 deletions
diff --git a/volk/orc/volk_32s_and_aligned16_orc_impl.orc b/volk/orc/volk_32s_and_aligned16_orc_impl.orc new file mode 100644 index 000000000..9d3c7b733 --- /dev/null +++ b/volk/orc/volk_32s_and_aligned16_orc_impl.orc @@ -0,0 +1,5 @@ +.function volk_32s_and_aligned16_orc_impl +.dest 4 dst +.source 4 src1 +.source 4 src2 +andl dst, src1, src2 diff --git a/volk/orc/volk_8s_convert_16s_aligned16_orc_impl.orc b/volk/orc/volk_8s_convert_16s_aligned16_orc_impl.orc new file mode 100644 index 000000000..8322b529a --- /dev/null +++ b/volk/orc/volk_8s_convert_16s_aligned16_orc_impl.orc @@ -0,0 +1,4 @@ +.function volk_8s_convert_16s_aligned16_orc_impl +.source 1 src +.dest 2 dst +mulsbw dst, src, 255 diff --git a/volk/orc/volk_8s_convert_32f_aligned16_orc_impl.orc b/volk/orc/volk_8s_convert_32f_aligned16_orc_impl.orc new file mode 100644 index 000000000..91a0084d7 --- /dev/null +++ b/volk/orc/volk_8s_convert_32f_aligned16_orc_impl.orc @@ -0,0 +1,9 @@ +.function volk_8s_convert_32f_aligned16_orc_impl +.source 2 src +.dest 4 dst +.floatparam 4 scalar +.temp 4 flsrc +.temp 4 lsrc +convswl lsrc, src +convlf flsrc, lsrc +mulf dst, flsrc, scalar |