From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5826 invoked by alias); 7 Mar 2013 14:53:41 -0000 Received: (qmail 4206 invoked by uid 48); 7 Mar 2013 14:53:09 -0000 From: "pinskia 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, 07 Mar 2013 14:53: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-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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-Changed-Fields: Status AssignedTo Message-ID: In-Reply-To: References: 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: 2013-03/txt/msg00595.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56552 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |pinskia at gcc dot gnu.org |gnu.org | --- Comment #3 from Andrew Pinski 2013-03-07 14:53:07 UTC --- (In reply to comment #2) > I had to use -O3 -march=loongson2f to trigger it. > and combiner has: > Trying 36 -> 37: > Failed to match this instruction: > (set (reg/v:SI 214 [ a2+-2 ]) > (if_then_else:SI (reg:SI 299) > (reg/v:SI 213 [ a2+-2 ]) > (reg/v:SI 194 [ a2+-2 ]))) Then this is mine. I think Richard S. already approved this patch too.