nvc0: fix emission of 3rd src in SET_AND,OR,XOR

This commit is contained in:
Christoph Bumiller 2012-04-05 22:53:46 +02:00
parent f01efba60a
commit 12a2f5121d
1 changed files with 3 additions and 0 deletions

View File

@ -873,6 +873,9 @@ CodeEmitterNVC0::emitSET(const CmpInstruction *i)
}
emitForm_A(i, (static_cast<uint64_t>(hi) << 32) | lo);
if (i->op != OP_SET)
srcId(i->src(2), 32 + 17);
if (i->def(0).getFile() == FILE_PREDICATE) {
if (i->sType == TYPE_F32)
code[1] += 0x10000000;