[libc-commits] [libc] [llvm] [libc][math] Refactor `bf16fmaf128` to header-only (PR #182009)

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Thu Feb 19 13:57:50 PST 2026


================
@@ -2695,13 +2695,25 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_bf16fmaf128",
+    hdrs = ["src/__support/math/bf16fmaf128.h"],
+    deps = [
+        ":__support_fputil_bfloat16",
+        ":__support_fputil_fma",
+        ":__support_macros_config",
+        ":llvm_libc_types_float128",
+    ],
+)
+
 libc_support_library(
     name = "__support_math_bf16fmal",
     hdrs = ["src/__support/math/bf16fmal.h"],
     deps = [
         ":__support_fputil_bfloat16",
         ":__support_fputil_fma",
         ":__support_macros_config",
+        ":llvm_libc_types_float128",
----------------
bassiounix wrote:

```suggestion
```

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


More information about the libc-commits mailing list