Browse Source

Add check for unsupported MIPS soft-float targets.

Mike Pall 13 years ago
parent
commit
d3699997fa
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/lj_arch.h

+ 4 - 0
src/lj_arch.h

@@ -318,6 +318,10 @@
 #if defined(_LP64)
 #if defined(_LP64)
 #error "No support for PowerPC 64 bit mode"
 #error "No support for PowerPC 64 bit mode"
 #endif
 #endif
+#elif LJ_TARGET_MIPS
+#if defined(__mips_soft_float)
+#error "No support for MIPS CPUs without FPU"
+#endif
 #endif
 #endif
 #endif
 #endif