mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
overhaul of the register cache (improves generated code by some 10+%)
This commit is contained in:
parent
e267031a50
commit
4f4e9bf3bd
4 changed files with 1455 additions and 667 deletions
|
@ -31,8 +31,10 @@ void scan_block(unsigned int base_pc, int is_slave,
|
|||
// XXX MUST match definitions in cpu/sh2/compiler.c
|
||||
#if defined(__arm__)
|
||||
#define DRC_SR_REG r10
|
||||
#elif defined(__i386__) || defined(__x86_64__)
|
||||
#elif defined(__i386__)
|
||||
#define DRC_SR_REG edi
|
||||
#elif defined(__x86_64__)
|
||||
#define DRC_SR_REG ebx
|
||||
#else
|
||||
#warning "direct DRC register access not available for this host"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue