From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B62BB38930D8; Mon, 11 May 2020 19:49:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B62BB38930D8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589226560; bh=kmOpZhT0f4UnzkBZHMo7RDuPMG6z596YgNnWyo7O6uU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TrJLADzt6VJ54wHgKZomu1hryZvJikUlokaEuWx08yxRqZ5/pU6MSUNtS5Oj7nrat brIuj10GizEIVFCcpKhFfjCBxwqPPdTfROZjT+nXb3HWGv1JiWAlFGN131kcaXCZcn PJ70cMujfz7JnjjPGb4YuiqY+8s13Av19NJoc7Cs= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/95060] vfnmsub132ps is not generated with -ffast-math Date: Mon, 11 May 2020 19:49:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 19:49:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95060 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- I see the needed simplifiers in match.pd: (simplify (negate (fmas@3 @0 @1 @2)) (if (single_use (@3)) (IFN_FNMS @0 @1 @2)))) but perhaps the problem is that there is no forwprop after widening_mul that would perform that optimization? So, shall widening_mul itself if it matches some FMA check if the result of IFN_{FMA,FMS,FNMA,FNMS} it created isn't negation and if yes, try to gimple_fold it?=