Home
last modified time | relevance | path

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

/external/XNNPACK/src/qs8-requantization/
Dfp32-scalar-fmagic.c55 const int32_t w_biased = (int32_t) float_as_uint32(w_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_fmagic() local
60 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_fp32__scalar_fmagic()
Dfp32-scalar-lrintf.c58 const int32_t w_biased = w_rounded + (int32_t) zero_point; in xnn_qs8_requantize_fp32__scalar_lrintf() local
63 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_fp32__scalar_lrintf()
Dfp32-wasmsimd.c68 const v128_t w_biased = wasm_i32x4_sub(wasm_f32x4_add(w_clamped, vfmagic), vimagic); in xnn_qs8_requantize_fp32__wasmsimd() local
73 const v128_t zw_packed = wasm_v16x8_shuffle(z_biased, w_biased, 0, 2, 4, 6, 8, 10, 12, 14); in xnn_qs8_requantize_fp32__wasmsimd()
Drndnu-scalar.c79 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_rndnu__scalar() local
84 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_rndnu__scalar()
Drndna-scalar-signed64.c85 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_rndna__scalar_signed64() local
90 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_rndna__scalar_signed64()
Drndna-scalar-unsigned64.c92 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_rndna__scalar_unsigned64() local
97 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_rndna__scalar_unsigned64()
Dfp32-neon.c124 …const int32x4_t w_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(w_clamped, vfmagic)), vimagic… in xnn_qs8_requantize_fp32__neon() local
129 const int16x8_t zw_packed = vcombine_s16(vmovn_s32(z_biased), vmovn_s32(w_biased)); in xnn_qs8_requantize_fp32__neon()
Dgemmlowp-scalar.c120 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_gemmlowp__scalar() local
125 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_gemmlowp__scalar()
Drndna-scalar-unsigned32.c120 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_rndna__scalar_unsigned32() local
125 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_rndna__scalar_unsigned32()
/external/XNNPACK/src/qu8-requantization/
Dfp32-scalar-fmagic.c55 const int32_t w_biased = (int32_t) float_as_uint32(w_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_fmagic() local
60 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_fp32__scalar_fmagic()
Dfp32-scalar-lrintf.c58 const int32_t w_biased = w_rounded + (int32_t) (uint32_t) zero_point; in xnn_qu8_requantize_fp32__scalar_lrintf() local
63 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_fp32__scalar_lrintf()
Dfp32-wasmsimd.c68 const v128_t w_biased = wasm_i32x4_sub(wasm_f32x4_add(w_clamped, vfmagic), vimagic); in xnn_qu8_requantize_fp32__wasmsimd() local
73 const v128_t zw_packed = wasm_v16x8_shuffle(z_biased, w_biased, 0, 2, 4, 6, 8, 10, 12, 14); in xnn_qu8_requantize_fp32__wasmsimd()
Drndna-scalar-signed64.c85 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_rndna__scalar_signed64() local
90 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_rndna__scalar_signed64()
Drndna-scalar-unsigned64.c92 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_rndna__scalar_unsigned64() local
97 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_rndna__scalar_unsigned64()
Dfp32-neon.c100 …const int32x4_t w_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(w_clamped, vfmagic)), vimagic… in xnn_qu8_requantize_fp32__neon() local
105 const int16x8_t zw_packed = vcombine_s16(vmovn_s32(z_biased), vmovn_s32(w_biased)); in xnn_qu8_requantize_fp32__neon()
Dgemmlowp-scalar.c120 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_gemmlowp__scalar() local
125 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_gemmlowp__scalar()
Drndna-scalar-unsigned32.c120 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_rndna__scalar_unsigned32() local
125 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_rndna__scalar_unsigned32()