mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, fix for MIPS EABI
This commit is contained in:
parent
6c5784f07f
commit
1dee74458b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ u16 scan_block(u32 base_pc, int is_slave, u8 *op_flags, u32 *end_pc,
|
|||
#define DRC_REG_LL (__ILP32__ || _WIN32)
|
||||
#elif defined(__mips__)
|
||||
#define DRC_SR_REG "s6"
|
||||
#define DRC_REG_LL (_MIPS_SIM == _ABIN32)
|
||||
#define DRC_REG_LL (_MIPS_SZPTR > _MIPS_SZLONG) // (_MIPS_SIM == _ABIN32)
|
||||
#elif defined(__riscv__) || defined(__riscv)
|
||||
#define DRC_SR_REG "s11"
|
||||
#define DRC_REG_LL 0 // no ABI for (__ILP32__ && __riscv_xlen != 32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue