From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id B7819385841D for ; Tue, 2 Apr 2024 12:02:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B7819385841D Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B7819385841D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=89.208.246.23 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712059403; cv=none; b=pAzBpkacQomeyHQZMFViHH5wnEgG0xldXQLoWiLiN3DdszjZMOBu1t5MqI6HtIHwvrs9GJMeo8gB5GglDnuD78/MP3iQegbmlccEj7rLGJO90AsgAbGIemCx7JooPirePdE3yGbYKErwpgJvT39I5GTQn9aRy6eOveNiax0iNx4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712059403; c=relaxed/simple; bh=pkGAB3YUK0xJKU8i+usbxs14bqg6JmzdQ/xiAOqH7cE=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=aF+DWh5P3hGm2H7UPQQHxtJefOXNroML7s2+paoLlKtC7+d/X3K2Alf2eNA4jIcvJUBzPqLZ1HD19XPcbu81Xwr6xnu8MLnVC7ZRrfI0Spc00Mu8521ZLyHa08SbLBMlQq5fLB9SY7Cg5N4/IPDJJU0icyJ/PpHOjVa/FGf/InI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1712059377; bh=pkGAB3YUK0xJKU8i+usbxs14bqg6JmzdQ/xiAOqH7cE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=Ec/3J79ir0qdfZxRSNcCSn5jkioyTHKU/fxUlcGsxptadS0j9uGvVbjWtGFMFrhNW X5p7RdYyHxR7c3d0g5drVzDRO9Kgy2FI1OIzz0A00dtxBfMo8oxNc+GSYZJ3hGmKaf +wyKRpyAEB8U8jFW7BXsXCuAp3kGKD8KIi4KUOU8= Received: from [127.0.0.1] (unknown [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 9173466F3E; Tue, 2 Apr 2024 08:02:56 -0400 (EDT) Message-ID: <5e713d506244070b9ba6e8bd0cd4dc32648bb6ce.camel@xry111.site> Subject: Re: [PATCH] LoongArch: Add soft floating-point fe* function implementations. From: Xi Ruoyao To: Florian Weimer Cc: caiyinyu , josmyers@redhat.com, libc-alpha@sourceware.org, adhemerval.zanella@linaro.org Date: Tue, 02 Apr 2024 20:02:53 +0800 In-Reply-To: <87y19wxa2a.fsf@oldenburg3.str.redhat.com> References: <20240331101400.474159-1-caiyinyu@loongson.cn> <87le5x1ar2.fsf@oldenburg3.str.redhat.com> <393612ff-b4fa-6047-d203-5b23bd96d29a@loongson.cn> <98f2d5adc158e05a3fa487a8a3a3899734b97a45.camel@xry111.site> <87y19wxa2a.fsf@oldenburg3.str.redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 2024-04-02 at 13:45 +0200, Florian Weimer wrote: > > Or maybe we can provide both feenableexcept@GLIBC_2_37 and > > feenableexcept@GLIBC_2_40 in libm.so.6?=C2=A0 I don't know if doing so = is > > really possible. >=20 > Yes, it's possible to add a compat symbol for that and keep the > do-nothing behavior for old applications. >=20 > Wouldn't the issue manifest on other architectures with a working > (non-stub) feenableexcept implementation? Has there been another port where the fe* implementation was changed from stub to real? Then I'd say just do what that port did. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University