Yeppp!
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Functions

enum YepStatus yepCore_Add_V8sV8s_V8s (const Yep8s *restrict x, const Yep8s *restrict y, Yep8s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 8-bit integer arrays. Produces an array of signed 8-bit integer elements. More...
 
enum YepStatus yepCore_Add_V8sV8s_V16s (const Yep8s *restrict x, const Yep8s *restrict y, Yep16s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 8-bit integer arrays. Produces an array of signed 16-bit integer elements. More...
 
enum YepStatus yepCore_Add_V8uV8u_V16u (const Yep8u *restrict x, const Yep8u *restrict y, Yep16u *restrict sum, YepSize length)
 Adds corresponding elements in two unsigned 8-bit integer arrays. Produces an array of unsigned 16-bit integer elements. More...
 
enum YepStatus yepCore_Add_V16sV16s_V16s (const Yep16s *restrict x, const Yep16s *restrict y, Yep16s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 16-bit integer arrays. Produces an array of signed 16-bit integer elements. More...
 
enum YepStatus yepCore_Add_V16sV16s_V32s (const Yep16s *restrict x, const Yep16s *restrict y, Yep32s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 16-bit integer arrays. Produces an array of signed 32-bit integer elements. More...
 
enum YepStatus yepCore_Add_V16uV16u_V32u (const Yep16u *restrict x, const Yep16u *restrict y, Yep32u *restrict sum, YepSize length)
 Adds corresponding elements in two unsigned 16-bit integer arrays. Produces an array of unsigned 32-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32sV32s_V32s (const Yep32s *restrict x, const Yep32s *restrict y, Yep32s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 32-bit integer arrays. Produces an array of signed 32-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32sV32s_V64s (const Yep32s *restrict x, const Yep32s *restrict y, Yep64s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 32-bit integer arrays. Produces an array of signed 64-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32uV32u_V64u (const Yep32u *restrict x, const Yep32u *restrict y, Yep64u *restrict sum, YepSize length)
 Adds corresponding elements in two unsigned 32-bit integer arrays. Produces an array of unsigned 64-bit integer elements. More...
 
enum YepStatus yepCore_Add_V64sV64s_V64s (const Yep64s *restrict x, const Yep64s *restrict y, Yep64s *restrict sum, YepSize length)
 Adds corresponding elements in two signed 64-bit integer arrays. Produces an array of signed 64-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32fV32f_V32f (const Yep32f *restrict x, const Yep32f *restrict y, Yep32f *restrict sum, YepSize length)
 Adds corresponding elements in two single precision (32-bit) floating-point arrays. Produces an array of single precision (32-bit) floating-point elements. More...
 
enum YepStatus yepCore_Add_V64fV64f_V64f (const Yep64f *restrict x, const Yep64f *restrict y, Yep64f *restrict sum, YepSize length)
 Adds corresponding elements in two double precision (64-bit) floating-point arrays. Produces an array of double precision (64-bit) floating-point elements. More...
 
enum YepStatus yepCore_Add_V8sS8s_V8s (const Yep8s *restrict x, Yep8s y, Yep8s *restrict sum, YepSize length)
 Adds a constant to signed 8-bit integer array elements. Produces an array of signed 8-bit integer elements. More...
 
enum YepStatus yepCore_Add_V8sS8s_V16s (const Yep8s *restrict x, Yep8s y, Yep16s *restrict sum, YepSize length)
 Adds a constant to signed 8-bit integer array elements. Produces an array of signed 16-bit integer elements. More...
 
enum YepStatus yepCore_Add_V8uS8u_V16u (const Yep8u *restrict x, Yep8u y, Yep16u *restrict sum, YepSize length)
 Adds a constant to unsigned 8-bit integer array elements. Produces an array of unsigned 16-bit integer elements. More...
 
enum YepStatus yepCore_Add_V16sS16s_V16s (const Yep16s *restrict x, Yep16s y, Yep16s *restrict sum, YepSize length)
 Adds a constant to signed 16-bit integer array elements. Produces an array of signed 16-bit integer elements. More...
 
enum YepStatus yepCore_Add_V16sS16s_V32s (const Yep16s *restrict x, Yep16s y, Yep32s *restrict sum, YepSize length)
 Adds a constant to signed 16-bit integer array elements. Produces an array of signed 32-bit integer elements. More...
 
enum YepStatus yepCore_Add_V16uS16u_V32u (const Yep16u *restrict x, Yep16u y, Yep32u *restrict sum, YepSize length)
 Adds a constant to unsigned 16-bit integer array elements. Produces an array of unsigned 32-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32sS32s_V32s (const Yep32s *restrict x, Yep32s y, Yep32s *restrict sum, YepSize length)
 Adds a constant to signed 32-bit integer array elements. Produces an array of signed 32-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32uS32u_V64u (const Yep32u *restrict x, Yep32u y, Yep64u *restrict sum, YepSize length)
 Adds a constant to unsigned 32-bit integer array elements. Produces an array of unsigned 64-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32sS32s_V64s (const Yep32s *restrict x, Yep32s y, Yep64s *restrict sum, YepSize length)
 Adds a constant to signed 32-bit integer array elements. Produces an array of signed 64-bit integer elements. More...
 
enum YepStatus yepCore_Add_V64sS64s_V64s (const Yep64s *restrict x, Yep64s y, Yep64s *restrict sum, YepSize length)
 Adds a constant to signed 64-bit integer array elements. Produces an array of signed 64-bit integer elements. More...
 
enum YepStatus yepCore_Add_V32fS32f_V32f (const Yep32f *restrict x, Yep32f y, Yep32f *restrict sum, YepSize length)
 Adds a constant to single precision (32-bit) floating-point array elements. Produces an array of single precision (32-bit) floating-point elements. More...
 
enum YepStatus yepCore_Add_V64fS64f_V64f (const Yep64f *restrict x, Yep64f y, Yep64f *restrict sum, YepSize length)
 Adds a constant to double precision (64-bit) floating-point array elements. Produces an array of double precision (64-bit) floating-point elements. More...
 
enum YepStatus yepCore_Add_IV8sV8s_IV8s (Yep8s *restrict x, const Yep8s *restrict y, YepSize length)
 Adds corresponding elements in two signed 8-bit integer arrays and writes the result to the first array. More...
 
enum YepStatus yepCore_Add_IV16sV16s_IV16s (Yep16s *restrict x, const Yep16s *restrict y, YepSize length)
 Adds corresponding elements in two signed 16-bit integer arrays and writes the result to the first array. More...
 
enum YepStatus yepCore_Add_IV32sV32s_IV32s (Yep32s *restrict x, const Yep32s *restrict y, YepSize length)
 Adds corresponding elements in two signed 32-bit integer arrays and writes the result to the first array. More...
 
enum YepStatus yepCore_Add_IV64sV64s_IV64s (Yep64s *restrict x, const Yep64s *restrict y, YepSize length)
 Adds corresponding elements in two signed 64-bit integer arrays and writes the result to the first array. More...
 
enum YepStatus yepCore_Add_IV32fV32f_IV32f (Yep32f *restrict x, const Yep32f *restrict y, YepSize length)
 Adds corresponding elements in two single precision (32-bit) floating-point arrays and writes the result to the first array. More...
 
enum YepStatus yepCore_Add_IV64fV64f_IV64f (Yep64f *restrict x, const Yep64f *restrict y, YepSize length)
 Adds corresponding elements in two double precision (64-bit) floating-point arrays and writes the result to the first array. More...
 
enum YepStatus yepCore_Add_IV8sS8s_IV8s (Yep8s *restrict x, Yep8s y, YepSize length)
 Adds a constant to signed 8-bit integer array elements and writes the result to the same array. More...
 
enum YepStatus yepCore_Add_IV16sS16s_IV16s (Yep16s *restrict x, Yep16s y, YepSize length)
 Adds a constant to signed 16-bit integer array elements and writes the result to the same array. More...
 
enum YepStatus yepCore_Add_IV32sS32s_IV32s (Yep32s *restrict x, Yep32s y, YepSize length)
 Adds a constant to signed 32-bit integer array elements and writes the result to the same array. More...
 
enum YepStatus yepCore_Add_IV64sS64s_IV64s (Yep64s *restrict x, Yep64s y, YepSize length)
 Adds a constant to signed 64-bit integer array elements and writes the result to the same array. More...
 
enum YepStatus yepCore_Add_IV32fS32f_IV32f (Yep32f *restrict x, Yep32f y, YepSize length)
 Adds a constant to single precision (32-bit) floating-point array elements and writes the result to the same array. More...
 
enum YepStatus yepCore_Add_IV64fS64f_IV64f (Yep64f *restrict x, Yep64f y, YepSize length)
 Adds a constant to double precision (64-bit) floating-point array elements and writes the result to the same array. More...
 

Detailed Description

Function Documentation

enum YepStatus yepCore_Add_V8sV8s_V8s ( const Yep8s *restrict  x,
const Yep8s *restrict  y,
Yep8s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 8-bit integer arrays. Produces an array of signed 8-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 8-bit integer elements.
[in]yPointer to the second addend array of signed 8-bit integer elements.
[out]sumPointer to the summand array of signed 8-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V8sV8s_V16s ( const Yep8s *restrict  x,
const Yep8s *restrict  y,
Yep16s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 8-bit integer arrays. Produces an array of signed 16-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 8-bit integer elements.
[in]yPointer to the second addend array of signed 8-bit integer elements.
[out]sumPointer to the summand array of signed 16-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V8uV8u_V16u ( const Yep8u *restrict  x,
const Yep8u *restrict  y,
Yep16u *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two unsigned 8-bit integer arrays. Produces an array of unsigned 16-bit integer elements.

Parameters
[in]xPointer to the first addend array of unsigned 8-bit integer elements.
[in]yPointer to the second addend array of unsigned 8-bit integer elements.
[out]sumPointer to the summand array of unsigned 16-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V16sV16s_V16s ( const Yep16s *restrict  x,
const Yep16s *restrict  y,
Yep16s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 16-bit integer arrays. Produces an array of signed 16-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 16-bit integer elements.
[in]yPointer to the second addend array of signed 16-bit integer elements.
[out]sumPointer to the summand array of signed 16-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V16sV16s_V32s ( const Yep16s *restrict  x,
const Yep16s *restrict  y,
Yep32s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 16-bit integer arrays. Produces an array of signed 32-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 16-bit integer elements.
[in]yPointer to the second addend array of signed 16-bit integer elements.
[out]sumPointer to the summand array of signed 32-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V16uV16u_V32u ( const Yep16u *restrict  x,
const Yep16u *restrict  y,
Yep32u *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two unsigned 16-bit integer arrays. Produces an array of unsigned 32-bit integer elements.

Parameters
[in]xPointer to the first addend array of unsigned 16-bit integer elements.
[in]yPointer to the second addend array of unsigned 16-bit integer elements.
[out]sumPointer to the summand array of unsigned 32-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V32sV32s_V32s ( const Yep32s *restrict  x,
const Yep32s *restrict  y,
Yep32s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 32-bit integer arrays. Produces an array of signed 32-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 32-bit integer elements.
[in]yPointer to the second addend array of signed 32-bit integer elements.
[out]sumPointer to the summand array of signed 32-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V32sV32s_V64s ( const Yep32s *restrict  x,
const Yep32s *restrict  y,
Yep64s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 32-bit integer arrays. Produces an array of signed 64-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 32-bit integer elements.
[in]yPointer to the second addend array of signed 32-bit integer elements.
[out]sumPointer to the summand array of signed 64-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V32uV32u_V64u ( const Yep32u *restrict  x,
const Yep32u *restrict  y,
Yep64u *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two unsigned 32-bit integer arrays. Produces an array of unsigned 64-bit integer elements.

Parameters
[in]xPointer to the first addend array of unsigned 32-bit integer elements.
[in]yPointer to the second addend array of unsigned 32-bit integer elements.
[out]sumPointer to the summand array of unsigned 64-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V64sV64s_V64s ( const Yep64s *restrict  x,
const Yep64s *restrict  y,
Yep64s *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two signed 64-bit integer arrays. Produces an array of signed 64-bit integer elements.

Parameters
[in]xPointer to the first addend array of signed 64-bit integer elements.
[in]yPointer to the second addend array of signed 64-bit integer elements.
[out]sumPointer to the summand array of signed 64-bit integer elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V32fV32f_V32f ( const Yep32f *restrict  x,
const Yep32f *restrict  y,
Yep32f *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two single precision (32-bit) floating-point arrays. Produces an array of single precision (32-bit) floating-point elements.

Parameters
[in]xPointer to the first addend array of single precision (32-bit) floating-point elements.
[in]yPointer to the second addend array of single precision (32-bit) floating-point elements.
[out]sumPointer to the summand array of single precision (32-bit) floating-point elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE
x86-64Intel Sandy BridgeAVX
ARMARM Cortex-A9VFP2, NEON
enum YepStatus yepCore_Add_V64fV64f_V64f ( const Yep64f *restrict  x,
const Yep64f *restrict  y,
Yep64f *restrict  sum,
YepSize  length 
)

Adds corresponding elements in two double precision (64-bit) floating-point arrays. Produces an array of double precision (64-bit) floating-point elements.

Parameters
[in]xPointer to the first addend array of double precision (64-bit) floating-point elements.
[in]yPointer to the second addend array of double precision (64-bit) floating-point elements.
[out]sumPointer to the summand array of double precision (64-bit) floating-point elements.
[in]lengthLength of the arrays specified by x, y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or sum argument is null.
YepStatusMisalignedPointerx, y or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
ARMARM Cortex-A9VFP2
enum YepStatus yepCore_Add_V8sS8s_V8s ( const Yep8s *restrict  x,
Yep8s  y,
Yep8s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 8-bit integer array elements. Produces an array of signed 8-bit integer elements.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in]xPointer to the addend array of signed 8-bit integer elements.
[in]yThe signed 8-bit integer constant to be added.
[out]sumPointer to the summand array of signed 8-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
enum YepStatus yepCore_Add_V8sS8s_V16s ( const Yep8s *restrict  x,
Yep8s  y,
Yep16s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 8-bit integer array elements. Produces an array of signed 16-bit integer elements.

Parameters
[in]xPointer to the addend array of signed 8-bit integer elements.
[in]yThe signed 8-bit integer constant to be added.
[out]sumPointer to the summand array of signed 16-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeSSE2, AVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V8uS8u_V16u ( const Yep8u *restrict  x,
Yep8u  y,
Yep16u *restrict  sum,
YepSize  length 
)

Adds a constant to unsigned 8-bit integer array elements. Produces an array of unsigned 16-bit integer elements.

Parameters
[in]xPointer to the addend array of unsigned 8-bit integer elements.
[in]yThe unsigned 8-bit integer constant to be added.
[out]sumPointer to the summand array of unsigned 16-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeSSE2, AVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V16sS16s_V16s ( const Yep16s *restrict  x,
Yep16s  y,
Yep16s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 16-bit integer array elements. Produces an array of signed 16-bit integer elements.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in]xPointer to the addend array of signed 16-bit integer elements.
[in]yThe signed 16-bit integer constant to be added.
[out]sumPointer to the summand array of signed 16-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
enum YepStatus yepCore_Add_V16sS16s_V32s ( const Yep16s *restrict  x,
Yep16s  y,
Yep32s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 16-bit integer array elements. Produces an array of signed 32-bit integer elements.

Parameters
[in]xPointer to the addend array of signed 16-bit integer elements.
[in]yThe signed 16-bit integer constant to be added.
[out]sumPointer to the summand array of signed 32-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeSSE2, AVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V16uS16u_V32u ( const Yep16u *restrict  x,
Yep16u  y,
Yep32u *restrict  sum,
YepSize  length 
)

Adds a constant to unsigned 16-bit integer array elements. Produces an array of unsigned 32-bit integer elements.

Parameters
[in]xPointer to the addend array of unsigned 16-bit integer elements.
[in]yThe unsigned 16-bit integer constant to be added.
[out]sumPointer to the summand array of unsigned 32-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeSSE2, AVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V32sS32s_V32s ( const Yep32s *restrict  x,
Yep32s  y,
Yep32s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 32-bit integer array elements. Produces an array of signed 32-bit integer elements.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in]xPointer to the addend array of signed 32-bit integer elements.
[in]yThe signed 32-bit integer constant to be added.
[out]sumPointer to the summand array of signed 32-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
enum YepStatus yepCore_Add_V32uS32u_V64u ( const Yep32u *restrict  x,
Yep32u  y,
Yep64u *restrict  sum,
YepSize  length 
)

Adds a constant to unsigned 32-bit integer array elements. Produces an array of unsigned 64-bit integer elements.

Parameters
[in]xPointer to the addend array of unsigned 32-bit integer elements.
[in]yThe unsigned 32-bit integer constant to be added.
[out]sumPointer to the summand array of unsigned 64-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeSSE2, AVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V32sS32s_V64s ( const Yep32s *restrict  x,
Yep32s  y,
Yep64s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 32-bit integer array elements. Produces an array of signed 64-bit integer elements.

Parameters
[in]xPointer to the addend array of signed 32-bit integer elements.
[in]yThe signed 32-bit integer constant to be added.
[out]sumPointer to the summand array of signed 64-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2, SSE4.1
x86-64Intel Sandy BridgeSSE2, AVX
x86-64Intel HaswellAVX, AVX2
x86-64AMD K10SSE2
enum YepStatus yepCore_Add_V64sS64s_V64s ( const Yep64s *restrict  x,
Yep64s  y,
Yep64s *restrict  sum,
YepSize  length 
)

Adds a constant to signed 64-bit integer array elements. Produces an array of signed 64-bit integer elements.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in]xPointer to the addend array of signed 64-bit integer elements.
[in]yThe signed 64-bit integer constant to be added.
[out]sumPointer to the summand array of signed 64-bit integer elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
enum YepStatus yepCore_Add_V32fS32f_V32f ( const Yep32f *restrict  x,
Yep32f  y,
Yep32f *restrict  sum,
YepSize  length 
)

Adds a constant to single precision (32-bit) floating-point array elements. Produces an array of single precision (32-bit) floating-point elements.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in]xPointer to the addend array of single precision (32-bit) floating-point elements.
[in]yThe single precision (32-bit) floating-point constant to be added.
[out]sumPointer to the summand array of single precision (32-bit) floating-point elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
enum YepStatus yepCore_Add_V64fS64f_V64f ( const Yep64f *restrict  x,
Yep64f  y,
Yep64f *restrict  sum,
YepSize  length 
)

Adds a constant to double precision (64-bit) floating-point array elements. Produces an array of double precision (64-bit) floating-point elements.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in]xPointer to the addend array of double precision (64-bit) floating-point elements.
[in]yThe double precision (64-bit) floating-point constant to be added.
[out]sumPointer to the summand array of double precision (64-bit) floating-point elements.
[in]lengthLength of the arrays specified by x and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or sum argument is null.
YepStatusMisalignedPointerx or sum argument is not naturally aligned.
enum YepStatus yepCore_Add_IV8sV8s_IV8s ( Yep8s *restrict  x,
const Yep8s *restrict  y,
YepSize  length 
)

Adds corresponding elements in two signed 8-bit integer arrays and writes the result to the first array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the first addend array of signed 8-bit integer elements.
[in]yPointer to the second addend array of signed 8-bit integer elements.
[in]lengthLength of the arrays specified by x and y.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or y argument is null.
YepStatusMisalignedPointerx or y argument is not naturally aligned.
enum YepStatus yepCore_Add_IV16sV16s_IV16s ( Yep16s *restrict  x,
const Yep16s *restrict  y,
YepSize  length 
)

Adds corresponding elements in two signed 16-bit integer arrays and writes the result to the first array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the first addend array of signed 16-bit integer elements.
[in]yPointer to the second addend array of signed 16-bit integer elements.
[in]lengthLength of the arrays specified by x and y.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or y argument is null.
YepStatusMisalignedPointerx or y argument is not naturally aligned.
enum YepStatus yepCore_Add_IV32sV32s_IV32s ( Yep32s *restrict  x,
const Yep32s *restrict  y,
YepSize  length 
)

Adds corresponding elements in two signed 32-bit integer arrays and writes the result to the first array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the first addend array of signed 32-bit integer elements.
[in]yPointer to the second addend array of signed 32-bit integer elements.
[in]lengthLength of the arrays specified by x and y.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or y argument is null.
YepStatusMisalignedPointerx or y argument is not naturally aligned.
enum YepStatus yepCore_Add_IV64sV64s_IV64s ( Yep64s *restrict  x,
const Yep64s *restrict  y,
YepSize  length 
)

Adds corresponding elements in two signed 64-bit integer arrays and writes the result to the first array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the first addend array of signed 64-bit integer elements.
[in]yPointer to the second addend array of signed 64-bit integer elements.
[in]lengthLength of the arrays specified by x and y.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or y argument is null.
YepStatusMisalignedPointerx or y argument is not naturally aligned.
enum YepStatus yepCore_Add_IV32fV32f_IV32f ( Yep32f *restrict  x,
const Yep32f *restrict  y,
YepSize  length 
)

Adds corresponding elements in two single precision (32-bit) floating-point arrays and writes the result to the first array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the first addend array of single precision (32-bit) floating-point elements.
[in]yPointer to the second addend array of single precision (32-bit) floating-point elements.
[in]lengthLength of the arrays specified by x and y.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or y argument is null.
YepStatusMisalignedPointerx or y argument is not naturally aligned.
enum YepStatus yepCore_Add_IV64fV64f_IV64f ( Yep64f *restrict  x,
const Yep64f *restrict  y,
YepSize  length 
)

Adds corresponding elements in two double precision (64-bit) floating-point arrays and writes the result to the first array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the first addend array of double precision (64-bit) floating-point elements.
[in]yPointer to the second addend array of double precision (64-bit) floating-point elements.
[in]lengthLength of the arrays specified by x and y.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx or y argument is null.
YepStatusMisalignedPointerx or y argument is not naturally aligned.
enum YepStatus yepCore_Add_IV8sS8s_IV8s ( Yep8s *restrict  x,
Yep8s  y,
YepSize  length 
)

Adds a constant to signed 8-bit integer array elements and writes the result to the same array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the addend array of signed 8-bit integer elements.
[in]yThe signed 8-bit integer constant to be added.
[in]lengthLength of the array specified by x.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx argument is null.
YepStatusMisalignedPointerx argument is not naturally aligned.
enum YepStatus yepCore_Add_IV16sS16s_IV16s ( Yep16s *restrict  x,
Yep16s  y,
YepSize  length 
)

Adds a constant to signed 16-bit integer array elements and writes the result to the same array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the addend array of signed 16-bit integer elements.
[in]yThe signed 16-bit integer constant to be added.
[in]lengthLength of the array specified by x.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx argument is null.
YepStatusMisalignedPointerx argument is not naturally aligned.
enum YepStatus yepCore_Add_IV32sS32s_IV32s ( Yep32s *restrict  x,
Yep32s  y,
YepSize  length 
)

Adds a constant to signed 32-bit integer array elements and writes the result to the same array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the addend array of signed 32-bit integer elements.
[in]yThe signed 32-bit integer constant to be added.
[in]lengthLength of the array specified by x.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx argument is null.
YepStatusMisalignedPointerx argument is not naturally aligned.
enum YepStatus yepCore_Add_IV64sS64s_IV64s ( Yep64s *restrict  x,
Yep64s  y,
YepSize  length 
)

Adds a constant to signed 64-bit integer array elements and writes the result to the same array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the addend array of signed 64-bit integer elements.
[in]yThe signed 64-bit integer constant to be added.
[in]lengthLength of the array specified by x.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx argument is null.
YepStatusMisalignedPointerx argument is not naturally aligned.
enum YepStatus yepCore_Add_IV32fS32f_IV32f ( Yep32f *restrict  x,
Yep32f  y,
YepSize  length 
)

Adds a constant to single precision (32-bit) floating-point array elements and writes the result to the same array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the addend array of single precision (32-bit) floating-point elements.
[in]yThe single precision (32-bit) floating-point constant to be added.
[in]lengthLength of the array specified by x.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx argument is null.
YepStatusMisalignedPointerx argument is not naturally aligned.
enum YepStatus yepCore_Add_IV64fS64f_IV64f ( Yep64f *restrict  x,
Yep64f  y,
YepSize  length 
)

Adds a constant to double precision (64-bit) floating-point array elements and writes the result to the same array.

Warning
This version of Yeppp! does not include optimized implementations for this function
Parameters
[in,out]xPointer to the addend array of double precision (64-bit) floating-point elements.
[in]yThe double precision (64-bit) floating-point constant to be added.
[in]lengthLength of the array specified by x.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx argument is null.
YepStatusMisalignedPointerx argument is not naturally aligned.