summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a another TODO note.Tom Stellard2013-06-261-0/+3
| | | | | | Patch by: Aaron Watry llvm-svn: 184999
* Add a TODO note.Tom Stellard2013-06-261-0/+4
| | | | | | Patch by: Aaron Watry llvm-svn: 184998
* Simplify rotate implementation a bit..Tom Stellard2013-06-261-21/+21
| | | | | | | | Much more understandable/readable as a result, and probably more efficient. Patch by: Aaron Watry llvm-svn: 184997
* libclc: implement rotate builtinTom Stellard2013-06-263-0/+40
| | | | | | | | | | | | This implementation does a lot of bit shifting and masking. Suffice to say, this is somewhat suboptimal... but it does look to produce correct results (after the piglit tests were corrected for sign extension issues). Someone who knows LLVM better than I could re-write this more efficiently. Patch by: Aaron Watry llvm-svn: 184996
* libclc: Move max builtin to shared/Tom Stellard2013-06-265-9/+4
| | | | | | | | Max(x,y) is available for all integer/floating types. Patch by: Aaron Watry llvm-svn: 184995
* libclc: Add clamp() builtin for integer/floating pointTom Stellard2013-06-263-0/+15
| | | | | | | | | Created under a new shared/ directory for functions which are available for both integer and floating point types. Patch by: Aaron Watry llvm-svn: 184994
* libclc: Fix abs_diff builtin integer functionTom Stellard2013-06-262-1/+2
| | | | | | Patch by: Aaron Watry llvm-svn: 184993
* libclc: Add max() builtin functionTom Stellard2013-06-265-0/+20
| | | | | | | | Adds this function for both int and floating data types. Patch by: Aaron Watry llvm-svn: 184992
* Implement fmax() and fmin() builtinsTom Stellard2013-06-264-0/+42
| | | | llvm-svn: 184987
* Use brackets around include files in length.cl and normalize.clTom Stellard2013-06-262-2/+2
| | | | | | These functions were not being compiled llvm-svn: 184985
* Implement any() builtin. Patch by Tom Stellard!Peter Collingbourne2012-10-082-0/+31
| | | | llvm-svn: 165386
* Do not use linkonce_odr linkage in .ll files. This prevented themPeter Collingbourne2012-08-054-32/+32
| | | | | | from being linked into the library under lazy linkage. llvm-svn: 161314
* PTX: move implementations of work-item and synchronisation functionsPeter Collingbourne2012-08-053-0/+12
| | | | | | | to lib, and add header files in generic. Incorporates a patch by Tom Stellard! llvm-svn: 161313
* Implement sub_sat builtin. Patch by Lei Mou!Peter Collingbourne2012-08-054-0/+193
| | | | llvm-svn: 161312
* Fix declarations of __clc_add_sat_*. Patch by Lei Mou!Peter Collingbourne2012-08-051-8/+8
| | | | llvm-svn: 161311
* Enable cl_khr_fp64 when building the library, and fix several bugsPeter Collingbourne2012-05-294-1/+13
| | | | | | uncovered when doing so. llvm-svn: 157617
* Add missing dot.h include.Peter Collingbourne2012-05-291-0/+22
| | | | llvm-svn: 157615
* Add fma, hypot builtins.Peter Collingbourne2012-05-293-0/+12
| | | | llvm-svn: 157613
* Implement mad builtin.Peter Collingbourne2012-05-293-0/+8
| | | | llvm-svn: 157599
* Explicit conversions.Peter Collingbourne2012-05-282-0/+123
| | | | llvm-svn: 157590
* Initial commit.Peter Collingbourne2012-01-0814-0/+254
llvm-svn: 147756
OpenPOWER on IntegriCloud