From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F20F03858C50; Fri, 23 Jun 2023 06:02:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F20F03858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687500131; bh=ihbeAhkoUPW7ssANyC97nJcDFuPEGRQYpVi43YlgVR0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SbQxXzT2Y54+XeDKXnsUZrRgfnQIT9ljpT5jB65SVaZVuJIycOwHuiRUU8Jv5EEyf BhBhvq4asZlTb4bNeljJ4xqB+dT8+7IFJl7XG0Wa1GxkvlncwvL/+wYvu+N+iHgeI+ +ZHUhgJNep+7SYpxkBF0PYN7JYKPsXB/IPsN8y2Q= From: "klepikov.alex+bugs at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54089] [SH] Refactor shift patterns Date: Fri, 23 Jun 2023 06:02:09 +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: 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 --- Comment #92 from Alexander Klepikov --- I remembered why I used two different insns - first to eliminate infinite l= oop with help of marking insn with attribute, and second because I could not set attribute when emitting insn from C code. Whe have 'get_attr_*' functions b= ut we have not 'set_attr_*'.=