summaryrefslogtreecommitdiffstats
path: root/libclc/ptx
Commit message (Collapse)AuthorAgeFilesLines
* ptx: Use __clc_nextafter to implement nextafterJan Vesely2017-10-082-0/+11
| | | | | | | | using clang builtin results in external library call Reviewer: Jeroen Ketema Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 315191
* Add vload_half helpers for ptxJeroen Ketema2017-10-054-0/+26
| | | | | | | The removes the vload_half unresolved calls from the nvptx libraries. Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 314998
* Add vstore_half helpers for ptxJeroen Ketema2017-10-044-0/+38
| | | | | Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 314925
* integer/sub_sat: Use clang builtin instead of llvm asmJan Vesely2017-10-023-57/+0
| | | | | | | reviewer: Tom Stellard Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 314703
* integer/add_sat: Use clang builtin instead of llvm asmJan Vesely2017-10-023-58/+1
| | | | | | | reviewer: Tom Stellard Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 314702
* libclc: Rename [add|sub]_sat.ll to [add|sub]_sat_if.llTom Stellard2013-06-261-0/+2
| | | | | | | | | | | | | | | | | configure.py allows overloading *.cl with *.ll, but will only ever build the first file listed in SOURCES of ${file}.cl and ${file}.ll add_sat, sub_sat, (and the soon to be submitted clz) all define interfaces in ${function_name}.ll which are implemented in ${function_name}_impl.ll. Renaming the interface files is enough to get them to build again, fixing CL usage of these functions. Tested on clover/r600g. Patch by: Aaron Watry llvm-svn: 185000
* Do not use linkonce_odr linkage in .ll files. This prevented themPeter Collingbourne2012-08-052-16/+16
| | | | | | from being linked into the library under lazy linkage. llvm-svn: 161314
* Implement sub_sat builtin. Patch by Lei Mou!Peter Collingbourne2012-08-052-0/+56
| | | | llvm-svn: 161312
* Initial commit.Peter Collingbourne2012-01-082-0/+56
llvm-svn: 147756
OpenPOWER on IntegriCloud