From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C00BB3858CDA; Sun, 26 Feb 2023 11:16:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C00BB3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677410198; bh=Q1FaQ/wzbkpu2xN9i0NwyGg2jfsfoEYY//imHyBvA5w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RmmTfXHC1wx9KIdavb17l85q68WQ8lC5UA/prsvUsR7IZkMG2n2vKNrYd6su0REqD hlw+0WbSpHqZGHX0vjOQY7MR2vSIxcvn/ZOSySMXhSekxFgvCqM05iBKp6CKa8sJxU AMhdFxOro9xM51N40DKFA6JO/uyp+K+ElYLKokS0= From: "jkratochvil at azul dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108922] fmod() 13x slowdown in gcc4.9 dropping "fprem" and calling fmod() Date: Sun, 26 Feb 2023 11:16:38 +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.1 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jkratochvil at azul dot com X-Bugzilla-Status: WAITING 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: 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=3D108922 --- Comment #10 from Jan Kratochvil --- (In reply to Alexander Monakov from comment #9) > You just need to pass -fno-math-errno (the call is for setting errno, > similar to how gcc emits the sqrt() sequence). True, thanks. So I think the patch should be reverted, right? I expect the revert should = have a testcase nowadays.=