llvm-project/libclc/r600/lib
Tom Stellard 6c7b86c106 Implement nextafter() builtin
There are two implementations of nextafter():
1. Using clang's __builtin_nextafter.  Clang replaces this builtin with
a call to nextafter which is part of libm.  Therefore, this
implementation will only work for targets with an implementation of
libm (e.g. most CPU targets).

2. The other implementation is written in OpenCL C.  This function is
known internally as __clc_nextafter and can be used by targets that
don't have access to libm.

llvm-svn: 192383
2013-10-10 19:08:51 +00:00
..
atomic Add atomic_sub and atomic_dec builtin functions 2013-09-06 20:20:21 +00:00
math Implement nextafter() builtin 2013-10-10 19:08:51 +00:00
shared Enable assembly vload3 int/uint constant/global for R600 2013-08-12 14:42:50 +00:00
synchronization Implement barrier() builtin 2013-07-08 17:26:39 +00:00
workitem Added get_num_groups 2013-07-24 18:03:38 +00:00
OVERRIDES r600: Add overrides file 2013-06-26 18:20:08 +00:00
SOURCES Implement nextafter() builtin 2013-10-10 19:08:51 +00:00