Searched refs:remainder_ge_den (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_idiv.c | 140 nir_ssa_def *remainder_ge_den = nir_uge(bld, remainder, denom); in emit_udiv() local 142 quotient = nir_bcsel(bld, remainder_ge_den, in emit_udiv() 145 remainder = nir_bcsel(bld, remainder_ge_den, in emit_udiv() 149 remainder_ge_den = nir_uge(bld, remainder, denom); in emit_udiv() 151 return nir_bcsel(bld, remainder_ge_den, nir_isub(bld, remainder, denom), in emit_udiv() 154 return nir_bcsel(bld, remainder_ge_den, nir_iadd_imm(bld, quotient, 1), in emit_udiv()
|