|
Message-ID: <20230525172255.56936d70@inria.fr>
Date: Thu, 25 May 2023 17:22:55 +0200
From: Jₑₙₛ Gustedt <jens.gustedt@...ia.fr>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: [C23 new stdlib 2/4] C23: add the memalignment function
on Thu, 25 May 2023 10:34:15 -0400 you (Rich Felker <dalias@...c.org>)
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 ::
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.