MIPS soft-float, part 2: Add soft-float FFI support.

This commit is contained in:
Mike Pall
2015-12-18 21:38:03 +01:00
parent 3f5c72421e
commit 0345f36153
3 changed files with 53 additions and 21 deletions

View File

@@ -98,9 +98,9 @@ typedef double FPRArg;
#elif LJ_TARGET_MIPS
#define CCALL_NARG_GPR 4
#define CCALL_NARG_FPR 2
#define CCALL_NARG_FPR (LJ_ABI_SOFTFP ? 0 : 2)
#define CCALL_NRET_GPR 2
#define CCALL_NRET_FPR 2
#define CCALL_NRET_FPR (LJ_ABI_SOFTFP ? 0 : 2)
#define CCALL_SPS_EXTRA 7
#define CCALL_SPS_FREE 1