From: Dale Johannesen Date: Mon, 6 Aug 2007 19:50:32 +0000 (+0000) Subject: Make 80-bit store maintain simulated FP stack correctly. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8883573;p=oota-llvm.git Make 80-bit store maintain simulated FP stack correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40868 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index e481406d11d..ebf4a5756f5 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp @@ -629,7 +629,8 @@ void FPS::handleOneArgFP(MachineBasicBlock::iterator &I) { if (MI->getOpcode() == X86::IST_FP64m || MI->getOpcode() == X86::ISTT_FP16m || MI->getOpcode() == X86::ISTT_FP32m || - MI->getOpcode() == X86::ISTT_FP64m) { + MI->getOpcode() == X86::ISTT_FP64m || + MI->getOpcode() == X86::ST_FP80m) { assert(StackTop > 0 && "Stack empty??"); --StackTop; } else if (KillsSrc) { // Last use of operand?