[libc-commits] [libc] [libc][stdfix] Add integer square root with fixed point output functions. (PR #83959)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 5 16:17:57 PST 2024


================
@@ -46,3 +46,29 @@ foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
       libc.src.__support.fixed_point.fx_bits
   )
 endforeach()
+
+add_entrypoint_object(
+  uhksqrtus
+  HDRS
+    uhksqrtus.h
+  SRCS
+    uhksqrtus.cpp
+  COMPILE_OPTIONS
+    -O3
+    -ffixed-point
----------------
lntue wrote:

Removed all redundant `-ffixed-point` flags.

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


More information about the libc-commits mailing list