Home
last modified time | relevance | path

Searched refs:right_shift (Results 1 – 2 of 2) sorted by relevance

/cmsis-nn-latest/Source/SoftmaxFunctions/
Darm_softmax_s16.c107 const int16_t right_shift = 30 - headroom; in arm_softmax_s16() local
108 int32_t result = (cached_exp_results[col] * one_by_one_result) >> right_shift; in arm_softmax_s16()
/cmsis-nn-latest/Include/
Darm_nnsupportfunctions.h1514 const int right_shift = MIN(-1, shift); in arm_requantize_mve() local
1515 const int left_shift = shift - right_shift; in arm_requantize_mve()
1518 const int32x4_t right_shift_dup = vdupq_n_s32(right_shift); in arm_requantize_mve()
1584 const int right_shift = MIN(-1, shift); in arm_requantize_mve_pred() local
1585 const int left_shift = shift - right_shift; in arm_requantize_mve_pred()
1589 const int32x4_t right_shift_dup = vdupq_x_n_s32(right_shift, p); in arm_requantize_mve_pred()
1624 const int32x4_t right_shift = vminq_s32(vdupq_n_s32(-1), shift); in arm_requantize_mve_32x4() local
1625 const int32x4_t left_shift = vqsubq_s32(shift, right_shift); in arm_requantize_mve_32x4()
1628 result = vrshlq_s32(result, right_shift); in arm_requantize_mve_32x4()
1636 const int32x4_t right_shift = -vpselq_s32(zz, shift, p); in arm_requantize_mve_32x4()
[all …]