From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10087 invoked by alias); 16 May 2013 19:51:44 -0000 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 Received: (qmail 10036 invoked by uid 48); 16 May 2013 19:51:42 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/56552] conditional move can generate unnecessary conversion code Date: Thu, 16 May 2013 19:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia 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: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg01146.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56552 --- Comment #5 from rsandifo at gcc dot gnu.org --- (In reply to rsandifo@gcc.gnu.org from comment #4) > I've probably missed the bigger picture here, but FWIW, I don't > see any problem with extending *mov_on_ > to QI and HI. I suppose it would just be a case of replacing > GPR in that pattern with a new iterator. Er, to be clear: I mean doing that on top of anything else that might be needed. Andrew's patch still looks good too.