HPM SDK
HPMicro Software Development Kit
Bitwise Inclusive OR Functions

Bitwise Inclusive OR Functions. More...

Functions

static void hpm_dsp_or_u32 (u32_t *src1, u32_t *src2, u32_t *dst, uint32_t size)
 Compute the logical bitwise OR of two u32 vectors. More...
 
static void hpm_dsp_or_u16 (u16_t *src1, u16_t *src2, u16_t *dst, uint32_t size)
 Compute the logical bitwise OR of two u16 vectors. More...
 
static void hpm_dsp_or_u8 (u8_t *src1, u8_t *src2, u8_t *dst, uint32_t size)
 Compute the logical bitwise OR of two u8 vectors. More...
 

Detailed Description

Bitwise Inclusive OR Functions.

Bitwise inclusive OR functions calculate logical bitwise OR value from separate source vectors and write the results one-by-one into a destination vector.

Andes DSP library supports distinct bitwise inclusive OR functions for U32, U15 and U8 data types. These functions are introduced in the subsections below.

Function Documentation

◆ hpm_dsp_or_u16()

static void hpm_dsp_or_u16 ( u16_t *  src1,
u16_t *  src2,
u16_t *  dst,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Compute the logical bitwise OR of two u16 vectors.

Parameters
[in]*src1pointer of the first input vector
[in]*src2pointer of the second input vector
[out]*dstpointer of the output vector
[in]sizenumber of elements in a vector

◆ hpm_dsp_or_u32()

static void hpm_dsp_or_u32 ( u32_t *  src1,
u32_t *  src2,
u32_t *  dst,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Compute the logical bitwise OR of two u32 vectors.

Parameters
[in]*src1pointer of the first input vector
[in]*src2pointer of the second input vector
[out]*dstpointer of the output vector
[in]sizenumber of elements in a vector

◆ hpm_dsp_or_u8()

static void hpm_dsp_or_u8 ( u8_t *  src1,
u8_t *  src2,
u8_t *  dst,
uint32_t  size 
)
inlinestatic

#include <middleware/hpm_math/hpm_math.h>

Compute the logical bitwise OR of two u8 vectors.

Parameters
[in]*src1pointer of the first input vector
[in]*src2pointer of the second input vector
[out]*dstpointer of the output vector
[in]sizenumber of elements in a vector