diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-19 20:45:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-19 20:45:08 +0000 |
commit | 870cf1b715edc8cb29bc6ad1b79e9e1883749a8b (patch) | |
tree | 5b5d79f0a69b14c8829b9c41551c03e6f6b5ba3d /lib/Target | |
parent | de050a7509b906985c8ba9367956270211a389bd (diff) | |
download | llvm-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.txt | 12 |
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 + +//===---------------------------------------------------------------------===// |