summaryrefslogtreecommitdiff
path: root/src/lj_ircall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_ircall.h')
-rw-r--r--src/lj_ircall.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_ircall.h b/src/lj_ircall.h
index b30db5ea..4e8b7246 100644
--- a/src/lj_ircall.h
+++ b/src/lj_ircall.h
@@ -66,7 +66,7 @@ typedef struct CCallInfo {
66#define IRCALLCOND_SOFTFP_FFI(x) NULL 66#define IRCALLCOND_SOFTFP_FFI(x) NULL
67#endif 67#endif
68 68
69#define LJ_NEED_FP64 LJ_TARGET_PPC 69#define LJ_NEED_FP64 (LJ_TARGET_PPC || LJ_TARGET_MIPS)
70 70
71#if LJ_HASFFI && (LJ_SOFTFP || LJ_NEED_FP64) 71#if LJ_HASFFI && (LJ_SOFTFP || LJ_NEED_FP64)
72#define IRCALLCOND_FP64_FFI(x) x 72#define IRCALLCOND_FP64_FFI(x) x
@@ -157,8 +157,8 @@ typedef struct CCallInfo {
157 _(FP64_FFI, fp64_ul2d, 2, N, NUM, 0) \ 157 _(FP64_FFI, fp64_ul2d, 2, N, NUM, 0) \
158 _(FP64_FFI, fp64_l2f, 2, N, FLOAT, 0) \ 158 _(FP64_FFI, fp64_l2f, 2, N, FLOAT, 0) \
159 _(FP64_FFI, fp64_ul2f, 2, N, FLOAT, 0) \ 159 _(FP64_FFI, fp64_ul2f, 2, N, FLOAT, 0) \
160 _(FP64_FFI, fp64_d2l, 2, N, I64, 0) \ 160 _(FP64_FFI, fp64_d2l, ARG1_FP, N, I64, 0) \
161 _(FP64_FFI, fp64_d2ul, 2, N, U64, 0) \ 161 _(FP64_FFI, fp64_d2ul, ARG1_FP, N, U64, 0) \
162 _(FP64_FFI, fp64_f2l, 1, N, I64, 0) \ 162 _(FP64_FFI, fp64_f2l, 1, N, I64, 0) \
163 _(FP64_FFI, fp64_f2ul, 1, N, U64, 0) \ 163 _(FP64_FFI, fp64_f2ul, 1, N, U64, 0) \
164 _(FFI, lj_carith_divi64, ARG2_64, N, I64, CCI_NOFPRCLOBBER) \ 164 _(FFI, lj_carith_divi64, ARG2_64, N, I64, CCI_NOFPRCLOBBER) \