aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/README-FPStack.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-14 05:39:46 +0000
committerChris Lattner <sabre@nondot.org>2008-02-14 05:39:46 +0000
commit8b0cb7bcc6cabf19c317cd4a844f5fe47149a244 (patch)
treed76c49957a5d64d8ce159ece6644d42e2cf67f41 /lib/Target/X86/README-FPStack.txt
parent1d1ef14248a24cb7239e0bc9298d84004a8044e6 (diff)
This readme entry is done, testcase here: CodeGen/X86/zero-remat.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/README-FPStack.txt')
-rw-r--r--lib/Target/X86/README-FPStack.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/Target/X86/README-FPStack.txt b/lib/Target/X86/README-FPStack.txt
index d94fa0219d..0dcbcbc735 100644
--- a/lib/Target/X86/README-FPStack.txt
+++ b/lib/Target/X86/README-FPStack.txt
@@ -9,20 +9,6 @@ http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00659.html
//===---------------------------------------------------------------------===//
-On darwin/x86, we should codegen:
-
- ret double 0.000000e+00
-
-as fld0/ret, not as:
-
- movl $0, 4(%esp)
- movl $0, (%esp)
- fldl (%esp)
- ...
- ret
-
-//===---------------------------------------------------------------------===//
-
This should use fiadd on chips where it is profitable:
double foo(double P, int *I) { return P+*I; }