From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 09D643858C31; Tue, 26 Sep 2023 08:08:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 09D643858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695715708; bh=W1StgCGdb8VBw54X5pBYBHIakoSljurCtEOb745tSJo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DbBukX7d41YCnMkKfpAPmmN1Debf9UmdYfixxAtFZi5HO/V1vppGl3svDXEeehRdT tC1bXBxGmU+k3AhHvPcNM/uokuA9V9yx8LVfR7KkQl6AUZ5B/8XQkzYkn794uXbcxe T+JIUvY8xubDxTSnUt4eQ9lMTLTDkSsQYzf4uVcM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111597] pattern "(T)(A)+cst -->(T)(A+cst)" cause suboptimal for ppc64 Date: Tue, 26 Sep 2023 08:08:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111597 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- So it's only because the incoming x is sign-extended to long due to the ABI? Seems to be a quite "localized" issue. Btw, it was ppc folks requesting th= is pattern as a building block for a larger transform. It's always difficult to use canonicalizations to do simplifications.=