From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21674 invoked by alias); 8 Jul 2004 05:40:27 -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 21606 invoked from network); 8 Jul 2004 05:40:25 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 8 Jul 2004 05:40:25 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i685eOe1009614; Thu, 8 Jul 2004 01:40:24 -0400 Received: from localhost (mail@vpn50-37.rdu.redhat.com [172.16.50.37]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i685eN004572; Thu, 8 Jul 2004 01:40:23 -0400 Received: from rsandifo by localhost with local (Exim 3.35 #1) id 1BiRdt-0000AK-00; Thu, 08 Jul 2004 06:40:21 +0100 To: Alexandre Oliva Cc: Kazu Hirata , gcc-patches@gcc.gnu.org Subject: Re: add h8sx support to h8300 References: <20040621.102356.74724063.kazu@cs.umass.edu> From: Richard Sandiford Date: Thu, 08 Jul 2004 06:08:00 -0000 In-Reply-To: (Alexandre Oliva's message of "07 Jul 2004 18:58:19 -0300") Message-ID: <87fz83f456.fsf@redhat.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-07/txt/msg00723.txt.bz2 Alexandre Oliva writes: > + - we would like 'D' to be be NO_REGS when the frame pointer isn't > + live, but we the frame pointer may turn out to be needed after > + we start reload, and then we may have already decided we don't > + have a choice, so we can't do that. Forcing the register > + allocator to use er6 if possible might produce better code for > + small functions: it's more efficient to save and restore er6 in > + the prologue & epilogue than to do it in a define_split. > + Hopefully disparaging 'D' will have a similar effect, without > + forcing a reload failure if the frame pointer is found to be > + needed too late. */ Not sure I understand this. Do you have a testcase? Richard