Changes in directory llvm/lib/Target:
README.txt updated: 1.30 -> 1.31 --- Log message: Move a target-independent note out of the X86 readme. --- Diffs of the changes: (+12 -0) README.txt | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/lib/Target/README.txt diff -u llvm/lib/Target/README.txt:1.30 llvm/lib/Target/README.txt:1.31 --- llvm/lib/Target/README.txt:1.30 Thu May 18 13:26:13 2006 +++ llvm/lib/Target/README.txt Fri May 19 15:45:08 2006 @@ -208,3 +208,15 @@ 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 + +//===---------------------------------------------------------------------===// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits