From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2F053857C73; Tue, 18 Aug 2020 22:12:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2F053857C73 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597788773; bh=v7stJBGQRdQwADiHhpCZXue9W7X8XMu7ljBW7T/CzMI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=grf3y7y6dS6fVoX8SABWfV+HJTAUtAYgNY0rrtGUYbZFQFYJTLj5Nut0qsW8TFk5e 9Ybw1HE5qVhtIJMyI9/VGNMAuiczLCnKarwVtrXJqIX9dh+EWrFXM+exBh3NDLqYMO euxvkn0rxfUR8BljC1iNUKdzgxMS4RCTm76xfOqk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/96692] Failure to optimize xor+or+xor to andnot+xor Date: Tue, 18 Aug 2020 22:12:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia 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: bug_severity component 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: Tue, 18 Aug 2020 22:12:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96692 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Component|tree-optimization |rtl-optimization --- Comment #1 from Andrew Pinski --- This transformation should only happen if there is an andnot instruction. For an example if there is no andnot instruction, there will be 3 dependent instruction while in the first case, there are two independent instructions followed by one dependent ones.=