From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5691 invoked by alias); 6 Oct 2012 00:04:23 -0000 Received: (qmail 5628 invoked by uid 48); 6 Oct 2012 00:04:10 -0000 From: "olegendo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/54830] New: [SH] Unnecessary exts.w before extu.b Date: Sat, 06 Oct 2012 00:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: olegendo at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg00494.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54830 Bug #: 54830 Summary: [SH] Unnecessary exts.w before extu.b Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: olegendo@gcc.gnu.org Target: sh*-*-* While working on another issue, I've spotted the following sequence swap.w r11,r1 exts.w r1,r1 extu.b r1,r2 mov.l @(16,r12),r1 in CSiBE/jpeg-6b/jcphuff.c, function _emit_eobrun, when compiling with -m4-single -ml -O2 -mpretend-cmove. I will try to investigate that later.