Aaron Watry f89bcca0b7 libclc/math: Add cospi
Ported from the libclc/amd-builtins branch

v2: Rename sincos_f_piby4 to __libclc__sincosf_piby4
    Add cospi(double) implementation instead of using llvm.cos

Notes:
The sincosD_piby4.h file is mostly the same as the builtin implementation
released by AMD. The inline attribute declaration is changed, and M_PI is
used instead of a constant double. Otherwise, the only difference is that
the header explicitly enables the fp64 pragma.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jeroen Ketema <j.ketema@imperial.ac.uk>
CC: Tom Stellard <tom@stellard.net>
CC: Matt Arsenault <Matthew.Arsenault@amd.com>
llvm-svn: 230641
2015-02-26 15:42:00 +00:00
..
2014-09-10 15:43:29 +00:00
2014-09-10 15:43:29 +00:00
2014-09-10 15:43:32 +00:00
2014-09-10 15:43:32 +00:00
2014-07-23 15:16:16 +00:00
2014-07-23 15:16:13 +00:00
2014-09-03 15:55:38 +00:00
2014-07-23 15:16:18 +00:00
2015-02-26 15:42:00 +00:00
2014-06-25 10:06:35 +00:00
2014-06-25 10:06:35 +00:00
2014-10-05 20:24:52 +00:00
2014-10-07 20:22:42 +00:00
2015-01-30 18:00:34 +00:00
2015-01-30 18:00:34 +00:00
2014-10-07 20:22:42 +00:00
2014-06-16 19:53:59 +00:00
2014-06-16 19:53:59 +00:00
2014-07-23 15:16:21 +00:00
2015-02-26 15:42:00 +00:00
2015-02-26 15:42:00 +00:00
2014-10-07 20:22:42 +00:00
2014-10-07 20:22:42 +00:00
2014-09-10 15:43:35 +00:00
2014-09-10 15:43:35 +00:00