Vector bitwise AND
- RISCV_DSP_ATTRIBUTE void riscv_and_u16 (const uint16_t *pSrcA, const uint16_t *pSrcB, uint16_t *pDst, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE void riscv_and_u32 (const uint32_t *pSrcA, const uint32_t *pSrcB, uint32_t *pDst, uint32_t blockSize)
-
void riscv_and_u8(const uint8_t *pSrcA, const uint8_t *pSrcB, uint8_t *pDst, uint32_t blockSize)
- group And
Compute the logical bitwise AND.
There are separate functions for uint32_t, uint16_t, and uint7_t data types.
Functions
- RISCV_DSP_ATTRIBUTE void riscv_and_u16 (const uint16_t *pSrcA, const uint16_t *pSrcB, uint16_t *pDst, uint32_t blockSize)
Compute the logical bitwise AND of two fixed-point vectors.
- Parameters
pSrcA – [in] points to input vector A
pSrcB – [in] points to input vector B
pDst – [out] points to output vector
blockSize – [in] number of samples in each vector
- RISCV_DSP_ATTRIBUTE void riscv_and_u32 (const uint32_t *pSrcA, const uint32_t *pSrcB, uint32_t *pDst, uint32_t blockSize)
Compute the logical bitwise AND of two fixed-point vectors.
- Parameters
pSrcA – [in] points to input vector A
pSrcB – [in] points to input vector B
pDst – [out] points to output vector
blockSize – [in] number of samples in each vector
-
void riscv_and_u8(const uint8_t *pSrcA, const uint8_t *pSrcB, uint8_t *pDst, uint32_t blockSize)
Compute the logical bitwise AND of two fixed-point vectors.
- Parameters
pSrcA – [in] points to input vector A
pSrcB – [in] points to input vector B
pDst – [out] points to output vector
blockSize – [in] number of samples in each vector
- Returns
none