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:
0dd5815
)
Fix bug in X86 codegen: use GMOV instead of MOV for F64 w/o SSE2.
author
Edward Z. Yang
<ezyang@mit.edu>
Wed, 6 Apr 2011 15:31:44 +0000
(16:31 +0100)
committer
Edward Z. Yang
<ezyang@mit.edu>
Wed, 6 Apr 2011 16:02:03 +0000
(17:02 +0100)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
compiler/nativeGen/X86/CodeGen.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/X86/CodeGen.hs
b/compiler/nativeGen/X86/CodeGen.hs
index
86ecbf9
..
5df8f77
100644
(file)
--- a/
compiler/nativeGen/X86/CodeGen.hs
+++ b/
compiler/nativeGen/X86/CodeGen.hs
@@
-431,7
+431,7
@@
getRegister (CmmReg reg)
size | not use_sse2 && isFloatSize sz = FF80
| otherwise = sz
--
- return (Fixed sz (getRegisterReg use_sse2 reg) nilOL)
+ return (Fixed size (getRegisterReg use_sse2 reg) nilOL)
getRegister tree@(CmmRegOff _ _)