mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
sh2 drc, fix PIC function calling for MIPS backend
This commit is contained in:
parent
8c54e0dd8f
commit
fde25b40fe
7 changed files with 99 additions and 26 deletions
|
@ -968,6 +968,17 @@ enum { xAX = 0, xCX, xDX, xBX, xSP, xBP, xSI, xDI, // x86-64,i386 common
|
|||
emith_ret(); \
|
||||
} while (0)
|
||||
|
||||
#define emith_abijump_reg(r) \
|
||||
emith_jump_reg(r)
|
||||
#define emith_abijump_reg_c(cond, r) \
|
||||
emith_abijump_reg(r)
|
||||
#define emith_abicall(target) \
|
||||
emith_call(target)
|
||||
#define emith_abicall_cond(cond, target) \
|
||||
emith_abicall(target)
|
||||
#define emith_abicall_reg(r) \
|
||||
emith_call_reg(r)
|
||||
|
||||
|
||||
#define EMITH_JMP_START(cond) { \
|
||||
u8 *cond_ptr; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue