[libc-commits] [libc] [libc][stdfix] Implement `countlsfx` functions (PR #114318)

via libc-commits libc-commits at lists.llvm.org
Fri Nov 1 12:00:25 PDT 2024


================
@@ -2,6 +2,20 @@ if(NOT LIBC_COMPILER_HAS_FIXED_POINT)
   return()
 endif()
 
+foreach(suffix IN ITEMS hr r lr hk k lk uhr ur ulr uhk uk ulk)
----------------
lntue wrote:

nit: you can let `countls` targets to share the loop with `round`

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


More information about the libc-commits mailing list