JIT: fix handling of PC in dispatcher/block cache.
Specifically, don't make any assumptions about what effective addresses are used for code, and correctly handle changes to MSR.DR/MSR.IR. (Split off from dynamic-bat.)
This commit is contained in:
1 parent
7ee6d08213
commit
b81d008f92
16 files changed
+361
-318
No files matched your search
@@ -272,6 +272,13 @@ bool IsOptimizableRAMAddress(const u32 address);
|
||||
u32 IsOptimizableMMIOAccess(u32 address, u32 accessSize);
|
||||
bool IsOptimizableGatherPipeWrite(u32 address);
|
||||
|
||||
struct TranslateResult
|
||||
{
|
||||
bool valid;
|
||||
bool from_bat;
|
||||
u32 address;
|
||||
};
|
||||
TranslateResult JitCache_TranslateAddress(u32 address);
|
||||
} // namespace
|
||||
|
||||
enum CRBits
|
||||
|
||||
Reference in new issue
Block a user