add xSR/RTS call stack cache to sh2 drc

This commit is contained in:
kub 2019-05-22 21:45:31 +02:00
parent e43998086c
commit 9e36dd0e08
4 changed files with 192 additions and 22 deletions

View file

@ -52,6 +52,8 @@ typedef struct SH2_
int poll_cnt;
// DRC branch cache. size must be 2^n and <=128
int rts_cache_idx;
struct { unsigned int pc; void *code; } rts_cache[16];
struct { unsigned int pc; void *code; } branch_cache[128];
// interpreter stuff