Skip to content

Commit 9df2b97

Browse files
committed
math: Add native_rsqrt builtin function
Trivial define to rsqrt. Patch by Vedran Miletić <vedran@miletic.net> llvm-svn: 294608
1 parent b7418d3 commit 9df2b97

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libclc/generic/include/clc/clc.h

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
#include <clc/math/native_powr.h>
103103
#include <clc/math/native_sin.h>
104104
#include <clc/math/native_sqrt.h>
105+
#include <clc/math/native_rsqrt.h>
105106
#include <clc/math/rsqrt.h>
106107

107108
/* 6.11.2.1 Floating-point macros */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#define native_rsqrt rsqrt

0 commit comments

Comments
 (0)