mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
added branch cache to sh2 drc to improve cross-tcache jump speed
This commit is contained in:
parent
6822ba9d64
commit
d760c90f3a
4 changed files with 143 additions and 16 deletions
|
@ -50,6 +50,9 @@ typedef struct SH2_
|
|||
int poll_cycles;
|
||||
int poll_cnt;
|
||||
|
||||
// DRC branch cache. size must be 2^n and <=128
|
||||
struct { unsigned int pc; void *code; } branch_cache[128];
|
||||
|
||||
// interpreter stuff
|
||||
int icount; // cycles left in current timeslice
|
||||
unsigned int ea;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue