i965: Don't bother with RNDZ for f2i.

The default type conversion for MOV should be fine, and RNDZ actually
requires two instructions.
This commit is contained in:
Eric Anholt 2010-09-05 20:55:39 -07:00
parent a560a509fa
commit 5afdfa222f

View file

@ -767,7 +767,7 @@ fs_visitor::visit(ir_expression *ir)
emit(fs_inst(BRW_OPCODE_MOV, this->result, op[0]));
break;
case ir_unop_f2i:
emit(fs_inst(BRW_OPCODE_RNDZ, this->result, op[0]));
emit(fs_inst(BRW_OPCODE_MOV, this->result, op[0]));
break;
case ir_unop_f2b:
case ir_unop_i2b: