gm107/ir: make use of MOV32I for all immediates
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 26 Jun 2016 22:52:46 +0000 (00:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 26 Jun 2016 22:28:02 +0000 (00:28 +0200)
commitc7fa3c92f8fc9634af966e760a7601922cca43f6
tree3be315b329d831a93b194901cc89190356cb1d48
parent367cf3a2e3e51466429a6446ef14ed398a5fb948
gm107/ir: make use of MOV32I for all immediates

MOV only allows to emit 19-bits immediates. This is similar to the
previous fix I did for IMUL.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp