summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs
diff options
context:
space:
mode:
authorBen.Lippmeier@anu.edu.au <unknown>2009-04-21 01:44:09 +0000
committerBen.Lippmeier@anu.edu.au <unknown>2009-04-21 01:44:09 +0000
commitde29a9f02449359b70402f763ac7590673774124 (patch)
treeb76cf441bd28f8c4df14de47cf51a8c42ea22076 /compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs
parent685f631451c4e6d8ebb6e31decb935db675f338e (diff)
downloadhaskell-de29a9f02449359b70402f763ac7590673774124.tar.gz
SPARC NCG: Fix available regs for graph allocator
Diffstat (limited to 'compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs')
-rw-r--r--compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs b/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs
index 6a7211dd06..df04606313 100644
--- a/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs
+++ b/compiler/nativeGen/RegAlloc/Graph/TrivColorable.hs
@@ -126,9 +126,9 @@ worst n classN classC
#define ALLOCATABLE_REGS_FLOAT (_ILIT(0))
#elif sparc_TARGET_ARCH
-#define ALLOCATABLE_REGS_INTEGER (_ILIT(3))
-#define ALLOCATABLE_REGS_DOUBLE (_ILIT(6))
-#define ALLOCATABLE_REGS_FLOAT (_ILIT(0))
+#define ALLOCATABLE_REGS_INTEGER (_ILIT(14))
+#define ALLOCATABLE_REGS_DOUBLE (_ILIT(8))
+#define ALLOCATABLE_REGS_FLOAT (_ILIT(6))
#else
#error ToDo: define ALLOCATABLE_REGS_INTEGER and ALLOCATABLE_REGS_DOUBLE