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

Functions

enum YepStatus yepCore_Subtract_V8uV8u_V8u (const Yep8u *restrict x, const Yep8u *restrict y, Yep8u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 8-bit integer arrays, producing an array of unsigned 8-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V8uV8u_V16u (const Yep8u *restrict x, const Yep8u *restrict y, Yep16u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 8-bit integer arrays, producing an array of unsigned 16-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V8sV8s_V16s (const Yep8s *restrict x, const Yep8s *restrict y, Yep16s *restrict difference, YepSize length)
 Subtracts corresponding elements in two signed 8-bit integer arrays, producing an array of signed 16-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V16uV16u_V16u (const Yep16u *restrict x, const Yep16u *restrict y, Yep16u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 16-bit integer arrays, producing an array of unsigned 16-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V16uV16u_V32u (const Yep16u *restrict x, const Yep16u *restrict y, Yep32u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 16-bit integer arrays, producing an array of unsigned 32-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V16sV16s_V32s (const Yep16s *restrict x, const Yep16s *restrict y, Yep32s *restrict difference, YepSize length)
 Subtracts corresponding elements in two signed 16-bit integer arrays, producing an array of signed 32-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V32uV32u_V32u (const Yep32u *restrict x, const Yep32u *restrict y, Yep32u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 32-bit integer arrays, producing an array of unsigned 32-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V32uV32u_V64u (const Yep32u *restrict x, const Yep32u *restrict y, Yep64u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 32-bit integer arrays, producing an array of unsigned 64-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V32sV32s_V64s (const Yep32s *restrict x, const Yep32s *restrict y, Yep64s *restrict difference, YepSize length)
 Subtracts corresponding elements in two signed 32-bit integer arrays, producing an array of signed 64-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V64uV64u_V64u (const Yep64u *restrict x, const Yep64u *restrict y, Yep64u *restrict difference, YepSize length)
 Subtracts corresponding elements in two unsigned 64-bit integer arrays, producing an array of unsigned 64-bit integer elements. More...
 
enum YepStatus yepCore_Subtract_V32fV32f_V32f (const Yep32f *restrict x, const Yep32f *restrict y, Yep32f *restrict difference, YepSize length)
 Subtracts corresponding elements in two single precision (32-bit) floating-point arrays, producing an array of single precision (32-bit) floating-point elements. More...
 
enum YepStatus yepCore_Subtract_V64fV64f_V64f (const Yep64f *restrict x, const Yep64f *restrict y, Yep64f *restrict difference, YepSize length)
 Subtracts corresponding elements in two double precision (64-bit) floating-point arrays, producing an array of double precision (64-bit) floating-point elements. More...
 

Detailed Description

Function Documentation

enum YepStatus yepCore_Subtract_V8uV8u_V8u ( const Yep8u *restrict  x,
const Yep8u *restrict  y,
Yep8u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 8-bit integer arrays, producing an array of unsigned 8-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 8-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 8-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 8-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
enum YepStatus yepCore_Subtract_V8uV8u_V16u ( const Yep8u *restrict  x,
const Yep8u *restrict  y,
Yep16u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 8-bit integer arrays, producing an array of unsigned 16-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 8-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 8-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 16-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference 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_Subtract_V8sV8s_V16s ( const Yep8s *restrict  x,
const Yep8s *restrict  y,
Yep16s *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two signed 8-bit integer arrays, producing an array of signed 16-bit integer elements.

Parameters
[in]xPointer the minuend array of signed 8-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of signed 8-bit integer elements to be subtracted.
[out]differencePointer the array of signed 16-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference 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_Subtract_V16uV16u_V16u ( const Yep16u *restrict  x,
const Yep16u *restrict  y,
Yep16u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 16-bit integer arrays, producing an array of unsigned 16-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 16-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 16-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 16-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
enum YepStatus yepCore_Subtract_V16uV16u_V32u ( const Yep16u *restrict  x,
const Yep16u *restrict  y,
Yep32u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 16-bit integer arrays, producing an array of unsigned 32-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 16-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 16-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 32-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference 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_Subtract_V16sV16s_V32s ( const Yep16s *restrict  x,
const Yep16s *restrict  y,
Yep32s *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two signed 16-bit integer arrays, producing an array of signed 32-bit integer elements.

Parameters
[in]xPointer the minuend array of signed 16-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of signed 16-bit integer elements to be subtracted.
[out]differencePointer the array of signed 32-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference 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_Subtract_V32uV32u_V32u ( const Yep32u *restrict  x,
const Yep32u *restrict  y,
Yep32u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 32-bit integer arrays, producing an array of unsigned 32-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 32-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 32-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 32-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
enum YepStatus yepCore_Subtract_V32uV32u_V64u ( const Yep32u *restrict  x,
const Yep32u *restrict  y,
Yep64u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 32-bit integer arrays, producing an array of unsigned 64-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 32-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 32-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 64-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference 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_Subtract_V32sV32s_V64s ( const Yep32s *restrict  x,
const Yep32s *restrict  y,
Yep64s *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two signed 32-bit integer arrays, producing an array of signed 64-bit integer elements.

Parameters
[in]xPointer the minuend array of signed 32-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of signed 32-bit integer elements to be subtracted.
[out]differencePointer the array of signed 64-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference 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_Subtract_V64uV64u_V64u ( const Yep64u *restrict  x,
const Yep64u *restrict  y,
Yep64u *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two unsigned 64-bit integer arrays, producing an array of unsigned 64-bit integer elements.

Parameters
[in]xPointer the minuend array of unsigned 64-bit integer elements to be subtracted from.
[in]yPointer the subtrahend array of unsigned 64-bit integer elements to be subtracted.
[out]differencePointer the array of unsigned 64-bit integer elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX
x86-64Intel HaswellAVX, AVX2
enum YepStatus yepCore_Subtract_V32fV32f_V32f ( const Yep32f *restrict  x,
const Yep32f *restrict  y,
Yep32f *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two single precision (32-bit) floating-point arrays, producing an array of single precision (32-bit) floating-point elements.

Parameters
[in]xPointer the minuend array of single precision (32-bit) floating-point elements to be subtracted from.
[in]yPointer the subtrahend array of single precision (32-bit) floating-point elements to be subtracted.
[out]differencePointer the array of single precision (32-bit) floating-point elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE
x86-64Intel Sandy BridgeAVX
enum YepStatus yepCore_Subtract_V64fV64f_V64f ( const Yep64f *restrict  x,
const Yep64f *restrict  y,
Yep64f *restrict  difference,
YepSize  length 
)

Subtracts corresponding elements in two double precision (64-bit) floating-point arrays, producing an array of double precision (64-bit) floating-point elements.

Parameters
[in]xPointer the minuend array of double precision (64-bit) floating-point elements to be subtracted from.
[in]yPointer the subtrahend array of double precision (64-bit) floating-point elements to be subtracted.
[out]differencePointer the array of double precision (64-bit) floating-point elements where the pairwise differences will be stored.
[in]lengthThe length of the arrays specified by x and y, and sum.
Return values
YepStatusOkThe computation finished successfully.
YepStatusNullPointerx, y or difference argument is null.
YepStatusMisalignedPointerx, y or difference argument is not naturally aligned.
Optimized implementations
ArchitectureTarget microarchitectureRequired instruction extensions
x86-64Intel NehalemSSE2
x86-64Intel Sandy BridgeAVX