projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763598e
)
Fix build for non-x86 arches again.
author
Ben.Lippmeier@anu.edu.au
<unknown>
Mon, 22 Feb 2010 07:51:44 +0000
(07:51 +0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Mon, 22 Feb 2010 07:51:44 +0000
(07:51 +0000)
compiler/nativeGen/X86/Ppr.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/X86/Ppr.hs
b/compiler/nativeGen/X86/Ppr.hs
index
0c8d106
..
baf853c
100644
(file)
--- a/
compiler/nativeGen/X86/Ppr.hs
+++ b/
compiler/nativeGen/X86/Ppr.hs
@@
-275,6
+275,7
@@
pprReg s r
ppr_reg_no _ = panic "X86.Ppr.ppr_reg_no: no match"
#endif
+#if defined(i386_TARGET_ARCH) || defined(x86_64_TARGET_ARCH)
ppr_reg_float :: Int -> LitString
ppr_reg_float i = case i of
16 -> sLit "%fake0"; 17 -> sLit "%fake1"
@@
-289,6
+290,7
@@
ppr_reg_float i = case i of
36 -> sLit "%xmm12"; 37 -> sLit "%xmm13"
38 -> sLit "%xmm14"; 39 -> sLit "%xmm15"
_ -> sLit "very naughty x86 register"
+#endif
pprSize :: Size -> Doc
pprSize x