From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17353 invoked by alias); 8 Oct 2004 08:18:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17335 invoked from network); 8 Oct 2004 08:18:25 -0000 Received: from unknown (HELO ns.itscom.net) (219.110.2.32) by sourceware.org with SMTP; 8 Oct 2004 08:18:25 -0000 Received: (qmail 10504 invoked from network); 8 Oct 2004 17:18:24 +0900 Received: from unknown (HELO ns.itscom.net) (192.168.1.131) by mtoichi02e with SMTP; 8 Oct 2004 17:18:24 +0900 Received: (qmail 2989 invoked from network); 8 Oct 2004 17:18:24 +0900 Received: from unknown (HELO ?192.168.10.239?) (131.113.23.109) by mtiichi01e with SMTP; 8 Oct 2004 17:18:24 +0900 Date: Fri, 08 Oct 2004 11:47:00 -0000 From: Shinpei Kato To: Steven Bosscher Subject: Re: ARCH_rtx_costs Cc: gcc@gcc.gnu.org In-Reply-To: <200410080916.52678.stevenb@suse.de> References: <20041008101956.2FAD.SHINNY@j02.itscom.net> <200410080916.52678.stevenb@suse.de> Message-Id: <20041008171707.917F.SHINNY@j02.itscom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00319.txt.bz2 > /* Return the right cost to give to an operation > to make the cost of the corresponding register-to-register instruction > N times that of a fast register-to-register instruction. */ > #define COSTS_N_INSNS(N) ((N) * 4) > > so COSTS_N_INSNS(1) is the cost of a reg-reg move instruction, and > COSTS_N_INSNS(X) is the cost of X is relative to that. I see, I should have looked at the source before, sorry. Thank you for your help. - Shinpei