Project Ne10
An open, optimized software library for the ARM architecture.
Functions | Variables
Vector Element-wise Absolute Value

Functions

ne10_result_t ne10_abs_float_c (ne10_float32_t *dst, ne10_float32_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_float using plain C code. More...
 
ne10_result_t ne10_abs_float_neon (ne10_float32_t *dst, ne10_float32_t *src, ne10_uint32_t count) asm("ne10_abs_float_neon")
 Specific implementation of ne10_abs_float using NEON intrinsics. More...
 
ne10_result_t ne10_abs_float_asm (ne10_float32_t *dst, ne10_float32_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_float using NEON assembly. More...
 
ne10_result_t ne10_abs_vec2f_c (ne10_vec2f_t *dst, ne10_vec2f_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_vec2f using plain C code. More...
 
ne10_result_t ne10_abs_vec2f_neon (ne10_vec2f_t *dst, ne10_vec2f_t *src, ne10_uint32_t count) asm("ne10_abs_vec2f_neon")
 Specific implementation of ne10_abs_vec2f using NEON intrinsics. More...
 
ne10_result_t ne10_abs_vec2f_asm (ne10_vec2f_t *dst, ne10_vec2f_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_vec2f using NEON assembly. More...
 
ne10_result_t ne10_abs_vec3f_c (ne10_vec3f_t *dst, ne10_vec3f_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_vec3f using plain C code. More...
 
ne10_result_t ne10_abs_vec3f_neon (ne10_vec3f_t *dst, ne10_vec3f_t *src, ne10_uint32_t count) asm("ne10_abs_vec3f_neon")
 Specific implementation of ne10_abs_vec3f using NEON intrinsics. More...
 
ne10_result_t ne10_abs_vec3f_asm (ne10_vec3f_t *dst, ne10_vec3f_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_vec3f using NEON assembly. More...
 
ne10_result_t ne10_abs_vec4f_c (ne10_vec4f_t *dst, ne10_vec4f_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_vec4f using plain C code. More...
 
ne10_result_t ne10_abs_vec4f_neon (ne10_vec4f_t *dst, ne10_vec4f_t *src, ne10_uint32_t count) asm("ne10_abs_vec4f_neon")
 Specific implementation of ne10_abs_vec4f using NEON intrinsics. More...
 
ne10_result_t ne10_abs_vec4f_asm (ne10_vec4f_t *dst, ne10_vec4f_t *src, ne10_uint32_t count)
 Specific implementation of ne10_abs_vec4f using NEON assembly. More...
 

Variables

ne10_result_t(* ne10_abs_float )(ne10_float32_t *dst, ne10_float32_t *src, ne10_uint32_t count)
 Calculates the absolute value of scalars within an input array, storing the results in an output array. More...
 
ne10_result_t(* ne10_abs_vec2f )(ne10_vec2f_t *dst, ne10_vec2f_t *src, ne10_uint32_t count)
 Calculates the element-wise absolute value of 2D vectors within an input array, storing the results in an output array. More...
 
ne10_result_t(* ne10_abs_vec3f )(ne10_vec3f_t *dst, ne10_vec3f_t *src, ne10_uint32_t count)
 Calculates the element-wise absolute value of 3D vectors within an input array, storing the results in an output array. More...
 
ne10_result_t(* ne10_abs_vec4f )(ne10_vec4f_t *dst, ne10_vec4f_t *src, ne10_uint32_t count)
 Calculates the element-wise absolute value of 4D vectors within an input array, storing the results in an output array. More...
 

Detailed Description

These functions implement vector absolute value operations for single precision floating point values.

Function Documentation

ne10_result_t ne10_abs_float_asm ( ne10_float32_t dst,
ne10_float32_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_float using NEON assembly.

ne10_result_t ne10_abs_float_c ( ne10_float32_t dst,
ne10_float32_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_float using plain C code.

Definition at line 39 of file NE10_abs.c.

ne10_result_t ne10_abs_float_neon ( ne10_float32_t dst,
ne10_float32_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_float using NEON intrinsics.

ne10_result_t ne10_abs_vec2f_asm ( ne10_vec2f_t dst,
ne10_vec2f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec2f using NEON assembly.

ne10_result_t ne10_abs_vec2f_c ( ne10_vec2f_t dst,
ne10_vec2f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec2f using plain C code.

Definition at line 49 of file NE10_abs.c.

ne10_result_t ne10_abs_vec2f_neon ( ne10_vec2f_t dst,
ne10_vec2f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec2f using NEON intrinsics.

ne10_result_t ne10_abs_vec3f_asm ( ne10_vec3f_t dst,
ne10_vec3f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec3f using NEON assembly.

ne10_result_t ne10_abs_vec3f_c ( ne10_vec3f_t dst,
ne10_vec3f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec3f using plain C code.

Definition at line 60 of file NE10_abs.c.

ne10_result_t ne10_abs_vec3f_neon ( ne10_vec3f_t dst,
ne10_vec3f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec3f using NEON intrinsics.

ne10_result_t ne10_abs_vec4f_asm ( ne10_vec4f_t dst,
ne10_vec4f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec4f using NEON assembly.

ne10_result_t ne10_abs_vec4f_c ( ne10_vec4f_t dst,
ne10_vec4f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec4f using plain C code.

Definition at line 72 of file NE10_abs.c.

ne10_result_t ne10_abs_vec4f_neon ( ne10_vec4f_t dst,
ne10_vec4f_t src,
ne10_uint32_t  count 
)

Specific implementation of ne10_abs_vec4f using NEON intrinsics.

Variable Documentation

ne10_result_t(* ne10_abs_float) (ne10_float32_t *dst, ne10_float32_t *src, ne10_uint32_t count)

Calculates the absolute value of scalars within an input array, storing the results in an output array.

Points to ne10_abs_float_c, ne10_abs_float_neon, or ne10_abs_float_asm. This operation can be performed in-place.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]countThe number of vectors to be processed

Definition at line 253 of file NE10_init_math.c.

ne10_result_t(* ne10_abs_vec2f) (ne10_vec2f_t *dst, ne10_vec2f_t *src, ne10_uint32_t count)

Calculates the element-wise absolute value of 2D vectors within an input array, storing the results in an output array.

Points to ne10_abs_vec2f_c, ne10_abs_vec2f_neon, or ne10_abs_vec2f_asm. This operation can be performed in-place.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]countThe number of vectors to be processed

Definition at line 261 of file NE10_init_math.c.

ne10_result_t(* ne10_abs_vec3f) (ne10_vec3f_t *dst, ne10_vec3f_t *src, ne10_uint32_t count)

Calculates the element-wise absolute value of 3D vectors within an input array, storing the results in an output array.

Points to ne10_abs_vec3f_c, ne10_abs_vec3f_neon, or ne10_abs_vec3f_asm. This operation can be performed in-place.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]countThe number of vectors to be processed

Definition at line 262 of file NE10_init_math.c.

ne10_result_t(* ne10_abs_vec4f) (ne10_vec4f_t *dst, ne10_vec4f_t *src, ne10_uint32_t count)

Calculates the element-wise absolute value of 4D vectors within an input array, storing the results in an output array.

Points to ne10_abs_vec4f_c, ne10_abs_vec4f_neon, or ne10_abs_vec4f_asm. This operation can be performed in-place.

Parameters
[out]dstPointer to the destination array
[in]srcPointer to the source array
[in]countThe number of vectors to be processed

Definition at line 263 of file NE10_init_math.c.