diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-02-09 18:39:26 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-02-09 18:39:26 +0000 |
| commit | 9df2b9781c1f963b692defb884cb4fd4e9352c41 (patch) | |
| tree | 1b494aec1a82e0482632463a6ff7ed4e52113a78 /libclc | |
| parent | b7418d3b4a7d81443511624b0a664245821b4f15 (diff) | |
| download | bcm5719-llvm-9df2b9781c1f963b692defb884cb4fd4e9352c41.tar.gz bcm5719-llvm-9df2b9781c1f963b692defb884cb4fd4e9352c41.zip | |
math: Add native_rsqrt builtin function
Trivial define to rsqrt.
Patch by Vedran Miletić <vedran@miletic.net>
llvm-svn: 294608
Diffstat (limited to 'libclc')
| -rw-r--r-- | libclc/generic/include/clc/clc.h | 1 | ||||
| -rw-r--r-- | libclc/generic/include/clc/math/native_rsqrt.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/clc.h b/libclc/generic/include/clc/clc.h index 024bf273184..e2f0f4f3b52 100644 --- a/libclc/generic/include/clc/clc.h +++ b/libclc/generic/include/clc/clc.h @@ -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 */ diff --git a/libclc/generic/include/clc/math/native_rsqrt.h b/libclc/generic/include/clc/math/native_rsqrt.h new file mode 100644 index 00000000000..eabc425984a --- /dev/null +++ b/libclc/generic/include/clc/math/native_rsqrt.h @@ -0,0 +1 @@ +#define native_rsqrt rsqrt |

