nvc0/ir: fix emission of predicate spill to register

The lane mask only applies to real mov's, while here we're using PSET.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Ilia Mirkin 2016-05-29 09:58:40 -04:00
parent 9444d71611
commit 8cc80e396e
1 changed files with 2 additions and 1 deletions

View File

@ -1981,7 +1981,8 @@ CodeEmitterNVC0::emitMOV(const Instruction *i)
else
opc = HEX64(28000000, 00000004);
opc |= i->lanes << 5;
if (i->src(0).getFile() != FILE_PREDICATE)
opc |= i->lanes << 5;
emitForm_B(i, opc);
} else {