mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
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
This commit is contained in:
parent
d6dac0eebc
commit
88835735f4
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user