gk110/ir: fix bfind emission
There is a short-immediate version as well, but it should never end up getting used since it would have gotten folded earlier. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "10.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
@@ -713,7 +713,7 @@ CodeEmitterGK110::emitEXTBF(const Instruction *i)
|
|||||||
void
|
void
|
||||||
CodeEmitterGK110::emitBFIND(const Instruction *i)
|
CodeEmitterGK110::emitBFIND(const Instruction *i)
|
||||||
{
|
{
|
||||||
emitForm_21(i, 0x618, 0xc18);
|
emitForm_C(i, 0x218, 0x2);
|
||||||
|
|
||||||
if (i->dType == TYPE_S32)
|
if (i->dType == TYPE_S32)
|
||||||
code[1] |= 0x80000;
|
code[1] |= 0x80000;
|
||||||
|
Reference in New Issue
Block a user