Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement ceil() builtin | Tom Stellard | 2013-06-26 | 2 | -0/+7 | |
| | | | | llvm-svn: 184988 | |||||
* | Implement fmax() and fmin() builtins | Tom Stellard | 2013-06-26 | 9 | -0/+76 | |
| | | | | 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 | |||||
* | 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 | |||||
* | Fix typo in include/clc/geometric/length.inc | Tom Stellard | 2013-06-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 184984 | |||||
* | r600: Add overrides file | Tom Stellard | 2013-06-26 | 1 | -0/+2 | |
| | | | | llvm-svn: 184983 | |||||
* | Allow targets to override generic implementations | Tom Stellard | 2013-06-26 | 1 | -0/+8 | |
| | | | | | | | | | | | | Targets can override generic implementations by adding a file called OVERRIDES in $(TARGET_DIR)/lib and listing the generic implementations that it wants to override. For example, to override get_group_id() and get_global_size() you would add these lines to the OVERRIDES file: workitem/get_group_id.cl workitem/get_global_size.cl llvm-svn: 184982 | |||||
* | Make libclc more Linux FHS conform. | Tom Stellard | 2013-06-26 | 1 | -14/+51 | |
| | | | | | | | | | | | | | | | - First introducing a versioning scheme - Add --libexecdir, --includedir and --pkgconfigdir and prefill them as well as --prefix - Build all targets by default - Create clc.pc and install it in $pkgconfigdir - Use clang++ instead of c++ - Rename builtins.bc to built_libs/$triple.bc and install them in $libexecdir - Includes are installed recursively to $includedir - Finally add $(DESTDIR) for 'make install' Patch by: Johannes Obermayr llvm-svn: 184981 | |||||
* | R600: Replace cl implementations with LLVM IR implementation | Tom Stellard | 2013-06-26 | 7 | -22/+76 | |
| | | | | | | This allows libclc to be built for R600 with upstream clang and LLVM. llvm-svn: 184980 | |||||
* | 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 | 9 | -18/+2 | |
| | | | | llvm-svn: 184978 | |||||
* | r600: Add get_global_size() implementation | Tom Stellard | 2013-06-26 | 3 | -3/+12 | |
| | | | | llvm-svn: 184977 | |||||
* | r600: Fix get_global_id implementation | Tom Stellard | 2013-06-26 | 1 | -3/+3 | |
| | | | | llvm-svn: 184976 | |||||
* | r600: Initial support | Tom Stellard | 2013-06-26 | 10 | -1/+30 | |
| | | | | | | | This includes a get_global_id() implementation and function stubs for the other workitem and synchronization functions. llvm-svn: 184975 | |||||
* | Update the copyright coredits -- Happy new year 2013! | NAKAMURA Takumi | 2013-01-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 171342 | |||||
* | Fix build against recent versions of Clang. Based on patch by Alastair ↵ | Peter Collingbourne | 2012-12-05 | 2 | -3/+4 | |
| | | | | | | Donaldson! llvm-svn: 169362 | |||||
* | Implement any() builtin. Patch by Tom Stellard! | Peter Collingbourne | 2012-10-08 | 4 | -0/+48 | |
| | | | | llvm-svn: 165386 | |||||
* | Add native_powr builtin. Patch by Tom Stellard! | Peter Collingbourne | 2012-10-08 | 2 | -0/+2 | |
| | | | | llvm-svn: 165385 | |||||
* | Add barrier.cl to SOURCES, spotted by Jin Wang. | Peter Collingbourne | 2012-09-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 163227 | |||||
* | Add rsqrt builtin. Based on patch by Cassie Epps! | Peter Collingbourne | 2012-08-21 | 3 | -0/+8 | |
| | | | | llvm-svn: 162274 | |||||
* | Add floor builtin. Patch by Cassie Epps! | Peter Collingbourne | 2012-08-21 | 2 | -0/+7 | |
| | | | | llvm-svn: 162273 | |||||
* | Do not use linkonce_odr linkage in .ll files. This prevented them | Peter Collingbourne | 2012-08-05 | 6 | -48/+48 | |
| | | | | | | 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 | 18 | -21/+38 | |
| | | | | | | | 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 | 10 | -0/+272 | |
| | | | | llvm-svn: 161312 | |||||
* | Fix declarations of __clc_add_sat_*. Patch by Lei Mou! | Peter Collingbourne | 2012-08-05 | 1 | -8/+8 | |
| | | | | llvm-svn: 161311 | |||||
* | configure.py: Add an install rule. | Peter Collingbourne | 2012-06-01 | 2 | -12/+31 | |
| | | | | llvm-svn: 157821 | |||||
* | Add pow builtin. | Peter Collingbourne | 2012-05-29 | 3 | -0/+25 | |
| | | | | llvm-svn: 157629 | |||||
* | Enable cl_khr_fp64 when building the library, and fix several bugs | Peter Collingbourne | 2012-05-29 | 6 | -2/+15 | |
| | | | | | | uncovered when doing so. llvm-svn: 157617 | |||||
* | Add missing dot.h include. | Peter Collingbourne | 2012-05-29 | 3 | -0/+24 | |
| | | | | 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 | 8 | -0/+41 | |
| | | | | llvm-svn: 157613 | |||||
* | Implement mad builtin. | Peter Collingbourne | 2012-05-29 | 7 | -0/+63 | |
| | | | | 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 | 3 | -0/+10 | |
| | | | | llvm-svn: 157595 | |||||
* | Add some tests which had heretofore evaded 'git add'. | Peter Collingbourne | 2012-05-28 | 2 | -0/+6 | |
| | | | | llvm-svn: 157591 | |||||
* | Explicit conversions. | Peter Collingbourne | 2012-05-28 | 5 | -0/+211 | |
| | | | | llvm-svn: 157590 | |||||
* | Switch to the NVPTX backend. | Peter Collingbourne | 2012-05-28 | 2 | -3/+3 | |
| | | | | llvm-svn: 157589 | |||||
* | Switch to BSD/MIT dual license. | Peter Collingbourne | 2012-02-22 | 2 | -2/+37 | |
| | | | | llvm-svn: 151129 | |||||
* | Test web page update. | Peter Collingbourne | 2012-02-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 150946 | |||||
* | Update repository paths. | Peter Collingbourne | 2012-01-08 | 1 | -1/+3 | |
| | | | | llvm-svn: 147757 | |||||
* | Initial commit. | Peter Collingbourne | 2012-01-08 | 68 | -0/+1680 | |
llvm-svn: 147756 |