From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32199 invoked by alias); 6 Apr 2007 16:01:37 -0000 Received: (qmail 31347 invoked by alias); 6 Apr 2007 16:01:15 -0000 Date: Fri, 06 Apr 2007 16:01:00 -0000 Message-ID: <20070406160115.31340.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/27869] "-O -fregmove" handles SSE scalar instructions incorrectly In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hubicka at ucw dot cz" 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: 2007-04/txt/msg00448.txt.bz2 ------- Comment #9 from hubicka at ucw dot cz 2007-04-06 17:01 ------- Subject: Re: "-O -fregmove" handles SSE scalar instructions incorrectly > > > ------- Comment #8 from stevenb dot gcc at gmail dot com 2007-04-06 16:43 ------- > Subject: Re: "-O -fregmove" handles SSE scalar instructions incorrectly > > > The attached patch to remove '%' seems correct to me. Merge operating > > wrapping the (commutative) plus/mult/min/max is not commutative, so '%' > > is wrong. Or am I missing something? > > The commutative alternative asm output should also be removed. I don't think there are alternative asm outputs, just intel variants, unless I missed something. The min/max commutative variant should be removed however, I am testing the attached patch. Honza ------- Comment #10 from hubicka at ucw dot cz 2007-04-06 17:01 ------- Created an attachment (id=13334) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13334&action=view) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27869