Commit bd9c8356 authored by Edward Z. Yang's avatar Edward Z. Yang

Fix bug in X86 codegen: use GMOV instead of MOV for F64 w/o SSE2.

Signed-off-by: Edward Z. Yang's avatarEdward Z. Yang <ezyang@mit.edu>
parent 0dd5815f
......@@ -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 _ _)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment