[libc-commits] [libc] [libc][math][c23] Add fadd{l, f128} C23 math functions (PR #102531)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 8 16:24:03 PDT 2024


================
@@ -592,8 +592,33 @@ add_entrypoint_object(
     fadd.cpp
   HDRS
     ../fadd.h
+  DEPENDS
+    libc.src.__support.FPUtil.generic.add_sub
+  COMPILE_OPTIONS
+    -O3
+)
+
+add_entrypoint_object(
+  faddl
+  SRCS
+    faddl.cpp
+  HDRS
+    ../faddl.h
+  DEPENDS
+    libc.src.__support.FPUtil.generic.add_sub
+  COMPILE_OPTIONS
+    -O3
+)
+
+add_entrypoint_object(
+  faddf128
+  SRCS
+    faddf128.cpp
+  HDRS
+    ../faddf128.h
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
+    libc.src.__support.macros.properties.types
----------------
overmighty wrote:

```suggestion
  DEPENDS
    libc.src.__support.FPUtil.generic.add_sub
    libc.src.__support.macros.properties.types
```

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


More information about the libc-commits mailing list