Project Ne10
An Open Optimized Software Library Project for the ARM Architecture
Functions | Variables
Vector Add

Functions

ne10_result_t ne10_addc_float_c (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_float_neon (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count) asm("ne10_addc_float_neon")
 
ne10_result_t ne10_addc_float_asm (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_vec2f_c (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_vec2f_neon (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count) asm("ne10_addc_vec2f_neon")
 
ne10_result_t ne10_addc_vec2f_asm (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_vec3f_c (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_vec3f_neon (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count) asm("ne10_addc_vec3f_neon")
 
ne10_result_t ne10_addc_vec3f_asm (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_vec4f_c (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_addc_vec4f_neon (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count) asm("ne10_addc_vec4f_neon")
 
ne10_result_t ne10_addc_vec4f_asm (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_add_float_c (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_float_neon (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count) asm("ne10_add_float_neon")
 
ne10_result_t ne10_add_float_asm (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_vec2f_c (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_vec2f_neon (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count) asm("ne10_add_vec2f_neon")
 
ne10_result_t ne10_add_vec2f_asm (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_vec3f_c (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_vec3f_neon (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count) asm("ne10_add_vec3f_neon")
 
ne10_result_t ne10_add_vec3f_asm (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_vec4f_c (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_add_vec4f_neon (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count) asm("ne10_add_vec4f_neon")
 
ne10_result_t ne10_add_vec4f_asm (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count)
 

Variables

ne10_result_t(* ne10_addc_float )(ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 Adds a constant scalar value to all the elements of an input array and stores the results in an output array. More...
 
ne10_result_t(* ne10_addc_vec2f )(ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 Adds a constant 2D vector to all of the vectors in an input array and stores the results in an output array. More...
 
ne10_result_t(* ne10_addc_vec3f )(ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 Adds a constant 3D vector to all of the vectors in an input array and stores the results in an output array. More...
 
ne10_result_t(* ne10_addc_vec4f )(ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 Adds a constant 4D vector to all of the vectors in an input array and stores the results in an output array. More...
 
ne10_result_t(* ne10_add_float )(ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count)
 Adds the elements of src1 to the elements of src2 and stores the results in the dst. More...
 
ne10_result_t(* ne10_add_vec2f )(ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count)
 Vector addition of two 2D vectors. More...
 
ne10_result_t(* ne10_add_vec3f )(ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count)
 Vector addition of two 3D vectors. More...
 
ne10_result_t(* ne10_add_vec4f )(ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count)
 Vector addition of two 4D vectors. More...
 

Detailed Description

These functions implement the vector add operation for float data type.

Variable Documentation

◆ ne10_add_float

ne10_result_t(* ne10_add_float) (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count) ( ne10_float32_t *  dst,
ne10_float32_t *  src1,
ne10_float32_t *  src2,
ne10_uint32_t  count 
)
extern

Adds the elements of src1 to the elements of src2 and stores the results in the dst.

This function point could be pointed to one of ne10_add_float_c, ne10_add_float_neon and ne10_add_float_asm.

Parameters
[out]dstPointer to the destination array
[in]src1The first array to use as the input array
[in]src2The second array to use as the input array
[in]countThe number of items in the two input arrays

Definition at line 248 of file NE10_init_math.c.

◆ ne10_add_vec2f

ne10_result_t(* ne10_add_vec2f) (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count) ( ne10_vec2f_t dst,
ne10_vec2f_t src1,
ne10_vec2f_t src2,
ne10_uint32_t  count 
)
extern

Vector addition of two 2D vectors.

This function point could be pointed to one of ne10_add_vec2f_c, ne10_add_vec2f_neon and ne10_add_vec2f_asm.

Parameters
[out]dstPointer to the destination array
[in]src1Pointer to the first source array
[in]src2Pointer to the second source array
[in]countThe number of items in the input arrays

Definition at line 273 of file NE10_init_math.c.

◆ ne10_add_vec3f

ne10_result_t(* ne10_add_vec3f) (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count) ( ne10_vec3f_t dst,
ne10_vec3f_t src1,
ne10_vec3f_t src2,
ne10_uint32_t  count 
)
extern

Vector addition of two 3D vectors.

This function point could be pointed to one of ne10_add_vec3f_c, ne10_add_vec3f_neon and ne10_add_vec3f_asm.

Parameters
[out]dstPointer to the destination array
[in]src1Pointer to the first source array
[in]src2Pointer to the second source array
[in]countThe number of items in the input arrays

Definition at line 274 of file NE10_init_math.c.

◆ ne10_add_vec4f

ne10_result_t(* ne10_add_vec4f) (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count) ( ne10_vec4f_t dst,
ne10_vec4f_t src1,
ne10_vec4f_t src2,
ne10_uint32_t  count 
)
extern

Vector addition of two 4D vectors.

This function point could be pointed to one of ne10_add_vec4f_c, ne10_add_vec4f_neon and ne10_add_vec4f_asm.

Parameters
[out]dstPointer to the destination array
[in]src1Pointer to the first source array
[in]src2Pointer to the second source array
[in]countThe number of items in the input arrays

Definition at line 275 of file NE10_init_math.c.

◆ ne10_addc_float

ne10_result_t(* ne10_addc_float) (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count) ( ne10_float32_t *  dst,
ne10_float32_t *  src,
const ne10_float32_t  cst,
ne10_uint32_t  count 
)
extern

Adds a constant scalar value to all the elements of an input array and stores the results in an output array.

This function point could be pointed to one of ne10_addc_float_c, ne10_addc_float_neon and ne10_addc_float_asm.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]cstThe constant scalar added to the input values
[in]countThe number of items in the input array

Definition at line 220 of file NE10_init_math.c.

◆ ne10_addc_vec2f

ne10_result_t(* ne10_addc_vec2f) (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count) ( ne10_vec2f_t dst,
ne10_vec2f_t src,
const ne10_vec2f_t cst,
ne10_uint32_t  count 
)
extern

Adds a constant 2D vector to all of the vectors in an input array and stores the results in an output array.

This function point could be pointed to one of ne10_addc_vec2f_c, ne10_addc_vec2f_neon and ne10_addc_vec2f_asm.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]cstPointer to the 2D vector added to the input values
[in]countThe number of items in the input array

Definition at line 221 of file NE10_init_math.c.

◆ ne10_addc_vec3f

ne10_result_t(* ne10_addc_vec3f) (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count) ( ne10_vec3f_t dst,
ne10_vec3f_t src,
const ne10_vec3f_t cst,
ne10_uint32_t  count 
)
extern

Adds a constant 3D vector to all of the vectors in an input array and stores the results in an output array.

This function point could be pointed to one of ne10_addc_vec3f_c, ne10_addc_vec3f_neon and ne10_addc_vec3f_asm.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]cstPointer to the 3D vector added to the input values
[in]countThe number of items in the input array

Definition at line 222 of file NE10_init_math.c.

◆ ne10_addc_vec4f

ne10_result_t(* ne10_addc_vec4f) (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count) ( ne10_vec4f_t dst,
ne10_vec4f_t src,
const ne10_vec4f_t cst,
ne10_uint32_t  count 
)
extern

Adds a constant 4D vector to all of the vectors in an input array and stores the results in an output array.

This function point could be pointed to one of ne10_addc_vec4f_c, ne10_addc_vec4f_neon and ne10_addc_vec4f_asm.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]cstPointer to the 4D vector added to the input values
[in]countThe number of items in the input array

Definition at line 223 of file NE10_init_math.c.