mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
gk110/ir: fix imul hi emission with limm arg
The elemental demo hits this case. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
32a6e081c3
commit
db072d2086
1 changed files with 2 additions and 2 deletions
|
|
@ -576,8 +576,8 @@ CodeEmitterGK110::emitIMUL(const Instruction *i)
|
|||
if (isLIMM(i->src(1), TYPE_S32)) {
|
||||
emitForm_L(i, 0x280, 2, Modifier(0));
|
||||
|
||||
assert(i->subOp != NV50_IR_SUBOP_MUL_HIGH);
|
||||
|
||||
if (i->subOp == NV50_IR_SUBOP_MUL_HIGH)
|
||||
code[1] |= 1 << 24;
|
||||
if (i->sType == TYPE_S32)
|
||||
code[1] |= 3 << 25;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue