Structure Types

__STATIC_FORCEINLINE q31_t nn_clip_q63_to_q31 (q63_t x)
__STATIC_FORCEINLINE int32_t __NN_QADD (int32_t x, int32_t y)
__STATIC_FORCEINLINE uint32_t __NN_QADD16 (uint32_t x, uint32_t y)
__STATIC_FORCEINLINE uint32_t __NN_SXTB16 (uint32_t x)
__NN_PKHBT(ARG1, ARG2, ARG3)
__NN_PKHTB(ARG1, ARG2, ARG3)
__NN_PACKq7(v0, v1, v2, v3)
union riscv_nnword

Public Members

int32_t word
int16_t half_words[2]
int8_t bytes[4]
struct riscv_nn_double
union riscv_nn_long_long

Public Members

int64_t long_long
struct riscv_nn_double word
group Structure Types

Data structure types used by private functions.

Defines

__NN_PKHBT(ARG1, ARG2, ARG3)

definition to pack two 16 bit values.

__NN_PKHTB(ARG1, ARG2, ARG3)
__NN_PACKq7(v0, v1, v2, v3)

definition to pack four 8 bit values.

Functions

__STATIC_FORCEINLINE q31_t nn_clip_q63_to_q31 (q63_t x)

Clips Q63 to Q31 values.

__STATIC_FORCEINLINE int32_t __NN_QADD (int32_t x, int32_t y)
__STATIC_FORCEINLINE uint32_t __NN_QADD16 (uint32_t x, uint32_t y)
__STATIC_FORCEINLINE uint32_t __NN_SXTB16 (uint32_t x)
union riscv_nnword
#include <riscv_nnsupportfunctions.h>

Union for SIMD access of q31/s16/s8 types.

Public Members

int32_t word

q31 type

int16_t half_words[2]

s16 type

int8_t bytes[4]

s8 type

struct riscv_nn_double
#include <riscv_nnsupportfunctions.h>

Union for data type long long.

union riscv_nn_long_long
#include <riscv_nnsupportfunctions.h>

Public Members

int64_t long_long
struct riscv_nn_double word