Home
last modified time | relevance | path

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

/external/XNNPACK/src/qu8-requantization/
Dfp32-scalar-magic.c56 const int32_t w_biased = (int32_t) fp32_to_bits(w_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic() local
61 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_fp32__scalar_magic()
Dfp32-scalar-lrintf.c59 const int32_t w_biased = w_clamped + (int32_t)(uint32_t) zero_point; in xnn_qu8_requantize_fp32__scalar_lrintf() local
64 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()
Dprecise-scalar-signed64.c87 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_signed64() local
92 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_precise__scalar_signed64()
Dprecise-scalar-unsigned64.c94 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned64() local
99 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_precise__scalar_unsigned64()
Dfp32-neon.c99 …const int32x4_t w_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(w_clamped, vfmagic)), vimagic… in xnn_qu8_requantize_fp32__neon() local
104 const int16x8_t zw_packed = vcombine_s16(vmovn_s32(z_biased), vmovn_s32(w_biased)); in xnn_qu8_requantize_fp32__neon()
Dq31-scalar.c122 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_q31__scalar() local
127 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_q31__scalar()
Dprecise-scalar-unsigned32.c122 const int32_t w_biased = w_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned32() local
127 output[3] = (uint8_t) w_biased; in xnn_qu8_requantize_precise__scalar_unsigned32()
/external/XNNPACK/src/qs8-requantization/
Dfp32-scalar-lrintf.c59 const int32_t w_biased = w_clamped + (int32_t) zero_point; in xnn_qs8_requantize_fp32__scalar_lrintf() local
64 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_fp32__scalar_lrintf()
Dfp32-scalar-magic.c56 const int32_t w_biased = (int32_t) fp32_to_bits(w_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic() local
61 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_fp32__scalar_magic()
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()
Dprecise-scalar-signed64.c87 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_signed64() local
92 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_precise__scalar_signed64()
Dfp32-neon.c123 …const int32x4_t w_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(w_clamped, vfmagic)), vimagic… in xnn_qs8_requantize_fp32__neon() local
128 const int16x8_t zw_packed = vcombine_s16(vmovn_s32(z_biased), vmovn_s32(w_biased)); in xnn_qs8_requantize_fp32__neon()
Dprecise-scalar-unsigned64.c94 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned64() local
99 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_precise__scalar_unsigned64()
Dq31-scalar.c122 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_q31__scalar() local
127 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_q31__scalar()
Dprecise-scalar-unsigned32.c122 const int32_t w_biased = w_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned32() local
127 output[3] = (int8_t) w_biased; in xnn_qs8_requantize_precise__scalar_unsigned32()