From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 59B8D3858C5E; Tue, 14 Mar 2023 20:10:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59B8D3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678824606; bh=9+drqf0BfjmwgPp/qwNNg8ZBU33VgOiqy+73e8oanBo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DzNU/8eNosPfMytqjrPU1P9B+EpLCwXUIqRLUHDeSkiKJtCRAqPXRc5mdOXzvB7LH p3RzlpI5bmAOGb9uSvd61NDWaJrOOkzT+XmmwkbGQhby0Psagtu/ZejG31qLRd70JZ xFJTPBjbcQEWyiMsyk7uqngO29+LYWPpq1sP2S1k= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109132] Apple M1 floating point bug when optimizing Date: Tue, 14 Mar 2023 20:10:06 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: resolution bug_status 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=3D109132 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski --- ubuntu@ubuntu:~\# ~/upstream-gcc/bin/gcc t.c -O2 -ffp-contract=3Doff ubuntu@ubuntu:~\# ./a.out 0x1.2eab1ep-2 0x0p+0 ubuntu@ubuntu:~\# ~/upstream-gcc/bin/gcc t.c -O2 ubuntu@ubuntu:~\# ./a.out 0x1.2eab1ep-2 0x1.1b990cp-29 NOT a bug. the use of FMA increases precission here ...=