From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8127 invoked by alias); 16 Dec 2007 14:15:56 -0000 Received: (qmail 8116 invoked by uid 22791); 16 Dec 2007 14:15:55 -0000 X-Spam-Check-By: sourceware.org Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.31) with SMTP; Sun, 16 Dec 2007 14:15:51 +0000 Received: (qmail 89713 invoked by uid 20157); 16 Dec 2007 14:15:49 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 Dec 2007 14:15:49 -0000 Date: Sun, 16 Dec 2007 14:24:00 -0000 From: Hans-Peter Nilsson To: Dave Korn cc: 'Revital1 Eres' , "'Balaji V. Iyer'" , gcc@gcc.gnu.org, openrisc@opencores.org, 'Rask Ingemann Lambertsen' Subject: RE: Help with another constraint In-Reply-To: <000601c83cbf$0c887a30$2e08a8c0@CAM.ARTIMI.COM> Message-ID: <20071216091307.F82190@dair.pair.com> References: <002601c83c7c$b3763960$33160e98@ece.ncsu.edu> <000601c83cbf$0c887a30$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00464.txt.bz2 On Wed, 12 Dec 2007, Dave Korn wrote: > On 12 December 2007 12:14, Revital1 Eres wrote: > > > It seems that the pair m and I is missing (which indicate the memory = > > constant instruction). > > So doesn't the question then become "Why isn't reload reloading the constant > into a register"? Yes. And the answer AFAIK is "because it doesn't see a way to move a constant into a register; it understands "r", not "p" and "q". So bviyer, add an "r" alternative. See also the "*" and "#" qualifiers. No need for bogus 0 -to- memory alternatives. brgds, H-P