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,6 +1981,7 @@ CodeEmitterNVC0::emitMOV(const Instruction *i)
|
||||||
else
|
else
|
||||||
opc = HEX64(28000000, 00000004);
|
opc = HEX64(28000000, 00000004);
|
||||||
|
|
||||||
|
if (i->src(0).getFile() != FILE_PREDICATE)
|
||||||
opc |= i->lanes << 5;
|
opc |= i->lanes << 5;
|
||||||
|
|
||||||
emitForm_B(i, opc);
|
emitForm_B(i, opc);
|
||||||
|
|
Loading…
Reference in New Issue