[project @ 2003-11-04 13:15:20 by simonpj]
[ghc-hetmet.git] / ghc / compiler / nativeGen / NCG.h
index e023463..a5c5d3e 100644 (file)
@@ -23,8 +23,6 @@ you will screw up the layout where they are used in case expressions!
 
 #endif
 
-#define FAST_REG_NO FAST_INT
-
 #include "../includes/config.h"
 
 #if 0
@@ -67,6 +65,11 @@ you will screw up the layout where they are used in case expressions!
 # define BYTES_PER_WORD_STR "4"
 #endif
 
+#if powerpc_TARGET_ARCH
+# define BYTES_PER_WORD 4
+# define BYTES_PER_WORD_STR "4"
+#endif
+
 ---------------------------------------------
 
 #if alpha_TARGET_ARCH
@@ -144,4 +147,16 @@ you will screw up the layout where they are used in case expressions!
 # define IF_OS_solaris2(x,y) y
 #endif
 ---------------------------------------------
+#if powerpc_TARGET_ARCH
+# define IF_ARCH_powerpc(x,y) x
+#else
+# define IF_ARCH_powerpc(x,y) y
+#endif
+-- - - - - - - - - - - - - - - - - - - - - - 
+#if darwin_TARGET_OS
+# define IF_OS_darwin(x,y) x
+#else
+# define IF_OS_darwin(x,y) y
+#endif
+---------------------------------------------
 #endif