summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-19 20:45:08 +0000
committerChris Lattner <sabre@nondot.org>2006-05-19 20:45:08 +0000
commit870cf1b715edc8cb29bc6ad1b79e9e1883749a8b (patch)
tree5b5d79f0a69b14c8829b9c41551c03e6f6b5ba3d /lib/Target
parentde050a7509b906985c8ba9367956270211a389bd (diff)
downloadllvm-870cf1b715edc8cb29bc6ad1b79e9e1883749a8b.tar.gz
llvm-870cf1b715edc8cb29bc6ad1b79e9e1883749a8b.tar.bz2
llvm-870cf1b715edc8cb29bc6ad1b79e9e1883749a8b.tar.xz
Move a target-independent note out of the X86 readme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/README.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 54bd94811d..92fc8d036d 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -208,3 +208,15 @@ emit:
movl %eax, _foo
//===---------------------------------------------------------------------===//
+
+Combine: a = sin(x), b = cos(x) into a,b = sincos(x).
+
+Expand these to calls of sin/cos and stores:
+ double sincos(double x, double *sin, double *cos);
+ float sincosf(float x, float *sin, float *cos);
+ long double sincosl(long double x, long double *sin, long double *cos);
+
+Doing so could allow SROA of the destination pointers. See also:
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17687
+
+//===---------------------------------------------------------------------===//