Add re-entry prediction to avoid std::unordered_map lookups

This commit is contained in:
MerryMage 2017-12-12 14:18:21 +00:00
parent 5c6fcf378f
commit 6e834de072
4 changed files with 24 additions and 1 deletions

View file

@ -199,5 +199,9 @@ void JitState::SetFpscr(u32 FPSCR) {
}
}
u64 JitState::GetUniqueHash() const {
return CPSR_et | FPSCR_mode | (static_cast<u64>(Reg[15]) << 32);
}
} // namespace BackendX64
} // namespace Dynarmic