Author: arsenm Date: Thu Feb 9 12:39:26 2017 New Revision: 294608 URL: http://llvm.org/viewvc/llvm-project?rev=294608&view=rev Log: math: Add native_rsqrt builtin function
Trivial define to rsqrt. Patch by Vedran Miletić <ved...@miletic.net> Added: libclc/trunk/generic/include/clc/math/native_rsqrt.h Modified: libclc/trunk/generic/include/clc/clc.h Modified: libclc/trunk/generic/include/clc/clc.h URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/clc.h?rev=294608&r1=294607&r2=294608&view=diff ============================================================================== --- libclc/trunk/generic/include/clc/clc.h (original) +++ libclc/trunk/generic/include/clc/clc.h Thu Feb 9 12:39:26 2017 @@ -102,6 +102,7 @@ #include <clc/math/native_powr.h> #include <clc/math/native_sin.h> #include <clc/math/native_sqrt.h> +#include <clc/math/native_rsqrt.h> #include <clc/math/rsqrt.h> /* 6.11.2.1 Floating-point macros */ Added: libclc/trunk/generic/include/clc/math/native_rsqrt.h URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/math/native_rsqrt.h?rev=294608&view=auto ============================================================================== --- libclc/trunk/generic/include/clc/math/native_rsqrt.h (added) +++ libclc/trunk/generic/include/clc/math/native_rsqrt.h Thu Feb 9 12:39:26 2017 @@ -0,0 +1 @@ +#define native_rsqrt rsqrt _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits