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 15471 invoked from network); 1 Jun 2023 07:24:29 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 1 Jun 2023 07:24:29 -0000 Received: (qmail 3934 invoked by uid 550); 1 Jun 2023 07:24:26 -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 3902 invoked from network); 1 Jun 2023 07:24:26 -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=7KB+Y19YuOWu/saqCXlFTy+JCTDdhYfUVscD+ezR1VA=; b=gnBrM8oyLkJDHIu8ydyWHvZRJLBXKe6m83k2miYclqEAQFZzE6VrJhXA xyaGqii6pGkGku1vNuUeglk3Xb49LVxZd3J4n0AjvV2Ih+qvsE+T8o3ZV 1IxRhFQ+wtOFEtPP+Sww/aiplImL5KPIEG+XKKfXAAAqnLfpvkrv4VM9c w=; Authentication-Results: mail3-relais-sop.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,209,1681164000"; d="scan'208";a="57523954" Date: Thu, 1 Jun 2023 09:24:13 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: Alexander Monakov Cc: musl@lists.openwall.com Message-ID: <20230601092413.6679c6a6@inria.fr> In-Reply-To: <45274206-ca94-2c12-c8e9-7e5d5991fa20@ispras.ru> References: <1c8e850ed3190af39b9e3f501d79899d438e7292.1685536608.git.Jens.Gustedt@inria.fr> <20230531142743.GB4163@brightrain.aerifal.cx> <20230531163643.2a382b4a@inria.fr> <20230531144128.GD4163@brightrain.aerifal.cx> <20230531165545.29eb823f@inria.fr> <20230531145724.GF4163@brightrain.aerifal.cx> <20230531170700.65bd9c11@inria.fr> <20230531151406.GG4163@brightrain.aerifal.cx> <20230531173718.3d7d499f@inria.fr> <20230531154043.GH4163@brightrain.aerifal.cx> <20230531175628.168043d2@inria.fr> <84a7a59e-afe9-2b63-7039-25f9638cfb0b@ispras.ru> <47E67930-DACE-4475-86F2-022A0EAA5F30@inria.fr> <45274206-ca94-2c12-c8e9-7e5d5991fa20@ispras.ru> 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_/9ESUvbh8mqbJEH8/4aj0soX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] [C23 128 bit 4/4] C23: implement proper support for int128_t and uint128_t --Sig_/9ESUvbh8mqbJEH8/4aj0soX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Alexander, on Wed, 31 May 2023 20:09:29 +0300 (MSK) you (Alexander Monakov ) wrote: > On Wed, 31 May 2023, Jens Gustedt wrote: >=20 > > So what? On the arch where it exist, it is used and useful. (And I > > also think that implementations improved over the state from 20 > > years ago that you describe.) =20 >=20 > Sorry, I'm not sure what you meant in the parenthetical statement. > Improved in what sense? In the sense that depending on your -march=3Dxxx settings they use all low level operations that are available. IIRC, bit operation support is e.g already quite good on most current x86_64, there is specialization for multiplying or dividing a 128 bit integer with/by a 64 bit integer, and when I did these patches I have seen that division by a small constant is quite good. The composition of 64 bit operations is still used as a fallback where no such native processor support is available, though. 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_/9ESUvbh8mqbJEH8/4aj0soX Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZHhHnQAKCRAP0+hp2tU3 4u77AJwIi+MiI79MwTF7w0ntQgAnCNjP3ACfZ5J9TtsKoO1c+aCq1z9w8aD8kMM= =RDxl -----END PGP SIGNATURE----- --Sig_/9ESUvbh8mqbJEH8/4aj0soX--