Home
last modified time | relevance | path

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

/external/XNNPACK/src/qu8-requantization/
Dfp32-scalar-magic.c34 const float fmagic = 12582912.0f; in xnn_qu8_requantize_fp32__scalar_magic() local
53 const int32_t x_biased = (int32_t) fp32_to_bits(x_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic()
54 const int32_t y_biased = (int32_t) fp32_to_bits(y_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic()
55 const int32_t z_biased = (int32_t) fp32_to_bits(z_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic()
56 const int32_t w_biased = (int32_t) fp32_to_bits(w_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic()
/external/XNNPACK/src/qs8-requantization/
Dfp32-scalar-magic.c34 const float fmagic = 12582912.0f; in xnn_qs8_requantize_fp32__scalar_magic() local
53 const int32_t x_biased = (int32_t) fp32_to_bits(x_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic()
54 const int32_t y_biased = (int32_t) fp32_to_bits(y_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic()
55 const int32_t z_biased = (int32_t) fp32_to_bits(z_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic()
56 const int32_t w_biased = (int32_t) fp32_to_bits(w_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic()