From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 32293385841E; Sat, 29 Oct 2022 01:54:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 32293385841E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667008447; bh=CsXob8kZq0cPli3d1LpVe/eE+VihHjN25ihmCgjQCp0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hmA3x3z7OSANCPALLQo6yVnRuwSKKRBQ/WuCfRmD2unwuYqlvPVBmngIlUvZiE1f0 +tixhRl59t5hhhGro2etDZiZxB7cigHapmTXGU4pPTQ9Ma9v7+f49VG7l6LN0MZGIi 8efL/7YUJb5KxgL/ove8gHD9q0vKg0Nn79DiYLQg= From: "zhongyunde at huawei dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107090] [aarch64] sequence logic should be combined with mul and umulh Date: Sat, 29 Oct 2022 01:54:05 +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: zhongyunde at huawei dot com 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: attachments.created 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 --- Comment #11 from vfdff --- Created attachment 53787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53787&action=3Dedit has different operand order base on different commit node hi @Andrew Pinski * Showed as the figure swap_order.jpg attaiched, we can introduce flags :c = for the plus node m_13 to match commutated node according https://gcc.gnu.org/onlinedocs/gccint/The-Language.html. And for the plus node _24, does it also have some similar flag to simplify = the matching ?=