[libc-commits] [libc] [libc][math][c23] Add entrypoints and tests for fsqrt{, l, f128} (PR #99669)

Job Henandez Lara via libc-commits libc-commits at lists.llvm.org
Sat Jul 20 17:19:22 PDT 2024


================
@@ -4201,6 +4201,42 @@ add_entrypoint_object(
     -O3
 )
 
+add_entrypoint_object(
+  fsqrt
+  SRCS
+    fsqrt.cpp
+  HDRS
+    ../fsqrt.h
+  DEPENDS
+    libc.src.__support.FPUtil.generic.sqrt
+  COMPILE_OPTIONS
+    -O3
+)
+
+add_entrypoint_object(
+  fsqrtl
+  SRCS
+    fsqrtl.cpp
+  HDRS
+    ../fsqrtl.h
+  DEPENDS
+    libc.src.__support.FPUtil.generic.sqrt
+  COMPILE_OPTIONS
+    -O3
+)
+
+add_entrypoint_object(
+  fsqrtf128
+  SRCS
+    fsqrtf128.cpp
+  HDRS
+    ../fsqrtf128.h
+  DEPENDS
+    libc.src.__support.FPUtil.generic.sqrt
----------------
Jobhdez wrote:

tue told me remove `libc.src.__support.macros.properties.types`

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


More information about the libc-commits mailing list