aboutsummaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
authorMike Pall <mike>2017-06-07 23:56:54 +0200
committerMike Pall <mike>2017-06-07 23:56:54 +0200
commita057a07ab702e225e21848d4f918886c5b0ac06b (patch)
tree5223cc2660144bac4c1daff5d6110a43ed4d96f2 /src/lj_jit.h
parent0e4a551809138b0e63d7d491710aa906b174495f (diff)
downloadluajit-a057a07ab702e225e21848d4f918886c5b0ac06b.tar.gz
luajit-a057a07ab702e225e21848d4f918886c5b0ac06b.tar.bz2
luajit-a057a07ab702e225e21848d4f918886c5b0ac06b.zip
MIPS64: Add soft-float support to JIT compiler backend.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com. Sponsored by Cisco Systems, Inc.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index 2fa8efc4..f37e7927 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -374,7 +374,7 @@ enum {
374 ((TValue *)(((intptr_t)&J->ksimd[2*(n)] + 15) & ~(intptr_t)15)) 374 ((TValue *)(((intptr_t)&J->ksimd[2*(n)] + 15) & ~(intptr_t)15))
375 375
376/* Set/reset flag to activate the SPLIT pass for the current trace. */ 376/* Set/reset flag to activate the SPLIT pass for the current trace. */
377#if LJ_SOFTFP || (LJ_32 && LJ_HASFFI) 377#if LJ_SOFTFP32 || (LJ_32 && LJ_HASFFI)
378#define lj_needsplit(J) (J->needsplit = 1) 378#define lj_needsplit(J) (J->needsplit = 1)
379#define lj_resetsplit(J) (J->needsplit = 0) 379#define lj_resetsplit(J) (J->needsplit = 0)
380#else 380#else
@@ -437,7 +437,7 @@ typedef struct jit_State {
437 MSize sizesnapmap; /* Size of temp. snapshot map buffer. */ 437 MSize sizesnapmap; /* Size of temp. snapshot map buffer. */
438 438
439 PostProc postproc; /* Required post-processing after execution. */ 439 PostProc postproc; /* Required post-processing after execution. */
440#if LJ_SOFTFP || (LJ_32 && LJ_HASFFI) 440#if LJ_SOFTFP32 || (LJ_32 && LJ_HASFFI)
441 uint8_t needsplit; /* Need SPLIT pass. */ 441 uint8_t needsplit; /* Need SPLIT pass. */
442#endif 442#endif
443 uint8_t retryrec; /* Retry recording. */ 443 uint8_t retryrec; /* Retry recording. */