summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify rotate implementation a bit..Tom Stellard2013-06-261-0/+16
| | | | | | | | Much more understandable/readable as a result, and probably more efficient. Patch by: Aaron Watry llvm-svn: 184997
* libclc: implement rotate builtinTom Stellard2013-06-264-0/+15
| | | | | | | | | | | | 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-266-7/+6
| | | | | | | | 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/+9
| | | | | | | | | 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: Add max() builtin functionTom Stellard2013-06-265-0/+8
| | | | | | | | Adds this function for both int and floating data types. Patch by: Aaron Watry llvm-svn: 184992
* Implement ceil() builtinTom Stellard2013-06-262-0/+7
| | | | llvm-svn: 184988
* Implement fmax() and fmin() builtinsTom Stellard2013-06-265-0/+34
| | | | llvm-svn: 184987
* Remove the static keyword from the _CLC_INLINE macroTom Stellard2013-06-261-1/+1
| | | | | | static functions are not allowed in OpenCL C llvm-svn: 184986
* Fix typo in include/clc/geometric/length.incTom Stellard2013-06-261-1/+1
| | | | llvm-svn: 184984
* PTX: move implementations of work-item and synchronisation functionsTom Stellard2013-06-262-2/+2
| | | | | | | to lib, and add header files in generic. Incorporates a patch by Tom Stellard! llvm-svn: 184979
* Move R600 headers into generic directoryTom Stellard2013-06-262-2/+2
| | | | llvm-svn: 184978
* Implement any() builtin. Patch by Tom Stellard!Peter Collingbourne2012-10-082-0/+17
| | | | llvm-svn: 165386
* Add native_powr builtin. Patch by Tom Stellard!Peter Collingbourne2012-10-082-0/+2
| | | | llvm-svn: 165385
* Add rsqrt builtin. Based on patch by Cassie Epps!Peter Collingbourne2012-08-212-0/+2
| | | | llvm-svn: 162274
* Add floor builtin. Patch by Cassie Epps!Peter Collingbourne2012-08-212-0/+7
| | | | llvm-svn: 162273
* PTX: move implementations of work-item and synchronisation functionsPeter Collingbourne2012-08-057-0/+7
| | | | | | | 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-053-0/+4
| | | | llvm-svn: 161312
* Add pow builtin.Peter Collingbourne2012-05-293-0/+25
| | | | llvm-svn: 157629
* Add missing dot.h include.Peter Collingbourne2012-05-292-0/+2
| | | | llvm-svn: 157615
* Define FLOAT in floatn.inc.Peter Collingbourne2012-05-291-0/+10
| | | | llvm-svn: 157614
* Add fma, hypot builtins.Peter Collingbourne2012-05-295-0/+29
| | | | llvm-svn: 157613
* Implement mad builtin.Peter Collingbourne2012-05-294-0/+55
| | | | llvm-svn: 157599
* Implement exp, exp2, log, log2, native_exp, native_exp2, native_log,Peter Collingbourne2012-05-299-0/+32
| | | | | | native_log2. Patch by Joshua Cranmer! llvm-svn: 157598
* Fix typo in double precision case.Peter Collingbourne2012-05-291-1/+1
| | | | llvm-svn: 157597
* Add fabs builtin.Peter Collingbourne2012-05-282-0/+7
| | | | llvm-svn: 157595
* Explicit conversions.Peter Collingbourne2012-05-282-0/+85
| | | | llvm-svn: 157590
* Initial commit.Peter Collingbourne2012-01-0832-0/+768
llvm-svn: 147756
OpenPOWER on IntegriCloud