Displaying 1 result from an estimated 1 matches for "466134f".
Did you mean:
436134
2015 Jan 01
0
[PATCH] nv50/ir: fold MAD when one of the multiplicands is const
...t there.
Passes some simple test cases.
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
index 719f980..466134f 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
@@ -784,6 +784,26 @@ ConstantFolding::opnd(Instruction *i, ImmediateValue &imm0, int s)
i->src(1).mod = 0;
}
break;
+ case OP_MAD:
+...