nvc0/ir: fix up mul+add -> mad algebraic opt, enable for integers
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 7 Dec 2015 23:15:51 +0000 (18:15 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 7 Dec 2015 23:49:28 +0000 (18:49 -0500)
commitf97f755192210ce3690e67abccefa133d398d373
treed3f93950e6af458d35bcf8d788a77f85aa3ff9e3
parent1d708aacb7631833b0f04e704481854428f60ba3
nvc0/ir: fix up mul+add -> mad algebraic opt, enable for integers

For some reason this has been disabled for integers ever since codegen
was merged, despite there being emission code for IMAD. Seems to work.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_gm107.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nvc0.cpp