From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12794 invoked by alias); 24 Nov 2004 15:22:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 12717 invoked by alias); 24 Nov 2004 15:21:55 -0000 Date: Wed, 24 Nov 2004 15:22:00 -0000 Message-ID: <20041124152155.12716.qmail@sourceware.org> From: "dje at watson dot ibm dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040728170038.16800.steinmtz@us.ibm.com> References: <20040728170038.16800.steinmtz@us.ibm.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/16800] PowerPC - Unnecessary rldicl X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg02878.txt.bz2 List-Id: ------- Additional Comments From dje at watson dot ibm dot com 2004-11-24 15:21 ------- Subject: Re: PowerPC - Unnecessary rldicl The test for mode == Pmode is present because most of the fast scc patterns depend on carry. PowerPC carry depends on the mode of the processor. If the mode of the comparison is not the mode of the processor (Pmode), the scc patterns cannot be applied and the modified cost should not be applied. Similarly, only EQ, GTU, and LTU costs are handled because those are the fast scc patterns active for PowerPC. I did not include the costs for the original POWER architecture. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16800