nv50/ir: Add emit support for MAD IMM format
authorRoy Spliet <rspliet@eclipso.eu>
Fri, 6 Feb 2015 21:46:55 +0000 (22:46 +0100)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 10 Feb 2015 13:02:02 +0000 (08:02 -0500)
commit3dc39d0bca0f06454cb5cddf7571facb7671767a
tree0730eacc275239b898fa7c93be63a69171de65a1
parentfb63df22151fcf6a2fdbc739bd9a84a77bff0270
nv50/ir: Add emit support for MAD IMM format

But don't enable generation of it in the opProperties, because we can't
guarantee the SDST==SRC2 constraint until after register assignment. We'll
add a post-RA folding pass to utilise this.

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nv50.cpp