[libc-commits] [libc] [libc][math] Adds entrypoint and test for `nextafterf128` (PR #84882)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 12 05:27:18 PDT 2024


================
@@ -1816,6 +1816,19 @@ add_entrypoint_object(
     -O2
 )
 
+add_entrypoint_object(
+  nextafterf128
+  SRCS
+    nextafterf128.cpp
+  HDRS
+    ../nextafterf128.h
+  DEPENDS
+    libc.src.__support.macros.properties.types
+    libc.src.__support.FPUtil.manipulation_functions
+  COMPILE_OPTIONS
+    -O2
----------------
lntue wrote:

You can make all the `nextafter` functions `-O3`.  We were a bit conservative with the optimization level at the beginning.

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


More information about the libc-commits mailing list