llvm-project/libclc/generic/include/clc/relational
Tom Stellard adfd96f742 Fix bitselect for float/double types v2
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
2015-03-05 15:31:05 +00:00
..
all.h Add missing undefs 2014-06-18 19:37:34 +00:00
any.h
binary_decl.inc relational: create re-usable macros for relational declarations 2014-07-17 22:05:16 +00:00
bitselect.h Fix bitselect for float/double types v2 2015-03-05 15:31:05 +00:00
bitselect.inc Fix bitselect for float/double types v2 2015-03-05 15:31:05 +00:00
floatn.inc relational: create re-usable macros for relational declarations 2014-07-17 22:05:16 +00:00
isequal.h Add missing undefs 2014-06-18 19:37:34 +00:00
isfinite.h add isfinite builtin 2014-09-05 13:59:06 +00:00
isgreater.h relational: Implement isgreater 2014-07-17 22:07:19 +00:00
isgreaterequal.h relational: Implement isgreaterequal 2014-07-17 22:07:27 +00:00
isinf.h Implement isinf builtin 2014-09-03 15:55:40 +00:00
isless.h relational: Add isless(floatN) builtin 2014-08-01 21:50:55 +00:00
islessequal.h relational: Add islessequal(floatN) builtin 2014-08-01 21:50:59 +00:00
islessgreater.h add islessgreater builtin 2014-09-05 13:59:11 +00:00
isnan.h Implement isnan() builtin 2013-10-10 19:08:41 +00:00
isnormal.h add isnormal builtin 2014-09-05 13:59:09 +00:00
isnotequal.h relational: Implement isnotequal 2014-07-17 22:07:32 +00:00
isordered.h add isordered builtin 2014-09-05 13:59:15 +00:00
isunordered.h add isunordered builtin 2014-09-05 13:59:13 +00:00
select.h
signbit.h relational/signbit: Refactor to use relational macros 2014-07-17 22:05:25 +00:00
unary_decl.inc relational: create re-usable macros for relational declarations 2014-07-17 22:05:16 +00:00