projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6dac0e
)
Make 80-bit store maintain simulated FP stack correctly.
author
Dale Johannesen
<dalej@apple.com>
Mon, 6 Aug 2007 19:50:32 +0000
(19:50 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Mon, 6 Aug 2007 19:50:32 +0000
(19:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40868
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FloatingPoint.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FloatingPoint.cpp
b/lib/Target/X86/X86FloatingPoint.cpp
index e481406d11d9c6a906fd0a7c3ced5dd0deacc41b..ebf4a5756f5adebfd8cb023ce2540f007b068e8f 100644
(file)
--- 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?