[libc-commits] [libc] [libc][stdfix] Implement `countlsfx` functions (PR #114318)
via libc-commits
libc-commits at lists.llvm.org
Thu Nov 7 09:55:38 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)
----------------
PiJoules wrote:
Yeah this flag should just be used for tests. This flag isn't on by default in clang but if users want it then they can add it when building llvm-libc from source.
https://github.com/llvm/llvm-project/pull/114318
More information about the libc-commits
mailing list