NMSIS-NN
Version 1.3.1
NMSIS NN Software Library
|
Data structure types used by private functions. More...
Data Structures | |
union | riscv_nnword |
Union for SIMD access of q31/s16/s8 types. More... | |
struct | riscv_nn_double |
Union for data type long long. More... | |
union | riscv_nn_long_long |
Macros | |
#define | __NN_PKHBT(ARG1, ARG2, ARG3) |
definition to pack two 16 bit values. More... | |
#define | __NN_PKHTB(ARG1, ARG2, ARG3) |
#define | __NN_PACKq7(v0, v1, v2, v3) |
definition to pack four 8 bit values. More... | |
Functions | |
__STATIC_FORCEINLINE q31_t | nn_clip_q63_to_q31 (q63_t x) |
Clips Q63 to Q31 values. More... | |
__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) |
Data structure types used by private functions.
#define __NN_PACKq7 | ( | v0, | |
v1, | |||
v2, | |||
v3 | |||
) |
definition to pack four 8 bit values.
#define __NN_PKHBT | ( | ARG1, | |
ARG2, | |||
ARG3 | |||
) |
definition to pack two 16 bit values.
#define __NN_PKHTB | ( | ARG1, | |
ARG2, | |||
ARG3 | |||
) |
__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 | ) |
__STATIC_FORCEINLINE q31_t nn_clip_q63_to_q31 | ( | q63_t | x | ) |
Clips Q63 to Q31 values.