summaryrefslogtreecommitdiffstats
path: root/libclc
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement ceil() builtinTom Stellard2013-06-262-0/+7
| | | | llvm-svn: 184988
* Implement fmax() and fmin() builtinsTom Stellard2013-06-269-0/+76
| | | | 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
* 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
* Fix typo in include/clc/geometric/length.incTom Stellard2013-06-261-1/+1
| | | | llvm-svn: 184984
* r600: Add overrides fileTom Stellard2013-06-261-0/+2
| | | | llvm-svn: 184983
* Allow targets to override generic implementationsTom Stellard2013-06-261-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 Stellard2013-06-261-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 implementationTom Stellard2013-06-267-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 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-269-18/+2
| | | | llvm-svn: 184978
* r600: Add get_global_size() implementationTom Stellard2013-06-263-3/+12
| | | | llvm-svn: 184977
* r600: Fix get_global_id implementationTom Stellard2013-06-261-3/+3
| | | | llvm-svn: 184976
* r600: Initial supportTom Stellard2013-06-2610-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 Takumi2013-01-011-2/+2
| | | | llvm-svn: 171342
* Fix build against recent versions of Clang. Based on patch by Alastair ↵Peter Collingbourne2012-12-052-3/+4
| | | | | | Donaldson! llvm-svn: 169362
* Implement any() builtin. Patch by Tom Stellard!Peter Collingbourne2012-10-084-0/+48
| | | | llvm-svn: 165386
* Add native_powr builtin. Patch by Tom Stellard!Peter Collingbourne2012-10-082-0/+2
| | | | llvm-svn: 165385
* Add barrier.cl to SOURCES, spotted by Jin Wang.Peter Collingbourne2012-09-051-0/+1
| | | | llvm-svn: 163227
* Add rsqrt builtin. Based on patch by Cassie Epps!Peter Collingbourne2012-08-213-0/+8
| | | | llvm-svn: 162274
* Add floor builtin. Patch by Cassie Epps!Peter Collingbourne2012-08-212-0/+7
| | | | llvm-svn: 162273
* Do not use linkonce_odr linkage in .ll files. This prevented themPeter Collingbourne2012-08-056-48/+48
| | | | | | from being linked into the library under lazy linkage. llvm-svn: 161314
* PTX: move implementations of work-item and synchronisation functionsPeter Collingbourne2012-08-0518-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 Collingbourne2012-08-0510-0/+272
| | | | llvm-svn: 161312
* Fix declarations of __clc_add_sat_*. Patch by Lei Mou!Peter Collingbourne2012-08-051-8/+8
| | | | llvm-svn: 161311
* configure.py: Add an install rule.Peter Collingbourne2012-06-012-12/+31
| | | | llvm-svn: 157821
* Add pow builtin.Peter Collingbourne2012-05-293-0/+25
| | | | llvm-svn: 157629
* Enable cl_khr_fp64 when building the library, and fix several bugsPeter Collingbourne2012-05-296-2/+15
| | | | | | uncovered when doing so. llvm-svn: 157617
* Add missing dot.h include.Peter Collingbourne2012-05-293-0/+24
| | | | llvm-svn: 157615
* Define FLOAT in floatn.inc.Peter Collingbourne2012-05-291-0/+10
| | | | llvm-svn: 157614
* Add fma, hypot builtins.Peter Collingbourne2012-05-298-0/+41
| | | | llvm-svn: 157613
* Implement mad builtin.Peter Collingbourne2012-05-297-0/+63
| | | | 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-283-0/+10
| | | | llvm-svn: 157595
* Add some tests which had heretofore evaded 'git add'.Peter Collingbourne2012-05-282-0/+6
| | | | llvm-svn: 157591
* Explicit conversions.Peter Collingbourne2012-05-285-0/+211
| | | | llvm-svn: 157590
* Switch to the NVPTX backend.Peter Collingbourne2012-05-282-3/+3
| | | | llvm-svn: 157589
* Switch to BSD/MIT dual license.Peter Collingbourne2012-02-222-2/+37
| | | | llvm-svn: 151129
* Test web page update.Peter Collingbourne2012-02-201-2/+2
| | | | llvm-svn: 150946
* Update repository paths.Peter Collingbourne2012-01-081-1/+3
| | | | llvm-svn: 147757
* Initial commit.Peter Collingbourne2012-01-0868-0/+1680
llvm-svn: 147756
OpenPOWER on IntegriCloud