Move a target-independent note out of the X86 readme.
authorChris Lattner <sabre@nondot.org>
Fri, 19 May 2006 20:45:08 +0000 (20:45 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 19 May 2006 20:45:08 +0000 (20:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28398 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 54bd94811d764e08761517b842e2f64cf2406415..92fc8d036dd297242ca33bbcc5c7ef51228f68c4 100644 (file)
@@ -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
+
+//===---------------------------------------------------------------------===//