From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25843 invoked by alias); 17 Dec 2007 18:33:31 -0000 Received: (qmail 25833 invoked by uid 22791); 17 Dec 2007 18:33:30 -0000 X-Spam-Check-By: sourceware.org Received: from pfepb.post.tele.dk (HELO pfepb.post.tele.dk) (195.41.46.236) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Dec 2007 18:32:49 +0000 Received: from x1-6-00-0f-9f-c6-3e-90 (unknown [80.197.1.215]) by pfepb.post.tele.dk (Postfix) with ESMTP id 9FDC3A5005A; Mon, 17 Dec 2007 19:32:44 +0100 (CET) Received: from x1-6-00-0f-9f-c6-3e-90 (localhost.localdomain [127.0.0.1]) by x1-6-00-0f-9f-c6-3e-90 (8.14.0/8.14.0) with ESMTP id lBHIWioJ006203; Mon, 17 Dec 2007 19:32:44 +0100 Received: (from rask@localhost) by x1-6-00-0f-9f-c6-3e-90 (8.14.0/8.14.0/Submit) id lBHIWgpB006202; Mon, 17 Dec 2007 19:32:43 +0100 Date: Mon, 17 Dec 2007 18:38:00 -0000 From: Rask Ingemann Lambertsen To: "Balaji V. Iyer" Cc: gcc@gcc.gnu.org, openrisc@opencores.org Subject: Re: Help with another constraint Message-ID: <20071217183242.GE17368@sygehus.dk> References: <000c01c83a41$4499e240$33160e98@ece.ncsu.edu> <20071209130740.GI17368@sygehus.dk> <000d01c83a81$85462ca0$33160e98@ece.ncsu.edu> <20071210171542.GL17368@sygehus.dk> <002601c83c7c$b3763960$33160e98@ece.ncsu.edu> <20071212143508.GP17368@sygehus.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071212143508.GP17368@sygehus.dk> User-Agent: Mutt/1.5.14 (2007-02-12) 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/msg00491.txt.bz2 On Wed, Dec 12, 2007 at 03:35:09PM +0100, 'Rask Ingemann Lambertsen' wrote: > > The movxx patterns are special and you'll need to hold the compiler's > hands a little. Since your target can't move immediates directly to memory, > you have to ask for a secondary reload to an intermediate register. Use the > target hook TARGET_SECONDARY_RELOAD. Actually, how do you do that? I can't see any place in the documentation that says how TARGET_SECONDARY_RELOAD can be used for that purpose. -- Rask Ingemann Lambertsen Danish law requires addresses in e-mail to be logged and stored for a year