1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Make 80-bit store maintain simulated FP stack correctly.

llvm-svn: 40868
This commit is contained in:
Dale Johannesen 2007-08-06 19:50:32 +00:00
parent 04447caa7b
commit e3f1d06ca0

View File

@ -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?