/external/XNNPACK/src/qu8-requantization/ |
D | fp32-scalar-magic.c | 48 const float x_clamped = x_scaled < fmin ? fmin : x_scaled > fmax ? fmax : x_scaled; 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()
|
D | fp32-scalar-lrintf.c | 51 …const int32_t x_clamped = (int32_t)(x_rounded < lmin ? lmin : x_rounded > lmax ? lmax : x_rounded); in xnn_qu8_requantize_fp32__scalar_lrintf() local 56 const int32_t x_biased = x_clamped + (int32_t)(uint32_t) zero_point; in xnn_qu8_requantize_fp32__scalar_lrintf()
|
D | fp32-wasmsimd.c | 58 const v128_t x_clamped = wasm_f32x4_min(wasm_f32x4_max(x_scaled, vfmin), vfmax); in xnn_qu8_requantize_fp32__wasmsimd() local 65 const v128_t x_biased = wasm_i32x4_sub(wasm_f32x4_add(x_clamped, vfmagic), vimagic); in xnn_qu8_requantize_fp32__wasmsimd()
|
D | precise-scalar-signed64.c | 74 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qu8_requantize_precise__scalar_signed64() local 84 const int32_t x_biased = x_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_signed64()
|
D | precise-scalar-unsigned64.c | 81 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qu8_requantize_precise__scalar_unsigned64() local 91 const int32_t x_biased = x_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned64()
|
D | fp32-neon.c | 89 const float32x4_t x_clamped = vminq_f32(vmaxq_f32(x_scaled, vfmin), vfmax); in xnn_qu8_requantize_fp32__neon() local 96 …const int32x4_t x_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(x_clamped, vfmagic)), vimagic… in xnn_qu8_requantize_fp32__neon()
|
D | q31-scalar.c | 109 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qu8_requantize_q31__scalar() local 119 const int32_t x_biased = x_clamped + zero_point; in xnn_qu8_requantize_q31__scalar()
|
D | precise-scalar-unsigned32.c | 109 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qu8_requantize_precise__scalar_unsigned32() local 119 const int32_t x_biased = x_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned32()
|
/external/XNNPACK/src/qs8-requantization/ |
D | fp32-scalar-lrintf.c | 51 …const int32_t x_clamped = (int32_t) (x_rounded < lmin ? lmin : x_rounded > lmax ? lmax : x_rounded… in xnn_qs8_requantize_fp32__scalar_lrintf() local 56 const int32_t x_biased = x_clamped + (int32_t) zero_point; in xnn_qs8_requantize_fp32__scalar_lrintf()
|
D | fp32-scalar-magic.c | 48 const float x_clamped = x_scaled < fmin ? fmin : x_scaled > fmax ? fmax : x_scaled; 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()
|
D | fp32-wasmsimd.c | 58 const v128_t x_clamped = wasm_f32x4_min(wasm_f32x4_max(x_scaled, vfmin), vfmax); in xnn_qs8_requantize_fp32__wasmsimd() local 65 const v128_t x_biased = wasm_i32x4_sub(wasm_f32x4_add(x_clamped, vfmagic), vimagic); in xnn_qs8_requantize_fp32__wasmsimd()
|
D | precise-scalar-signed64.c | 74 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qs8_requantize_precise__scalar_signed64() local 84 const int32_t x_biased = x_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_signed64()
|
D | fp32-neon.c | 113 const float32x4_t x_clamped = vminq_f32(vmaxq_f32(x_scaled, vfmin), vfmax); in xnn_qs8_requantize_fp32__neon() local 120 …const int32x4_t x_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(x_clamped, vfmagic)), vimagic… in xnn_qs8_requantize_fp32__neon()
|
D | precise-scalar-unsigned64.c | 81 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qs8_requantize_precise__scalar_unsigned64() local 91 const int32_t x_biased = x_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned64()
|
D | q31-scalar.c | 109 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qs8_requantize_q31__scalar() local 119 const int32_t x_biased = x_clamped + zero_point; in xnn_qs8_requantize_q31__scalar()
|
D | precise-scalar-unsigned32.c | 109 const int32_t x_clamped = x_scaled < smin ? smin : x_scaled > smax ? smax : x_scaled; in xnn_qs8_requantize_precise__scalar_unsigned32() local 119 const int32_t x_biased = x_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned32()
|