Home
last modified time | relevance | path

Searched refs:unbiased_exp (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_double_ops.c178 nir_ssa_def *unbiased_exp = nir_isub(b, get_exponent(b, src), in lower_sqrt_rsq() local
180 nir_ssa_def *even = nir_iand_imm(b, unbiased_exp, 1); in lower_sqrt_rsq()
181 nir_ssa_def *half = nir_ishr_imm(b, unbiased_exp, 1); in lower_sqrt_rsq()
320 nir_ssa_def *unbiased_exp = nir_isub(b, get_exponent(b, src), in lower_trunc() local
323 nir_ssa_def *frac_bits = nir_isub(b, nir_imm_int(b, 52), unbiased_exp); in lower_trunc()
328 * if (unbiased_exp < 0) in lower_trunc()
330 * else if (unbiased_exp > 52) in lower_trunc()
360 nir_ilt(b, unbiased_exp, nir_imm_int(b, 0)), in lower_trunc()
362 nir_bcsel(b, nir_ige(b, unbiased_exp, nir_imm_int(b, 53)), in lower_trunc()
/third_party/spirv-tools/test/
H A Dhex_float_test.cpp1374 Float16 makeF16(int sign_bit, int unbiased_exp, int mantissa) { in makeF16() argument
1378 EXPECT_LE(-15, unbiased_exp); // -15 means zero or subnormal in makeF16()
1379 EXPECT_LE(unbiased_exp, 16); // 16 means infinity or NaN in makeF16()
1382 const unsigned biased_exp = 15 + unbiased_exp; in makeF16()

Completed in 4 milliseconds