Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a another TODO note. | Tom Stellard | 2013-06-26 | 1 | -0/+3 | |
| | | | | | | Patch by: Aaron Watry llvm-svn: 184999 | |||||
* | Add a TODO note. | Tom Stellard | 2013-06-26 | 1 | -0/+4 | |
| | | | | | | Patch by: Aaron Watry llvm-svn: 184998 | |||||
* | Simplify rotate implementation a bit.. | Tom Stellard | 2013-06-26 | 1 | -21/+21 | |
| | | | | | | | | 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 | 3 | -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 Stellard | 2013-06-26 | 5 | -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 point | Tom Stellard | 2013-06-26 | 3 | -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 function | Tom Stellard | 2013-06-26 | 2 | -1/+2 | |
| | | | | | | Patch by: Aaron Watry llvm-svn: 184993 | |||||
* | libclc: Add max() builtin function | Tom Stellard | 2013-06-26 | 5 | -0/+20 | |
| | | | | | | | | Adds this function for both int and floating data types. Patch by: Aaron Watry llvm-svn: 184992 | |||||
* | Implement fmax() and fmin() builtins | Tom Stellard | 2013-06-26 | 4 | -0/+42 | |
| | | | | llvm-svn: 184987 | |||||
* | Use brackets around include files in length.cl and normalize.cl | Tom Stellard | 2013-06-26 | 2 | -2/+2 | |
| | | | | | | These functions were not being compiled llvm-svn: 184985 | |||||
* | Implement any() builtin. Patch by Tom Stellard! | Peter Collingbourne | 2012-10-08 | 2 | -0/+31 | |
| | | | | llvm-svn: 165386 | |||||
* | Do not use linkonce_odr linkage in .ll files. This prevented them | Peter Collingbourne | 2012-08-05 | 4 | -32/+32 | |
| | | | | | | from being linked into the library under lazy linkage. llvm-svn: 161314 | |||||
* | PTX: move implementations of work-item and synchronisation functions | Peter Collingbourne | 2012-08-05 | 3 | -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 Collingbourne | 2012-08-05 | 4 | -0/+193 | |
| | | | | llvm-svn: 161312 | |||||
* | Fix declarations of __clc_add_sat_*. Patch by Lei Mou! | Peter Collingbourne | 2012-08-05 | 1 | -8/+8 | |
| | | | | llvm-svn: 161311 | |||||
* | Enable cl_khr_fp64 when building the library, and fix several bugs | Peter Collingbourne | 2012-05-29 | 4 | -1/+13 | |
| | | | | | | uncovered when doing so. llvm-svn: 157617 | |||||
* | Add missing dot.h include. | Peter Collingbourne | 2012-05-29 | 1 | -0/+22 | |
| | | | | llvm-svn: 157615 | |||||
* | Add fma, hypot builtins. | Peter Collingbourne | 2012-05-29 | 3 | -0/+12 | |
| | | | | llvm-svn: 157613 | |||||
* | Implement mad builtin. | Peter Collingbourne | 2012-05-29 | 3 | -0/+8 | |
| | | | | llvm-svn: 157599 | |||||
* | Explicit conversions. | Peter Collingbourne | 2012-05-28 | 2 | -0/+123 | |
| | | | | llvm-svn: 157590 | |||||
* | Initial commit. | Peter Collingbourne | 2012-01-08 | 14 | -0/+254 | |
llvm-svn: 147756 |