Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c164 nir_ssa_def *rh_sign = nir_ilt(bld, denom, nir_imm_int(bld, 0)); in emit_idiv() local
166 rh_sign = nir_bcsel(bld, rh_sign, nir_imm_int(bld, -1), nir_imm_int(bld, 0)); in emit_idiv()
169 nir_ssa_def *rhs = nir_iadd(bld, denom, rh_sign); in emit_idiv()
171 rhs = nir_ixor(bld, rhs, rh_sign); in emit_idiv()
174 nir_ssa_def *d_sign = nir_ixor(bld, lh_sign, rh_sign); in emit_idiv()
184 cond = nir_ior(bld, nir_ieq(bld, lh_sign, rh_sign), cond); in emit_idiv()