From: Evan Cheng Date: Fri, 28 Apr 2006 02:23:35 +0000 (+0000) Subject: Use movaps instead of movapd for spill / restore. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ed1492eaf5998678a5e403ab84abc8c9e52e46fa;p=oota-llvm.git Use movaps instead of movapd for spill / restore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28005 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index 3bd9b0edc04..383529a0eb4 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -63,7 +63,7 @@ void X86RegisterInfo::storeRegToStackSlot(MachineBasicBlock &MBB, } else if (RC == &X86::FR64RegClass) { Opc = X86::MOVSDmr; } else if (RC == &X86::VR128RegClass) { - Opc = X86::MOVAPDmr; + Opc = X86::MOVAPSmr; } else { assert(0 && "Unknown regclass"); abort(); @@ -89,7 +89,7 @@ void X86RegisterInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, } else if (RC == &X86::FR64RegClass) { Opc = X86::MOVSDrm; } else if (RC == &X86::VR128RegClass) { - Opc = X86::MOVAPDrm; + Opc = X86::MOVAPSrm; } else { assert(0 && "Unknown regclass"); abort();