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

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed Nov 6 15:49:58 PST 2024


================
@@ -44,6 +44,21 @@ foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
   )
 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
----------------
michaelrj-google wrote:

```suggestion
```
This compile option is unnecessary here.

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


More information about the libc-commits mailing list