mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
New IR instruction added
This commit is contained in:
parent
62656b6e6f
commit
a6be0517dc
3 changed files with 8 additions and 0 deletions
|
@ -189,6 +189,8 @@ static const IRMeta irMeta[] = {
|
|||
{ IROp::RestoreRoundingMode, "RestoreRoundingMode", "" },
|
||||
{ IROp::ApplyRoundingMode, "ApplyRoundingMode", "" },
|
||||
{ IROp::UpdateRoundingMode, "UpdateRoundingMode", "" },
|
||||
|
||||
{IROp::LogBlockHash, "logBlockHash", ""}
|
||||
};
|
||||
|
||||
const IRMeta *metaIndex[256];
|
||||
|
|
|
@ -237,6 +237,9 @@ enum class IROp : uint8_t {
|
|||
ValidateAddress32,
|
||||
ValidateAddress128,
|
||||
|
||||
// Tracing support.
|
||||
LogBlockHash,
|
||||
|
||||
Nop,
|
||||
Bad,
|
||||
};
|
||||
|
|
|
@ -1236,6 +1236,9 @@ u32 IRInterpret(MIPSState *mips, const IRInst *inst) {
|
|||
return mips->pc;
|
||||
}
|
||||
break;
|
||||
case IROp::LogBlockHash:
|
||||
// Do nothing for now
|
||||
break;
|
||||
|
||||
case IROp::Nop: // TODO: This shouldn't crash, but for now we should not emit nops, so...
|
||||
case IROp::Bad:
|
||||
|
|
Loading…
Add table
Reference in a new issue