From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by sourceware.org (Postfix) with ESMTPS id 9F5FD39878C2 for ; Wed, 30 Sep 2020 13:17:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9F5FD39878C2 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=lukma@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4C1cHj4fNCz1rynm; Wed, 30 Sep 2020 15:17:37 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4C1cHj2yMfz1sM8t; Wed, 30 Sep 2020 15:17:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id EWbUB3fYD-os; Wed, 30 Sep 2020 15:17:34 +0200 (CEST) X-Auth-Info: eSQpMeiJESl6mgubZ6vklGLZ56/nPcxd/zcnizSzmio= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 30 Sep 2020 15:17:34 +0200 (CEST) Date: Wed, 30 Sep 2020 15:17:33 +0200 From: Lukasz Majewski To: Andreas Schwab Cc: Adhemerval Zanella , Joseph Myers , Paul Eggert , Alistair Francis , Arnd Bergmann , Alistair Francis , GNU C Library , Florian Weimer , Carlos O'Donell , Stepan Golosunov , Zack Weinberg , Jeff Law Subject: Re: [PATCH v2 2/3] Y2038: nptl: Provide futex_abstimed_wait64 supporting 64 bit time Message-ID: <20200930151733.48517113@jawa> In-Reply-To: References: <20200919130759.31916-1-lukma@denx.de> <20200919130759.31916-2-lukma@denx.de> <20200930144710.662d9d99@jawa> Organization: denx.de X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/3=kTjv14SafikXSVcsiDsZN"; protocol="application/pgp-signature" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2020 13:17:42 -0000 --Sig_/3=kTjv14SafikXSVcsiDsZN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Andreas, > On Sep 30 2020, Lukasz Majewski wrote: >=20 > > Unfortunately, yes. The m68k architecture has the issue with > > properly compiling this code (in futex-internal.c) as it has very > > limited number of registers (8 x 32 bit IIRC). =20 >=20 > The m68k has 16 registers, which is plenty (x86 has only 8). This is what I got from wiki (and no I'm not the expert with m68k, so corrections are welcome): https://en.wikipedia.org/wiki/Motorola_68000_series (8 x 32 bit data registers) And I cannot say why it is not able to generate the correct code... The proposed flag (-fno-inline) seems to be the most pragmatic solution (the code in question is in futex-interna.c and the flag only affects this port). >=20 > Andreas. >=20 Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/3=kTjv14SafikXSVcsiDsZN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAl90hW0ACgkQAR8vZIA0 zr0Lpgf/T1NzY6LLqns3JUtaAQG5IAFdK8nHvtxwvsaX4nKpxkK1Okn3PFP0lABe eU0yiduco9vA0w8aGbutF4AE1f9iHQS9WA0nbhE5uUc1dtVE6ctghuAzGN0FPapo aSFl9flo+KSFlIxo3qiqoIux7gqB2ilU95eKsadEs4A69P4sSgDCO0pUYm+dLmT5 Gh46+lyNcz38EQ3Cu8bAx2FiIMRulWR7dXxyZMGHKQI7BKveXckCKrWK6JK38A2C McI18xnP53Ifub8QzlATbCbe0WJLQ5TjmyTdLw+tiDkdSUE0si2m4WSkbz2hXmbS Nqk9JCsKQaLsnzER26THRtkizC67gw== =l0Gu -----END PGP SIGNATURE----- --Sig_/3=kTjv14SafikXSVcsiDsZN--