/external/XNNPACK/src/qu8-requantization/ |
D | fp32-scalar-magic.c | 51 const float w_clamped = w_scaled < fmin ? fmin : w_scaled > fmax ? fmax : w_scaled; in xnn_qu8_requantize_fp32__scalar_magic() local 56 const int32_t w_biased = (int32_t) fp32_to_bits(w_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic()
|
D | fp32-scalar-lrintf.c | 54 …const int32_t w_clamped = (int32_t)(w_rounded < lmin ? lmin : w_rounded > lmax ? lmax : w_rounded); in xnn_qu8_requantize_fp32__scalar_lrintf() local 59 const int32_t w_biased = w_clamped + (int32_t)(uint32_t) zero_point; in xnn_qu8_requantize_fp32__scalar_lrintf()
|
D | fp32-wasmsimd.c | 61 const v128_t w_clamped = wasm_f32x4_min(wasm_f32x4_max(w_scaled, vfmin), vfmax); in xnn_qu8_requantize_fp32__wasmsimd() local 68 const v128_t w_biased = wasm_i32x4_sub(wasm_f32x4_add(w_clamped, vfmagic), vimagic); in xnn_qu8_requantize_fp32__wasmsimd()
|
D | precise-scalar-signed64.c | 77 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qu8_requantize_precise__scalar_signed64() local 87 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_signed64()
|
D | precise-scalar-unsigned64.c | 84 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qu8_requantize_precise__scalar_unsigned64() local 94 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned64()
|
D | fp32-neon.c | 92 const float32x4_t w_clamped = vminq_f32(vmaxq_f32(w_scaled, vfmin), vfmax); in xnn_qu8_requantize_fp32__neon() local 99 …const int32x4_t w_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(w_clamped, vfmagic)), vimagic… in xnn_qu8_requantize_fp32__neon()
|
D | q31-scalar.c | 112 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qu8_requantize_q31__scalar() local 122 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_q31__scalar()
|
D | precise-scalar-unsigned32.c | 112 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qu8_requantize_precise__scalar_unsigned32() local 122 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned32()
|
/external/XNNPACK/src/qs8-requantization/ |
D | fp32-scalar-lrintf.c | 54 …const int32_t w_clamped = (int32_t) (w_rounded < lmin ? lmin : w_rounded > lmax ? lmax : w_rounded… in xnn_qs8_requantize_fp32__scalar_lrintf() local 59 const int32_t w_biased = w_clamped + (int32_t) zero_point; in xnn_qs8_requantize_fp32__scalar_lrintf()
|
D | fp32-scalar-magic.c | 51 const float w_clamped = w_scaled < fmin ? fmin : w_scaled > fmax ? fmax : w_scaled; in xnn_qs8_requantize_fp32__scalar_magic() local 56 const int32_t w_biased = (int32_t) fp32_to_bits(w_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic()
|
D | fp32-wasmsimd.c | 61 const v128_t w_clamped = wasm_f32x4_min(wasm_f32x4_max(w_scaled, vfmin), vfmax); in xnn_qs8_requantize_fp32__wasmsimd() local 68 const v128_t w_biased = wasm_i32x4_sub(wasm_f32x4_add(w_clamped, vfmagic), vimagic); in xnn_qs8_requantize_fp32__wasmsimd()
|
D | precise-scalar-signed64.c | 77 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qs8_requantize_precise__scalar_signed64() local 87 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_signed64()
|
D | fp32-neon.c | 116 const float32x4_t w_clamped = vminq_f32(vmaxq_f32(w_scaled, vfmin), vfmax); in xnn_qs8_requantize_fp32__neon() local 123 …const int32x4_t w_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(w_clamped, vfmagic)), vimagic… in xnn_qs8_requantize_fp32__neon()
|
D | precise-scalar-unsigned64.c | 84 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qs8_requantize_precise__scalar_unsigned64() local 94 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned64()
|
D | q31-scalar.c | 112 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qs8_requantize_q31__scalar() local 122 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_q31__scalar()
|
D | precise-scalar-unsigned32.c | 112 const int32_t w_clamped = w_scaled < smin ? smin : w_scaled > smax ? smax : w_scaled; in xnn_qs8_requantize_precise__scalar_unsigned32() local 122 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned32()
|