llvm-project/libclc/r600/lib/math/native_rsqrt.cl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
242 B
Common Lisp
Raw Normal View History

#include <clc/clc.h>
#include "../../../generic/lib/clcmacro.h"
_CLC_OVERLOAD _CLC_DEF float native_rsqrt(float x)
{
return __builtin_r600_recipsqrt_ieeef(x);
}
_CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, native_rsqrt, float);