From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19703 invoked by alias); 21 Jan 2002 23:29:47 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 19612 invoked from network); 21 Jan 2002 23:29:44 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 21 Jan 2002 23:29:44 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g0LNThFN012808; Mon, 21 Jan 2002 18:29:43 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id g0LNTgn9012806; Mon, 21 Jan 2002 18:29:42 -0500 (EST) Message-Id: <200201212329.g0LNTgn9012806@hiauly1.hia.nrc.ca> Subject: Re: Fix predicate in decrement_and_branch_until_zero pattern on PA To: rth@redhat.com (Richard Henderson) Date: Mon, 21 Jan 2002 15:32:00 -0000 From: "John David Anglin" Cc: gcc-patches@gcc.gnu.org, law@redhat.com In-Reply-To: <20020121152334.E19469@redhat.com> from "Richard Henderson" at Jan 21, 2002 03:23:34 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg01438.txt.bz2 > On Mon, Jan 21, 2002 at 06:20:27PM -0500, John David Anglin wrote: > > * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m" > > contraints to "*m". > > I think this is exactly wrong, and that you should be preferring r. Isn't 'r' still preferred if a reload isn't needed? The predicate ensures that the operand is always a register operand before reload. Dave -- J. David Anglin dave.anglin@nrc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6605)