diff options
| author | Aaron Watry <awatry@gmail.com> | 2015-02-26 15:42:00 +0000 |
|---|---|---|
| committer | Aaron Watry <awatry@gmail.com> | 2015-02-26 15:42:00 +0000 |
| commit | f89bcca0b783ab1003ac8e1f1af2424c751b0361 (patch) | |
| tree | 1c2db37912261b7fd7cac2b4b729cd27ea7774db /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp | |
| parent | f72bdbfbb11f6562d44d6039b92eb69d133c7776 (diff) | |
| download | bcm5719-llvm-f89bcca0b783ab1003ac8e1f1af2424c751b0361.tar.gz bcm5719-llvm-f89bcca0b783ab1003ac8e1f1af2424c751b0361.zip | |
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
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
0 files changed, 0 insertions, 0 deletions

