From e62f5fa64d051e8431e3ffb9d78c074ea80ad91e Mon Sep 17 00:00:00 2001 From: Aaron Watry Date: Wed, 13 Sep 2017 01:40:25 +0000 Subject: Add native_recip(x) as ((1)/(x)) Signed-off-by: Aaron Watry Acked-by: Jan Vesely llvm-svn: 313107 --- libclc/generic/include/clc/math/native_recip.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 libclc/generic/include/clc/math/native_recip.h (limited to 'libclc/generic/include/clc/math/native_recip.h') diff --git a/libclc/generic/include/clc/math/native_recip.h b/libclc/generic/include/clc/math/native_recip.h new file mode 100644 index 00000000000..51876614a92 --- /dev/null +++ b/libclc/generic/include/clc/math/native_recip.h @@ -0,0 +1 @@ +#define native_recip(x) ((1) / (x)) -- cgit v1.2.3