nv50/ir: r63 is only 0 if we are using less than 63 registers
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 10 Sep 2015 07:49:36 +0000 (03:49 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 10 Sep 2015 08:30:45 +0000 (04:30 -0400)
commit641eda0c792e10c2792730b1833353564479a557
tree77771abaea37c1e4d12a2ff22bf67d3d3a97b19d
parenta072ef8748a65d286e9b542bb9ea6e020fdcc7f8
nv50/ir: r63 is only 0 if we are using less than 63 registers

It is advantageous to use r63 instead of r127 since r63 can fit into the
shorter encoding. However if we've RA'd over 63 registers, we must use
r127 as the replacement instead.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp