]> www.ginac.de Git - cln.git/blobdiff - src/base/digitseq/cl_asm.h
Support for little-endian Mips, second shot
[cln.git] / src / base / digitseq / cl_asm.h
index 807987810ed543213b37935031fae6b5ffd269ea..61dc281280e0812287d7d7f9b47f1901dffad20b 100644 (file)
@@ -1,9 +1,11 @@
 // Includes the CPU specific cl_asm_*.h file.
 
-#include "cl_config.h"
+#include "cln/config.h"
 #include "cl_DS_endian.h"
 
-#ifdef __m68k__
+#ifndef NO_ASM
+
+#if defined(__m68k__) && (intCsize==16)
   #include "cl_asm_m68k.h"
 #endif
 
   #include "cl_asm_sparc64.h"
 #endif
 
-#ifdef __i386__
+#if defined(__i386__)
   #include "cl_asm_i386.h"
 #endif
 
-#ifdef __mips__
+#if (defined(__mips__) || defined(__mipsel__)) && !defined(__mips64__) && (intDsize==32)
   #include "cl_asm_mips.h"
 #endif
 
-#ifdef __hppa__
+#if defined(__hppa__) && (intDsize==32)
   #include "cl_asm_hppa.h"
 #endif
 
-#ifdef __arm__
+#if defined(__arm__)
   #include "cl_asm_arm.h"
 #endif
 
+#endif // ndef NO_ASM