From: Chris Lattner Date: Fri, 19 May 2006 20:45:08 +0000 (+0000) Subject: Move a target-independent note out of the X86 readme. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=870cf1b715edc8cb29bc6ad1b79e9e1883749a8b;p=oota-llvm.git 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 --- diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 54bd94811d7..92fc8d036dd 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 + +//===---------------------------------------------------------------------===//