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:
parent
9444d71611
commit
8cc80e396e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue