From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C12463858417; Sat, 8 Jul 2023 07:56:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C12463858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688802989; bh=a8tfpqMpvxiD41RGctqR/wvLaYxl4uxfIAoNV5DHj8E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hYgrCKZhuiwE7HU0W6yDPXjPXeepUZVBoupmwavhkJoQ7NYtRBPaLTxlG/vMB2wdY FzrQUcjrxibe+6eeLoeXLkguWyrogY+miiqJkHTXLPUYAlAWV0vbEZ1waUy9OfCtA7 ogp+BexyZpqwajAkc8qKhs83c0mCQLVgMBxg+3lQ= From: "klepikov.alex+bugs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54089] [SH] Refactor shift patterns Date: Sat, 08 Jul 2023 07:56: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: 4.8.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: klepikov.alex+bugs at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete 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=3D54089 Alexander Klepikov changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #55382|0 |1 is obsolete| | --- Comment #98 from Alexander Klepikov --- Created attachment 55503 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55503&action=3Dedit Testcase for SH specific loop optimization pass I modified testcase for hoisting tests. It contains two different dg-final commands at once. First uses 'scan-assembler' command and second uses 'check-function-bodies'. The difference is that 'scan-assembler' uses "plain" regexp and is more powerfull but more complicated to understand. 'check-function-bodies' is simpler but less powerfull and requires C++, if I'm not mistaken. They both work, but only one is needed because they do the same. I hope this will help.=