[libc-commits] [libc] [libc][stdfix] Implement `countlsfx` functions (PR #114318)
via libc-commits
libc-commits at lists.llvm.org
Thu Nov 7 08:30:21 PST 2024
================
@@ -42,6 +42,34 @@ foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
DEPENDS
libc.src.__support.fixed_point.fx_bits
)
+
+ add_entrypoint_object(
+ countls${suffix}
+ HDRS
+ countls${suffix}.h
+ SRCS
+ countls${suffix}.cpp
+ COMPILE_OPTIONS
+ -O3
+ DEPENDS
+ libc.src.__support.fixed_point.fx_bits
+ )
+
+ if(LIBC_COMPILER_HAS_PADDING_ON_UNSIGNED_FIXED_POINT)
----------------
lntue wrote:
Why do we need these extra entry points built with this flag? Are they supposed to be on or off by default?
If it's only for testing with and without the `-Xclang=-fpadding-on-unsigned-fixed-point`, then using `FLAGS` in the main entry points is more apt.
https://github.com/llvm/llvm-project/pull/114318
More information about the libc-commits
mailing list