================ @@ -1153,6 +1153,38 @@ double3 rcp(double3); _HLSL_BUILTIN_ALIAS(__builtin_hlsl_elementwise_rcp) double4 rcp(double4); +//===----------------------------------------------------------------------===// +// rsqrt builtins +//===----------------------------------------------------------------------===// + +/// \fn T rsqrt(T x) +/// \brief RReturns the reciprocal of the square root of the specified value \a ---------------- damyanp wrote:
Comparing this with the doc for rcp above, wonder if it should be more like: `Returns the reciprocal of the square root of the specified value. ie 1 / sqrt(\a x).` https://github.com/llvm/llvm-project/pull/84820 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits