Project Ne10
An Open Optimized Software Library Project for the ARM Architecture
Loading...
Searching...
No Matches
Functions | Variables
Vector Multiply

Functions

ne10_result_t ne10_mulc_float_c (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_float_neon (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_float_asm (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec2f_c (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec2f_neon (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec2f_asm (ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec3f_c (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec3f_neon (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec3f_asm (ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec4f_c (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec4f_neon (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mulc_vec4f_asm (ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 
ne10_result_t ne10_mul_float_c (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_mul_float_neon (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count) asm("ne10_mul_float_neon")
 
ne10_result_t ne10_mul_float_asm (ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_vmul_vec2f_c (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_vmul_vec2f_neon (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count) asm("ne10_vmul_vec2f_neon")
 
ne10_result_t ne10_vmul_vec2f_asm (ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_vmul_vec3f_c (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_vmul_vec3f_neon (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count) asm("ne10_vmul_vec3f_neon")
 
ne10_result_t ne10_vmul_vec3f_asm (ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_vmul_vec4f_c (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count)
 
ne10_result_t ne10_vmul_vec4f_neon (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count) asm("ne10_vmul_vec4f_neon")
 
ne10_result_t ne10_vmul_vec4f_asm (ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count)
 

Variables

ne10_result_t(* ne10_mulc_float )(ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count)
 Multiplies the elements of an input array by a constant scalar and stores the results in an output array.
 
ne10_result_t(* ne10_mulc_vec2f )(ne10_vec2f_t *dst, ne10_vec2f_t *src, const ne10_vec2f_t *cst, ne10_uint32_t count)
 Multiplies the components of 2D vectors in an input array by the components of a constant 2D vector and stores the results in an output array.
 
ne10_result_t(* ne10_mulc_vec3f )(ne10_vec3f_t *dst, ne10_vec3f_t *src, const ne10_vec3f_t *cst, ne10_uint32_t count)
 Multiplies the components of 3D vectors in an input array by the components of a constant 3D vector and stores the results in an output array.
 
ne10_result_t(* ne10_mulc_vec4f )(ne10_vec4f_t *dst, ne10_vec4f_t *src, const ne10_vec4f_t *cst, ne10_uint32_t count)
 Multiplies the components of 4D vectors in an input array by the components of a constant 4D vector and stores the results in an output array.
 
ne10_result_t(* ne10_mul_float )(ne10_float32_t *dst, ne10_float32_t *src1, ne10_float32_t *src2, ne10_uint32_t count)
 Multiplies the elements of src1 by the elements of src2 and stores the results in the dst.
 
ne10_result_t(* ne10_vmul_vec2f )(ne10_vec2f_t *dst, ne10_vec2f_t *src1, ne10_vec2f_t *src2, ne10_uint32_t count)
 Multiplies the components of a 2D vector with the corresponding components of another.
 
ne10_result_t(* ne10_vmul_vec3f )(ne10_vec3f_t *dst, ne10_vec3f_t *src1, ne10_vec3f_t *src2, ne10_uint32_t count)
 Multiplies the components of a 3D vector with the corresponding components of another.
 
ne10_result_t(* ne10_vmul_vec4f )(ne10_vec4f_t *dst, ne10_vec4f_t *src1, ne10_vec4f_t *src2, ne10_uint32_t count)
 Multiplies the components of a 4D vector with the corresponding components of another.
 

Detailed Description

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

Function Documentation

◆ ne10_mul_float_c()

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

Definition at line 37 of file NE10_mul.c.

◆ ne10_mulc_float_c()

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

Definition at line 37 of file NE10_mulc.c.

◆ ne10_mulc_float_neon()

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

Definition at line 39 of file NE10_mulc.neon.c.

◆ ne10_mulc_vec2f_c()

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

Definition at line 45 of file NE10_mulc.c.

◆ ne10_mulc_vec2f_neon()

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

Definition at line 49 of file NE10_mulc.neon.c.

◆ ne10_mulc_vec3f_c()

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

Definition at line 54 of file NE10_mulc.c.

◆ ne10_mulc_vec3f_neon()

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

Definition at line 59 of file NE10_mulc.neon.c.

◆ ne10_mulc_vec4f_c()

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

Definition at line 64 of file NE10_mulc.c.

◆ ne10_mulc_vec4f_neon()

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

Definition at line 73 of file NE10_mulc.neon.c.

◆ ne10_vmul_vec2f_c()

ne10_result_t ne10_vmul_vec2f_c ( ne10_vec2f_t dst,
ne10_vec2f_t src1,
ne10_vec2f_t src2,
ne10_uint32_t  count 
)
extern

Definition at line 45 of file NE10_mul.c.

◆ ne10_vmul_vec3f_c()

ne10_result_t ne10_vmul_vec3f_c ( ne10_vec3f_t dst,
ne10_vec3f_t src1,
ne10_vec3f_t src2,
ne10_uint32_t  count 
)
extern

Definition at line 54 of file NE10_mul.c.

◆ ne10_vmul_vec4f_c()

ne10_result_t ne10_vmul_vec4f_c ( ne10_vec4f_t dst,
ne10_vec4f_t src1,
ne10_vec4f_t src2,
ne10_uint32_t  count 
)
extern

Definition at line 64 of file NE10_mul.c.

Variable Documentation

◆ ne10_mul_float

ne10_result_t(* ne10_mul_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

Multiplies the elements of src1 by the elements of src2 and stores the results in the dst.

This function point could be pointed to one of ne10_mul_float_c, ne10_mul_float_neon and ne10_mul_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 250 of file NE10_init_math.c.

◆ ne10_mulc_float

ne10_result_t(* ne10_mulc_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

Multiplies the elements of an input array by a constant scalar and stores the results in an output array.

This function point could be pointed to one of ne10_mulc_float_c, ne10_mulc_float_neon and ne10_mulc_float_asm.

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

Definition at line 232 of file NE10_init_math.c.

◆ ne10_mulc_vec2f

ne10_result_t(* ne10_mulc_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

Multiplies the components of 2D vectors in an input array by the components of a constant 2D vector and stores the results in an output array.

This function point could be pointed to one of ne10_mulc_vec2f_c, ne10_mulc_vec2f_neon and ne10_mulc_vec2f_asm.

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

Definition at line 233 of file NE10_init_math.c.

◆ ne10_mulc_vec3f

ne10_result_t(* ne10_mulc_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

Multiplies the components of 3D vectors in an input array by the components of a constant 3D vector and stores the results in an output array.

This function point could be pointed to one of ne10_mulc_vec3f_c, ne10_mulc_vec3f_neon and ne10_mulc_vec3f_asm.

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

Definition at line 234 of file NE10_init_math.c.

◆ ne10_mulc_vec4f

ne10_result_t(* ne10_mulc_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

Multiplies the components of 4D vectors in an input array by the components of a constant 4D vector and stores the results in an output array.

This function point could be pointed to one of ne10_mulc_vec4f_c, ne10_mulc_vec4f_neon and ne10_mulc_vec4f_asm.

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

Definition at line 235 of file NE10_init_math.c.

◆ ne10_vmul_vec2f

ne10_result_t(* ne10_vmul_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

Multiplies the components of a 2D vector with the corresponding components of another.

This function point could be pointed to one of ne10_vmul_vec2f_c, ne10_vmul_vec2f_neon and ne10_vmul_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 264 of file NE10_init_math.c.

◆ ne10_vmul_vec3f

ne10_result_t(* ne10_vmul_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

Multiplies the components of a 3D vector with the corresponding components of another.

This function point could be pointed to one of ne10_vmul_vec3f_c, ne10_vmul_vec3f_neon and ne10_vmul_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 265 of file NE10_init_math.c.

◆ ne10_vmul_vec4f

ne10_result_t(* ne10_vmul_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

Multiplies the components of a 4D vector with the corresponding components of another.

This function point could be pointed to one of ne10_vmul_vec4f_c, ne10_vmul_vec4f_neon and ne10_vmul_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 266 of file NE10_init_math.c.