From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15872 invoked from network); 25 May 2023 15:23:11 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 25 May 2023 15:23:11 -0000 Received: (qmail 11866 invoked by uid 550); 25 May 2023 15:23:08 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 11831 invoked from network); 25 May 2023 15:23:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version; bh=vja39vJbHgQAvv5MUZ2LO18JL3oGUI5bIEI+uTrXMZ8=; b=lvurZXiGqDxMtSZnIxFjV5rHu5ZJrvB1AaqUtYQ0YjOhBRyHfJTN6byZ 1i/wr5TVgLQyIq8hwoYnzjWfIamSBa6DuMqGugssWv/dqiCeWbm3HiCoZ M+6Jy9n58vfQ5iBZLIEjMGx1jYFGk+MrL/RJC0T00QZS4CVfLmsqtvp1k Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=jens.gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,191,1681164000"; d="scan'208";a="109709561" Date: Thu, 25 May 2023 17:22:55 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: Rich Felker Cc: musl@lists.openwall.com Message-ID: <20230525172255.56936d70@inria.fr> In-Reply-To: <20230525143415.GJ4163@brightrain.aerifal.cx> References: <1fe28ea2525f112264a1a819d8ce50a97504ab8b.1684932892.git.Jens.Gustedt@inria.fr> <20230524212835.GC4163@brightrain.aerifal.cx> <20230525111653.4b0175d3@inria.fr> <20230525130723.GH4163@brightrain.aerifal.cx> <20230525160501.787872b2@inria.fr> <20230525143415.GJ4163@brightrain.aerifal.cx> Organization: inria.fr X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) X-Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAACRQTFRFERslNjAsLTE9Ok9wUk9TaUs8iWhSrYZkj42Rz6aD3sGZ MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/x.w0xk_nik/yBqPDCidZ+fv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] [C23 new stdlib 2/4] C23: add the memalignment function --Sig_/x.w0xk_nik/yBqPDCidZ+fv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=E2=82=91=E2=82=99=E2=82=9B --=20 :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Universit=C3=A9 de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: =E2=98=8E +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt :: --Sig_/x.w0xk_nik/yBqPDCidZ+fv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZG99TwAKCRAP0+hp2tU3 4nu1AJ4mUoV9JPY69UuCGAn/gyFcus1fsgCePNj1SXXDXQ2jmQhrE8WHA3hmepM= =WLfv -----END PGP SIGNATURE----- --Sig_/x.w0xk_nik/yBqPDCidZ+fv--