summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/relational/bitselect.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix bitselect for float/double types v2Tom Stellard2015-03-051-1/+28
| | | | | | | | | | | | | | We need to reinterpret float/double types as uint/ulong in order to perform the bitwise operations. This has been tested with piglit, OpenCV, and the ocl conformance tests. v2: - Use vector operations rather than splitting vectors into scalar components. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 231373
* Add bitselect() builtinTom Stellard2013-07-081-0/+1
Reviewed-By: Aaron Watry <awatry@gmail.com> llvm-svn: 185836
OpenPOWER on IntegriCloud