summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 80ab051e..f6448848 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -235,6 +235,10 @@
235#endif 235#endif
236 236
237/* Enable or disable the dual-number mode for the VM. */ 237/* Enable or disable the dual-number mode for the VM. */
238#if (LJ_ARCH_NUMMODE == LJ_NUMMODE_SINGLE && LUAJIT_NUMMODE == 2) || \
239 (LJ_ARCH_NUMMODE == LJ_NUMMODE_DUAL && LUAJIT_NUMMODE == 1)
240#error "No support for this number mode on this architecture"
241#endif
238#if LJ_ARCH_NUMMODE == LJ_NUMMODE_DUAL || \ 242#if LJ_ARCH_NUMMODE == LJ_NUMMODE_DUAL || \
239 (LJ_ARCH_NUMMODE == LJ_NUMMODE_DUAL_SINGLE && LUAJIT_NUMMODE != 1) || \ 243 (LJ_ARCH_NUMMODE == LJ_NUMMODE_DUAL_SINGLE && LUAJIT_NUMMODE != 1) || \
240 (LJ_ARCH_NUMMODE == LJ_NUMMODE_SINGLE_DUAL && LUAJIT_NUMMODE == 2) 244 (LJ_ARCH_NUMMODE == LJ_NUMMODE_SINGLE_DUAL && LUAJIT_NUMMODE == 2)