From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1564D3858D39; Fri, 19 May 2023 05:14:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1564D3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684473271; bh=3Z+JLHmpgiCOW4OB+eIWqOgMtpSXTo7rpsqDB0z7UZo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tQ8HBQiTidI2xVhGqHZWoznvZpNz5QyxjQorCkplDZqyi38XORtph/fAibdaXg51h R4L6V9M9OYHb+t38D9TcgiPCCpKotn24GM330Yf7Twk9FVIpW3YtS7HKXs3uTzI74q qIPV3xZNub4QriSNdZQHSCvbOsnYttd3YJjp5j2Y= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106545] peephole.md seems like it should not exist Date: Fri, 19 May 2023 05:14:30 +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: 12.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: vineetg 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=3D106545 --- Comment #3 from Andrew Pinski --- Note I see XTheadMemPair code has been added to peephole.md which is good to have it away.=20 But again the first peephole is also handled differently already via zero_extendsidi2_shifted which was added in r11-745-gd5cdcd5cf2b292 but it = was not until r13-4907-g2e886eef7f2b5a when we started to optimizing the follow= ing code: unsigned long f(unsigned long a) { a <<=3D 32; a >>=3D 32; a <<=3D 10; return a; }=