[libc-commits] [libc] [libc][math] Implement iscanonical[f|l] as a libc math function (PR #110565)
via libc-commits
libc-commits at lists.llvm.org
Mon Sep 30 23:58:39 PDT 2024
================
@@ -60,6 +60,61 @@ add_entrypoint_object(
libc.src.__support.FPUtil.basic_operations
)
+add_entrypoint_object(
+ iscanonical
+ SRCS
+ iscanonical.cpp
+ HDRS
+ ../iscanonical.h
+ COMPILE_OPTIONS
+ -O3
+)
+
+add_entrypoint_object(
+ iscanonicalf
+ SRCS
+ iscanonicalf.cpp
+ HDRS
+ ../iscanonicalf.h
+ COMPILE_OPTIONS
+ -O3
+)
+
+add_entrypoint_object(
+ iscanonicalf16
+ SRCS
+ iscanonicalf16.cpp
+ HDRS
+ ../iscanonicalf16.h
+ COMPILE_OPTIONS
+ -O3
+ DEPENDS
+ libc.src.__support.macros.properties.types
+)
+
+add_entrypoint_object(
+ iscanonicalf128
+ SRCS
+ iscanonicalf128.cpp
+ HDRS
+ ../iscanonicalf128.h
+ COMPILE_OPTIONS
+ -O3
+ DEPENDS
+ libc.src.__support.macros.properties.types
+)
+
+add_entrypoint_object(
+ iscanonicall
----------------
overmighty wrote:
Nit: the order is usually `<name>`, `<name>f`, `<name>l`, `<name>f16`, `<name>f128`.
https://github.com/llvm/llvm-project/pull/110565
More information about the libc-commits
mailing list