projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
17fc627
)
NCG: fix mkRegRegMoveInstr for x86-64
author
wolfgang.thaller@gmx.net
<unknown>
Sat, 25 Feb 2006 22:59:20 +0000
(22:59 +0000)
committer
wolfgang.thaller@gmx.net
<unknown>
Sat, 25 Feb 2006 22:59:20 +0000
(22:59 +0000)
ghc/compiler/nativeGen/RegAllocInfo.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/RegAllocInfo.hs
b/ghc/compiler/nativeGen/RegAllocInfo.hs
index
e5b4b14
..
98c4e2d
100644
(file)
--- a/
ghc/compiler/nativeGen/RegAllocInfo.hs
+++ b/
ghc/compiler/nativeGen/RegAllocInfo.hs
@@
-803,7
+803,11
@@
mkRegRegMoveInstr src dst
#if i386_TARGET_ARCH || x86_64_TARGET_ARCH
= case regClass src of
RcInteger -> MOV wordRep (OpReg src) (OpReg dst)
+#if i386_TARGET_ARCH
RcDouble -> GMOV src dst
+#else
+ RcDouble -> MOV F64 (OpReg src) (OpReg dst)
+#endif
#elif powerpc_TARGET_ARCH
= MR dst src
#endif