Vector bitwise exclusive OR
- RISCV_DSP_ATTRIBUTE void riscv_xor_u16 (const uint16_t *pSrcA, const uint16_t *pSrcB, uint16_t *pDst, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE void riscv_xor_u32 (const uint32_t *pSrcA, const uint32_t *pSrcB, uint32_t *pDst, uint32_t blockSize)
- RISCV_DSP_ATTRIBUTE void riscv_xor_u8 (const uint8_t *pSrcA, const uint8_t *pSrcB, uint8_t *pDst, uint32_t blockSize)
- group Xor
Compute the logical bitwise XOR.
There are separate functions for uint32_t, uint16_t, and uint8_t data types.
Functions
- RISCV_DSP_ATTRIBUTE void riscv_xor_u16 (const uint16_t *pSrcA, const uint16_t *pSrcB, uint16_t *pDst, uint32_t blockSize)
Compute the logical bitwise XOR 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_xor_u32 (const uint32_t *pSrcA, const uint32_t *pSrcB, uint32_t *pDst, uint32_t blockSize)
Compute the logical bitwise XOR 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_xor_u8 (const uint8_t *pSrcA, const uint8_t *pSrcB, uint8_t *pDst, uint32_t blockSize)
Compute the logical bitwise XOR 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