nv50/ir: Add support for 64bit immediates to checkSwapSrc01
authorHans de Goede <hdegoede@redhat.com>
Thu, 5 Nov 2015 13:32:38 +0000 (14:32 +0100)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 6 Nov 2015 23:13:31 +0000 (18:13 -0500)
commitf979d3cfec2b336801fe59ccd264111f403428f5
treeb68ec64efa6c03495d67fb55ebb074ad4314463c
parent9f2f8bda6e060cb85f6e099a4ad65c58cde36ba0
nv50/ir: Add support for 64bit immediates to checkSwapSrc01

Now that we support 64 bit immediates in insnCanLoad, we need to swap
64 bit immediate sources too for optimal effect.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp