[libc-commits] [libc] [llvm] [libc][math] Refactor f16sqrt to Header Only (PR #177167)

Zhihui Yang via libc-commits libc-commits at lists.llvm.org
Sun Jan 25 05:55:03 PST 2026


================
@@ -3394,18 +3260,13 @@ libc_support_library(
 )
 
 libc_support_library(
-    name = "__support_math_hypotf",
-    hdrs = ["src/__support/math/hypotf.h"],
+    name = "__support_math_f16sqrt",
+    hdrs = ["src/__support/math/f16sqrt.h"],
     deps = [
         ":__support_common",
-        ":__support_fputil_double_double",
-        ":__support_fputil_fenv_impl",
-        ":__support_fputil_fp_bits",
-        ":__support_fputil_multiply_add",
-        ":__support_fputil_sqrt",
+        ":__support_fputil_generic_sqrt",
         ":__support_macros_config",
-        ":__support_macros_optimization",
-    ],
+    ]
 )
----------------
YGGkk wrote:

Done

https://github.com/llvm/llvm-project/pull/177167


More information about the libc-commits mailing list