[libc-commits] [libc] [libc][stdfix] Implement fixed point fxbits functions in llvm-libc (PR #114912)

William Tran-Viet via libc-commits libc-commits at lists.llvm.org
Fri Nov 8 16:12:27 PST 2024


================
@@ -37,9 +37,22 @@ foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
       round${suffix}.h
     SRCS
       round${suffix}.cpp
+    DEPENDS
+      libc.src.__support.fixed_point.fx_bits
+  )
+endforeach()
+
+foreach(prefix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
+  add_entrypoint_object(
+    ${prefix}bits
+    HDRS
+      ${prefix}bits.h
+    SRCS
+      ${prefix}bits.cpp
     COMPILE_OPTIONS
       -O3
----------------
smallp-o-p wrote:

Whoops, that's an oversight on my part. I'll amend that.

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


More information about the libc-commits mailing list