Home
last modified time | relevance | path

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

/external/XNNPACK/src/xnnpack/
Drequantization.h35 …const int32_t q31product = (int32_t) (uint32_t) ((uint64_t) (product + INT64_C(0x40000000)) >> 31); in xnn_qu8_requantize_q31() local
36 const int32_t remainder = (q31product & params.q31.remainder_mask) - (int32_t) (n < 0); in xnn_qu8_requantize_q31()
37 …n = asr_s32(q31product, params.q31.shift) + (int32_t) (remainder > params.q31.remainder_threshold); in xnn_qu8_requantize_q31()
53 …const int32_t q31product = (int32_t) (uint32_t) ((uint64_t) (product + INT64_C(0x40000000)) >> 31); in xnn_qs8_requantize_q31() local
54 const int32_t remainder = (q31product & params.q31.remainder_mask) - (int32_t) (n < 0); in xnn_qs8_requantize_q31()
55 …n = asr_s32(q31product, params.q31.shift) + (int32_t) (remainder > params.q31.remainder_threshold); in xnn_qs8_requantize_q31()