From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB85F3858C53; Mon, 10 Oct 2022 04:30:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB85F3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665376209; bh=OdCCoZCrXgwSgjksLLjKfVCzuQvRJuwbQB9kPkJbBfw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jIeo5+pSMhXjt/mqNFIf3jlahO8bnvgfL2UzoeUkWq6OxtZC6lvQpjXfLyR70UPoq k/0lZvVZ96i//o6ihYoTxwZqZm7JnzByS+D3xpYGe6OOrhGmxZNlPOxsIIWoN8FIag pm0QCdUrllDA9u/zNG4JQwMwPzUAG9e4wcBDrmCo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107090] [aarch64] sequence logic should be combined with mul and umulh Date: Mon, 10 Oct 2022 04:30:09 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: dependson 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=3D107090 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |103216 --- Comment #6 from Andrew Pinski --- (In reply to vfdff from comment #5) > Created attachment 53684 [details] > Add A ? B + CST : B match and simplify optimizations >=20 > Fix the 1st issue of the pattern match There is a generic way of implementing this which I had posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584411.html (you can finish up that patch if you want). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103216 [Bug 103216] missed optimization, phiopt/vrp?=