40 for (
unsigned int itr = 0; itr < count; itr++ )
42 dst[ itr ] = acc[ itr ] + (src[ itr ] * cst);
50 for (
unsigned int itr = 0; itr < count; itr++ )
52 dst[ itr ].
x = acc[ itr ].
x + (src[ itr ].
x * cst->
x);
53 dst[ itr ].
y = acc[ itr ].
y + (src[ itr ].
y * cst->
y);
61 for (
unsigned int itr = 0; itr < count; itr++ )
63 dst[ itr ].
x = acc[ itr ].
x + (src[ itr ].
x * cst->
x);
64 dst[ itr ].
y = acc[ itr ].
y + (src[ itr ].
y * cst->
y);
65 dst[ itr ].
z = acc[ itr ].
z + (src[ itr ].
z * cst->
z);
73 for (
unsigned int itr = 0; itr < count; itr++ )
75 dst[ itr ].
x = acc[ itr ].
x + (src[ itr ].
x * cst->
x);
76 dst[ itr ].
y = acc[ itr ].
y + (src[ itr ].
y * cst->
y);
77 dst[ itr ].
z = acc[ itr ].
z + (src[ itr ].
z * cst->
z);
78 dst[ itr ].
w = acc[ itr ].
w + (src[ itr ].
w * cst->
w);
ne10_result_t ne10_mlac_vec2f_c(ne10_vec2f_t *dst, ne10_vec2f_t *acc, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
Specific implementation of ne10_mlac_vec2f using plain C code.
ne10_result_t ne10_mlac_vec4f_c(ne10_vec4f_t *dst, ne10_vec4f_t *acc, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
Specific implementation of ne10_mlac_vec4f using plain C code.
A 2-tuple of ne10_float32_t values.
A 3-tuple of ne10_float32_t values.
ne10_result_t ne10_mlac_vec3f_c(ne10_vec3f_t *dst, ne10_vec3f_t *acc, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
Specific implementation of ne10_mlac_vec3f using plain C code.
#define NE10_CHECKPOINTER_DstAccSrcCst
A 4-tuple of ne10_float32_t values.
ne10_result_t ne10_mlac_float_c(ne10_float32_t *dst, ne10_float32_t *acc, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
Specific implementation of ne10_mlac_float using plain C code.