Commit 9772b3f8 authored by wolfgang.thaller@gmx.net's avatar wolfgang.thaller@gmx.net
Browse files

NCG: fix mkRegRegMoveInstr for x86-64

parent 17fc6271
...@@ -803,7 +803,11 @@ mkRegRegMoveInstr src dst ...@@ -803,7 +803,11 @@ mkRegRegMoveInstr src dst
#if i386_TARGET_ARCH || x86_64_TARGET_ARCH #if i386_TARGET_ARCH || x86_64_TARGET_ARCH
= case regClass src of = case regClass src of
RcInteger -> MOV wordRep (OpReg src) (OpReg dst) RcInteger -> MOV wordRep (OpReg src) (OpReg dst)
#if i386_TARGET_ARCH
RcDouble -> GMOV src dst RcDouble -> GMOV src dst
#else
RcDouble -> MOV F64 (OpReg src) (OpReg dst)
#endif
#elif powerpc_TARGET_ARCH #elif powerpc_TARGET_ARCH
= MR dst src = MR dst src
#endif #endif
......
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