mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
gm107/ir: fix DMUL opcode encoding
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
493ad88e1b
commit
727018bb0c
1 changed files with 3 additions and 3 deletions
|
|
@ -924,15 +924,15 @@ CodeEmitterGM107::emitDMUL()
|
|||
{
|
||||
switch (insn->src(1).getFile()) {
|
||||
case FILE_GPR:
|
||||
emitInsn(0x5c680000);
|
||||
emitInsn(0x5c800000);
|
||||
emitGPR (0x14, insn->src(1));
|
||||
break;
|
||||
case FILE_MEMORY_CONST:
|
||||
emitInsn(0x4c680000);
|
||||
emitInsn(0x4c800000);
|
||||
emitCBUF(0x22, -1, 0x14, 16, 2, insn->src(1));
|
||||
break;
|
||||
case FILE_IMMEDIATE:
|
||||
emitInsn(0x38680000);
|
||||
emitInsn(0x38800000);
|
||||
emitIMMD(0x14, 19, insn->src(1));
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue