From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 764793858CDA; Fri, 7 Oct 2022 09:44:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 764793858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665135893; bh=fr5r+liqid3UXoyBvXN71ivKrk/rHCzczqN+A/c+OvQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wal3d3dG2uB5eAbDY8cVTEwHDooikqGVSucfzQHgNKkPXZa3p6GkuSLE23ewg6C3l yFZwrn8LYk2YK7DwZIHx8WdWKqhS8G9HnQ60IZCQYzKxO7Gj6xe3T71TCfBcc9GgUp qsej6D769yfuzO/8negJvyffrZQEpUYCLI1QBPkY= 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: Fri, 07 Oct 2022 09:44:52 +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: 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 #4 from vfdff --- (In reply to Andrew Pinski from comment #1) > A few issues. > First is: >=20 > if (_26 !=3D 0) > goto ; [50.00%] > else > goto ; [50.00%] >=20 > [local count: 536870913]: > ht_15 =3D ht_13 + 4294967296; >=20 > [local count: 1073741824]: > # ht_2 =3D PHI >=20 For the 1st issue, I see the gcc works well before gcc8 with if-conversion, https://godbolt.org/z/99a9e59Ge=