mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-09 18:09:58 +00:00
shader_decode: Implement SHL
This commit is contained in:
parent
a2819c204f
commit
d79c462af0
1 changed files with 8 additions and 0 deletions
|
@ -39,6 +39,14 @@ u32 ShaderIR::DecodeShift(BasicBlock& bb, u32 pc) {
|
||||||
SetRegister(bb, instr.gpr0, value);
|
SetRegister(bb, instr.gpr0, value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case OpCode::Id::SHL_C:
|
||||||
|
case OpCode::Id::SHL_R:
|
||||||
|
case OpCode::Id::SHL_IMM:
|
||||||
|
UNIMPLEMENTED_IF_MSG(instr.generates_cc,
|
||||||
|
"Condition codes generation in SHL is not implemented");
|
||||||
|
SetRegister(bb, instr.gpr0,
|
||||||
|
Operation(OperationCode::ILogicalShiftLeft, PRECISE, op_a, op_b));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
UNIMPLEMENTED_MSG("Unhandled shift instruction: {}", opcode->get().GetName());
|
UNIMPLEMENTED_MSG("Unhandled shift instruction: {}", opcode->get().GetName());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue