summaryrefslogtreecommitdiff
path: root/includes/stg
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-03-23 23:19:01 +0000
committerIan Lynagh <igloo@earth.li>2012-03-23 23:19:01 +0000
commit9782f8fbf0d777840a5e65f71921186a7a193f16 (patch)
tree90f0849e27ffe0b7f811bb7c0305a8a1274bb9bc /includes/stg
parent47a018026aee9faef28ddc9b4550425dd0000ceb (diff)
parent1212145be348b35ea91f17f62466de7841e0e705 (diff)
downloadhaskell-9782f8fbf0d777840a5e65f71921186a7a193f16.tar.gz
Merge branch 'master' of win:c:/m64/reg4/.
Diffstat (limited to 'includes/stg')
-rw-r--r--includes/stg/MachRegs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/stg/MachRegs.h b/includes/stg/MachRegs.h
index 09f7d2fdf7..91c1f89022 100644
--- a/includes/stg/MachRegs.h
+++ b/includes/stg/MachRegs.h
@@ -164,8 +164,10 @@
#define REG_D1 xmm5
#define REG_D2 xmm6
+#if !defined(mingw32_HOST_OS)
#define CALLER_SAVES_R3
#define CALLER_SAVES_R4
+#endif
#define CALLER_SAVES_R5
#define CALLER_SAVES_R6
@@ -175,7 +177,9 @@
#define CALLER_SAVES_F4
#define CALLER_SAVES_D1
+#if !defined(mingw32_HOST_OS)
#define CALLER_SAVES_D2
+#endif
#define MAX_REAL_VANILLA_REG 6
#define MAX_REAL_FLOAT_REG 4