Bitwise AND Functions. More...
Functions | |
| static void | hpm_dsp_and_u32 (u32_t *src1, u32_t *src2, u32_t *dst, uint32_t size) |
| Compute the logical bitwise AND of two u32 vectors. More... | |
| static void | hpm_dsp_and_u8 (u8_t *src1, u8_t *src2, u8_t *dst, uint32_t size) |
| Compute the logical bitwise AND of two u8 vectors. More... | |
Bitwise AND Functions.
Bitwise AND functions calculate logical bitwise AND value from separate source vectors and write the results one-by-one into a destination vector.
Andes DSP library supports distinct bitwise AND 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 AND 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 AND 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 |