on Thu, 25 May 2023 10:34:15 -0400 you (Rich Felker ) wrote: > It looks like the primitives we have cover everything needed for > stdbit.h functions except popcnt. yes > Not sure what the best way to add that is. Perhaps with a new > a_popcnt that archs can override. This would also allow configure to > probe for a builtin and select use of that if desired. It looks like > that generates a call to libgcc on archs with no native version. ok, there seems to be a relatively easy approach on the bithacks site for that. In any case, this can wait a bit, since there are still some questions about this header that will be decided by WG14 in the June session. Namely there are some redundancies (and even repetition) in the interfaces, so we will see which of them survives. Jₑₙₛ -- :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Université de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::