From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BEB8B3858D39; Mon, 1 May 2023 18:06:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BEB8B3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682964386; bh=WLJUaMx61kcIWurrS9jN3vO4doQIZoE3J1yivWh7Urg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=k0K2wrXogPlidt8+9ZaFFFhLQu7fKNoaNHJJDHGfA7SqC+4UYIoqsJLkaIk2KQj58 k3wPoClQPeti7xrMVWkviUUilbOxBTtNIsHjnwlHucJu706Bh1yxEtfzytUsqO2zLM hLKU1hJiEFbEF658e9OvBjeVYLsVFrBF2mtkK8CY= From: "vital.had at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/59666] IBM long double arithmetic results invalid in non-default rounding modes Date: Mon, 01 May 2023 18:06:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vital.had at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59666 Sergey Fedorov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vital.had at gmail dot com --- Comment #8 from Sergey Fedorov --- (In reply to Vincent Lef=C3=A8vre from comment #1) > (In reply to Joseph S. Myers from comment #0) > It seems to be like that "by design" (though this is not satisfactory) and > part of the ppc64 ABI for instance: >=20 > http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#PREC >=20 > "The software support is restricted to round-to-nearest mode. Programs th= at > use extended precision must ensure that this rounding mode is in effect w= hen > extended-precision calculations are performed." Also true for AIX: https://www.ibm.com/docs/sr/xcafbg/9.0.0?topic=3DSS3KZ4_9.0.0/com.ibm.xlf11= 1.bg.doc/xlfopg/fp-overview.html Does anyone know whether this is also true for Darwin on PowerPC though?=