diff options
Diffstat (limited to 'libclc/generic/include/clc/math/log2.h')
-rw-r--r-- | libclc/generic/include/clc/math/log2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/math/log2.h b/libclc/generic/include/clc/math/log2.h new file mode 100644 index 00000000000..d8a88422cff --- /dev/null +++ b/libclc/generic/include/clc/math/log2.h @@ -0,0 +1,6 @@ +#undef log2 +#define log2 __clc_log2 + +#define FUNCTION __clc_log2 +#define INTRINSIC "llvm.log2" +#include <clc/math/unary_intrin.inc> |