projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0161515
)
ir_to_mesa: Fix copy-and-wasted DIV instruction sequence.
author
Eric Anholt
<eric@anholt.net>
Thu, 3 Jun 2010 16:04:57 +0000
(09:04 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 24 Jun 2010 22:05:21 +0000
(15:05 -0700)
ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/ir_to_mesa.cpp
b/ir_to_mesa.cpp
index 3376e8970505b65510e5d522f684ad9c5923720d..d9d7a91b29643f1a527cb2099162dd2c7579d732 100644
(file)
--- a/
ir_to_mesa.cpp
+++ b/
ir_to_mesa.cpp
@@
-413,7
+413,7
@@
ir_to_mesa_visitor::visit(ir_expression *ir)
break;
case ir_binop_div:
ir_to_mesa_emit_scalar_op1(ir, OPCODE_RCP, result_dst, op[1]);
- ir_to_mesa_emit_op2(ir, OPCODE_
RCP
, result_dst, op[0], result_src);
+ ir_to_mesa_emit_op2(ir, OPCODE_
MUL
, result_dst, op[0], result_src);
break;
case ir_binop_less: