Bitwise exclusive OR Functions. More...
Functions | |
| static void | hpm_dsp_xor_u32 (u32_t *src1, u32_t *src2, u32_t *dst, uint32_t size) |
| Compute the logical bitwise XOR of two u32 vectors. More... | |
| static void | hpm_dsp_xor_u16 (u16_t *src1, u16_t *src2, u16_t *dst, uint32_t size) |
| Compute the logical bitwise XOR of two u16 vectors. More... | |
| static void | hpm_dsp_xor_u8 (u8_t *src1, u8_t *src2, u8_t *dst, uint32_t size) |
| Compute the logical bitwise XOR of two u8 vectors. More... | |
Bitwise exclusive OR Functions.
Bitwise exclusive OR (XOR) functions calculate logical bitwise XOR value from separate source vectors and write the results one-by-one into a destination vector.
Andes DSP library supports distinct bitwise XOR functions for U32, U15 and U8 data types. These functions are introduced in the subsections below.
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Compute the logical bitwise XOR of two u16 vectors.
| [in] | *src1 | pointer of the first input vector |
| [in] | *src2 | pointer of the second input vector |
| [out] | *dst | pointer of the output vector |
| [in] | size | number of elements in a vector |
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Compute the logical bitwise XOR of two u32 vectors.
| [in] | *src1 | pointer of the first input vector |
| [in] | *src2 | pointer of the second input vector |
| [out] | *dst | pointer of the output vector |
| [in] | size | number of elements in a vector |
|
inlinestatic |
#include <middleware/hpm_math/hpm_math.h>
Compute the logical bitwise XOR of two u8 vectors.
| [in] | *src1 | pointer of the first input vector |
| [in] | *src2 | pointer of the second input vector |
| [out] | *dst | pointer of the output vector |
| [in] | size | number of elements in a vector |