================
@@ -0,0 +1,4 @@
+__attribute__((weak)) _CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE
+__clc_rsqrt(__CLC_GENTYPE val) {
+  return __CLC_FP_LIT(1.0) / __clc_sqrt(val);
----------------
arsenm wrote:

For this to work as you want, probably needs to directly use the sqrt builtin 
(or really, we should enable fast contract throughout the entire library and 
disable it in the handful of locations that are not OK with it)

https://github.com/llvm/llvm-project/pull/129045
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to