mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
Provide a macro for PTR_ADDU as well. We may need to implement this
differently for N32... Use PTR_ADDU in DO_AST macro.
This commit is contained in:
parent
54d05c03e5
commit
2967976763
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=195391
@ -326,7 +326,7 @@ _C_LABEL(x):
|
||||
nop ;\
|
||||
PTR_LA s0, _C_LABEL(ast) ;\
|
||||
jalr s0 ;\
|
||||
addu a0, s3, U_PCB_REGS ;\
|
||||
PTR_ADDU a0, s3, U_PCB_REGS ;\
|
||||
j 44b ;\
|
||||
nop ;\
|
||||
4:
|
||||
@ -371,6 +371,7 @@ _C_LABEL(x):
|
||||
#define REG_EPILOGUE .set pop
|
||||
#define SZREG 4
|
||||
#define PTR_LA la
|
||||
#define PTR_ADDU addu
|
||||
#else
|
||||
#define REG_L ld
|
||||
#define REG_S sd
|
||||
@ -379,6 +380,7 @@ _C_LABEL(x):
|
||||
#define REG_EPILOGUE .set pop
|
||||
#define SZREG 8
|
||||
#define PTR_LA dla
|
||||
#define PTR_ADDU daddu
|
||||
#endif /* _MIPS_BSD_API */
|
||||
|
||||
#define mfc0_macro(data, spr) \
|
||||
|
Loading…
Reference in New Issue
Block a user