[libc-commits] [libc] [libc][math][c23] add entry points and tests for fsqrt (PR #99669)

via libc-commits libc-commits at lists.llvm.org
Fri Jul 19 12:10:21 PDT 2024


================
@@ -4189,6 +4189,45 @@ add_entrypoint_object(
     -O3
 )
 
+add_entrypoint_object(
+  fsqrt
+  SRCS
+    fsqrt.cpp
+  HDRS
+    ../fsqrt.h
+  DEPENDS
+    libc.src.__support.macros.properties.types
+    libc.src.__support.FPUtil.generic.sqrt
+  COMPILE_OPTIONS
+    -O3
+)
+
+add_entrypoint_object(
+  fsqrtl
+  SRCS
+    fsqrtl.cpp
+  HDRS
+    ../fsqrtl.h
+  DEPENDS
+    libc.src.__support.macros.properties.types
----------------
lntue wrote:

`libc.src.__support.macros.properties.types` dependency is not needed

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


More information about the libc-commits mailing list