Home
last modified time | relevance | path

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

/external/XNNPACK/src/qu8-requantization/
Dfp32-scalar-magic.c54 const int32_t y_biased = (int32_t) fp32_to_bits(y_clamped + fmagic) - imagic; in xnn_qu8_requantize_fp32__scalar_magic() local
59 output[1] = (uint8_t) y_biased; in xnn_qu8_requantize_fp32__scalar_magic()
Dfp32-scalar-lrintf.c57 const int32_t y_biased = y_clamped + (int32_t)(uint32_t) zero_point; in xnn_qu8_requantize_fp32__scalar_lrintf() local
62 output[1] = (uint8_t) y_biased; in xnn_qu8_requantize_fp32__scalar_lrintf()
Dfp32-wasmsimd.c66 const v128_t y_biased = wasm_i32x4_sub(wasm_f32x4_add(y_clamped, vfmagic), vimagic); in xnn_qu8_requantize_fp32__wasmsimd() local
72 const v128_t xy_packed = wasm_v16x8_shuffle(x_biased, y_biased, 0, 2, 4, 6, 8, 10, 12, 14); in xnn_qu8_requantize_fp32__wasmsimd()
Dprecise-scalar-signed64.c85 const int32_t y_biased = y_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_signed64() local
90 output[1] = (uint8_t) y_biased; in xnn_qu8_requantize_precise__scalar_signed64()
Dprecise-scalar-unsigned64.c92 const int32_t y_biased = y_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned64() local
97 output[1] = (uint8_t) y_biased; in xnn_qu8_requantize_precise__scalar_unsigned64()
Dfp32-neon.c97 …const int32x4_t y_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(y_clamped, vfmagic)), vimagic… in xnn_qu8_requantize_fp32__neon() local
103 const int16x8_t xy_packed = vcombine_s16(vmovn_s32(x_biased), vmovn_s32(y_biased)); in xnn_qu8_requantize_fp32__neon()
Dq31-scalar.c120 const int32_t y_biased = y_clamped + zero_point; in xnn_qu8_requantize_q31__scalar() local
125 output[1] = (uint8_t) y_biased; in xnn_qu8_requantize_q31__scalar()
Dprecise-scalar-unsigned32.c120 const int32_t y_biased = y_clamped + zero_point; in xnn_qu8_requantize_precise__scalar_unsigned32() local
125 output[1] = (uint8_t) y_biased; in xnn_qu8_requantize_precise__scalar_unsigned32()
/external/XNNPACK/src/qs8-requantization/
Dfp32-scalar-lrintf.c57 const int32_t y_biased = y_clamped + (int32_t) zero_point; in xnn_qs8_requantize_fp32__scalar_lrintf() local
62 output[1] = (int8_t) y_biased; in xnn_qs8_requantize_fp32__scalar_lrintf()
Dfp32-scalar-magic.c54 const int32_t y_biased = (int32_t) fp32_to_bits(y_clamped + fmagic) - imagic; in xnn_qs8_requantize_fp32__scalar_magic() local
59 output[1] = (int8_t) y_biased; in xnn_qs8_requantize_fp32__scalar_magic()
Dfp32-wasmsimd.c66 const v128_t y_biased = wasm_i32x4_sub(wasm_f32x4_add(y_clamped, vfmagic), vimagic); in xnn_qs8_requantize_fp32__wasmsimd() local
72 const v128_t xy_packed = wasm_v16x8_shuffle(x_biased, y_biased, 0, 2, 4, 6, 8, 10, 12, 14); in xnn_qs8_requantize_fp32__wasmsimd()
Dprecise-scalar-signed64.c85 const int32_t y_biased = y_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_signed64() local
90 output[1] = (int8_t) y_biased; in xnn_qs8_requantize_precise__scalar_signed64()
Dfp32-neon.c121 …const int32x4_t y_biased = vsubq_s32(vreinterpretq_s32_f32(vaddq_f32(y_clamped, vfmagic)), vimagic… in xnn_qs8_requantize_fp32__neon() local
127 const int16x8_t xy_packed = vcombine_s16(vmovn_s32(x_biased), vmovn_s32(y_biased)); in xnn_qs8_requantize_fp32__neon()
Dprecise-scalar-unsigned64.c92 const int32_t y_biased = y_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned64() local
97 output[1] = (int8_t) y_biased; in xnn_qs8_requantize_precise__scalar_unsigned64()
Dq31-scalar.c120 const int32_t y_biased = y_clamped + zero_point; in xnn_qs8_requantize_q31__scalar() local
125 output[1] = (int8_t) y_biased; in xnn_qs8_requantize_q31__scalar()
Dprecise-scalar-unsigned32.c120 const int32_t y_biased = y_clamped + zero_point; in xnn_qs8_requantize_precise__scalar_unsigned32() local
125 output[1] = (int8_t) y_biased; in xnn_qs8_requantize_precise__scalar_unsigned32()