- assert(!instr->dest.saturate);
- if (op[0].abs) {
- /* Straightforward since the source can be assumed to be either
- * strictly >= 0 or strictly <= 0 depending on the setting of the
- * negate flag.
- */
- inst = emit(MOV(dst, op[0]));
- inst->conditional_mod = BRW_CONDITIONAL_NZ;
-
- inst = (op[0].negate)
- ? emit(MOV(dst, brw_imm_f(-1.0f)))
- : emit(MOV(dst, brw_imm_f(1.0f)));
- inst->predicate = BRW_PREDICATE_NORMAL;
- } else if (type_sz(op[0].type) < 8) {