Lines Matching defs:zero

640        *    For a value of zero or negative one, -1 will be returned.
863 * Predicated OR ORs 1.0 (0x3c00) with the sign bit if val is not zero.
865 fs_reg zero = retype(brw_imm_uw(0), BRW_REGISTER_TYPE_HF);
866 bld.CMP(bld.null_reg_f(), op[0], zero, BRW_CONDITIONAL_NZ);
884 * zero.
908 fs_reg zero = vgrf(glsl_type::double_type);
909 bld.MOV(zero, setup_imm_df(bld, 0.0));
910 bld.CMP(bld.null_reg_df(), op[0], zero, BRW_CONDITIONAL_NZ);
912 bld.MOV(result, zero);
925 * are currently zero instances of fsign(double(x))*IMM in shader-db
1415 /* If the result of the initial remainder operation is non-zero and the
1591 fs_reg zero;
1595 zero = vgrf(glsl_type::double_type);
1597 bld.MOV(zero, setup_imm_df(bld, 0.0));
1599 zero = vgrf(glsl_type::int64_t_type);
1601 bld.MOV(zero, brw_imm_q(0));
1608 bld.CMP(tmp, op[0], zero, BRW_CONDITIONAL_NZ);
1611 fs_reg zero;
1613 zero = instr->op == nir_op_f2b32 ? brw_imm_f(0.0f) : brw_imm_d(0);
1616 zero = instr->op == nir_op_f2b32 ?
1619 bld.CMP(result, op[0], zero, BRW_CONDITIONAL_NZ);
1661 fs_reg zero = bld.vgrf(BRW_REGISTER_TYPE_F);
1673 /* Get the appropriately signed zero */
1674 bld.AND(retype(zero, BRW_REGISTER_TYPE_UD),
1680 /* Select that or zero based on normal status */
1681 inst = bld.SEL(result, zero, tmp32);
1861 * where Gen9+ will shift by zero, and earlier platforms will shift by 16.
2236 * - If max_vertices < 32, then vertex number 31 (zero-based) will never be
2426 * primitives bound to non-zero streams are discarded after stream output.
2428 * Since the only purpose of primives sent to non-zero streams is to
4962 /* If the predicate is constant and we got here, then it's non-zero