32 #include "NE10_types.h"
39 ne10_result_t ne10_mulc_float_neon (ne10_float32_t * dst, ne10_float32_t * src,
const ne10_float32_t cst, ne10_uint32_t count)
41 NE10_XC_OPERATION_FLOAT_NEON
43 n_dst = vmulq_f32 (n_src , n_cst);
45 n_tmp_src = vmul_f32 (n_tmp_src, n_tmp_cst);
51 NE10_XC_OPERATION_VEC2F_NEON
53 n_dst = vmulq_f32 (n_src , n_cst);
55 n_tmp_src = vmul_f32 (n_tmp_src, n_tmp_cst);
61 NE10_XC_OPERATION_VEC3F_NEON
63 n_dst1 = vmulq_f32 (n_src1 , n_cst1);
64 n_dst2 = vmulq_f32 (n_src2 , n_cst2);
65 n_dst3 = vmulq_f32 (n_src3 , n_cst3);
67 n_tmp_src.val[0] = vmul_f32 (n_tmp_src.val[0], n_tmp_cst.val[0]);
68 n_tmp_src.val[1] = vmul_f32 (n_tmp_src.val[1], n_tmp_cst.val[1]);
69 n_tmp_src.val[2] = vmul_f32 (n_tmp_src.val[2], n_tmp_cst.val[2]);
75 NE10_XC_OPERATION_VEC4F_NEON
77 n_dst = vmulq_f32 (n_src , n_cst);