OSDN Git Service

gm107/ir: make use of IMUL32I for all immediates
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 26 Jun 2016 16:42:22 +0000 (18:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 26 Jun 2016 15:33:06 +0000 (17:33 +0200)
commitb84c97587b4a838c32fb7ac4eab31a6ba4f69886
tree5405a61cbd202382314afd0358139a1475bf4a79
parentd93bacc1fa4bf1d6d358da3615b00305e8518f33
gm107/ir: make use of IMUL32I for all immediates

IMUL only allows to emit 19-bits immediates. This is similar to
d30768025a2283d4cc57930b784798bf278969da which fixed the same thing
for the GK110 emitter.

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