Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify rotate implementation a bit.. | Tom Stellard | 2013-06-26 | 1 | -0/+16 | |
| | | | | | | | | Much more understandable/readable as a result, and probably more efficient. Patch by: Aaron Watry llvm-svn: 184997 | |||||
* | libclc: implement rotate builtin | Tom Stellard | 2013-06-26 | 4 | -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 Stellard | 2013-06-26 | 6 | -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 point | Tom Stellard | 2013-06-26 | 3 | -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 function | Tom Stellard | 2013-06-26 | 5 | -0/+8 | |
| | | | | | | | | Adds this function for both int and floating data types. Patch by: Aaron Watry llvm-svn: 184992 | |||||
* | Implement ceil() builtin | Tom Stellard | 2013-06-26 | 2 | -0/+7 | |
| | | | | llvm-svn: 184988 | |||||
* | Implement fmax() and fmin() builtins | Tom Stellard | 2013-06-26 | 5 | -0/+34 | |
| | | | | llvm-svn: 184987 | |||||
* | Remove the static keyword from the _CLC_INLINE macro | Tom Stellard | 2013-06-26 | 1 | -1/+1 | |
| | | | | | | static functions are not allowed in OpenCL C llvm-svn: 184986 | |||||
* | Fix typo in include/clc/geometric/length.inc | Tom Stellard | 2013-06-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 184984 | |||||
* | PTX: move implementations of work-item and synchronisation functions | Tom Stellard | 2013-06-26 | 2 | -2/+2 | |
| | | | | | | | to lib, and add header files in generic. Incorporates a patch by Tom Stellard! llvm-svn: 184979 | |||||
* | Move R600 headers into generic directory | Tom Stellard | 2013-06-26 | 2 | -2/+2 | |
| | | | | llvm-svn: 184978 | |||||
* | Implement any() builtin. Patch by Tom Stellard! | Peter Collingbourne | 2012-10-08 | 2 | -0/+17 | |
| | | | | llvm-svn: 165386 | |||||
* | Add native_powr builtin. Patch by Tom Stellard! | Peter Collingbourne | 2012-10-08 | 2 | -0/+2 | |
| | | | | llvm-svn: 165385 | |||||
* | Add rsqrt builtin. Based on patch by Cassie Epps! | Peter Collingbourne | 2012-08-21 | 2 | -0/+2 | |
| | | | | llvm-svn: 162274 | |||||
* | Add floor builtin. Patch by Cassie Epps! | Peter Collingbourne | 2012-08-21 | 2 | -0/+7 | |
| | | | | llvm-svn: 162273 | |||||
* | PTX: move implementations of work-item and synchronisation functions | Peter Collingbourne | 2012-08-05 | 7 | -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 Collingbourne | 2012-08-05 | 3 | -0/+4 | |
| | | | | llvm-svn: 161312 | |||||
* | Add pow builtin. | Peter Collingbourne | 2012-05-29 | 3 | -0/+25 | |
| | | | | llvm-svn: 157629 | |||||
* | Add missing dot.h include. | Peter Collingbourne | 2012-05-29 | 2 | -0/+2 | |
| | | | | llvm-svn: 157615 | |||||
* | Define FLOAT in floatn.inc. | Peter Collingbourne | 2012-05-29 | 1 | -0/+10 | |
| | | | | llvm-svn: 157614 | |||||
* | Add fma, hypot builtins. | Peter Collingbourne | 2012-05-29 | 5 | -0/+29 | |
| | | | | llvm-svn: 157613 | |||||
* | Implement mad builtin. | Peter Collingbourne | 2012-05-29 | 4 | -0/+55 | |
| | | | | llvm-svn: 157599 | |||||
* | Implement exp, exp2, log, log2, native_exp, native_exp2, native_log, | Peter Collingbourne | 2012-05-29 | 9 | -0/+32 | |
| | | | | | | native_log2. Patch by Joshua Cranmer! llvm-svn: 157598 | |||||
* | Fix typo in double precision case. | Peter Collingbourne | 2012-05-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 157597 | |||||
* | Add fabs builtin. | Peter Collingbourne | 2012-05-28 | 2 | -0/+7 | |
| | | | | llvm-svn: 157595 | |||||
* | Explicit conversions. | Peter Collingbourne | 2012-05-28 | 2 | -0/+85 | |
| | | | | llvm-svn: 157590 | |||||
* | Initial commit. | Peter Collingbourne | 2012-01-08 | 32 | -0/+768 | |
llvm-svn: 147756 |