From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12463 invoked by alias); 9 May 2002 10:51:56 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12444 invoked from network); 9 May 2002 10:51:53 -0000 Received: from unknown (HELO hotmail.com) (64.4.23.170) by sources.redhat.com with SMTP; 9 May 2002 10:51:53 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 9 May 2002 03:51:53 -0700 Received: from 211.144.82.223 by lw15fd.law15.hotmail.msn.com with HTTP; Thu, 09 May 2002 10:51:53 GMT X-Originating-IP: [211.144.82.223] From: "Jiang Alan" To: gcc@gcc.gnu.org Cc: gcc-help@gcc.gnu.org Bcc: Subject: Can registers be stored before jump or branch? Date: Thu, 09 May 2002 03:51:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 09 May 2002 10:51:53.0328 (UTC) FILETIME=[87A0B700:01C1F747] X-SW-Source: 2002-05/txt/msg00092.txt.bz2 I want to write a machine target for GCC. But It requires that all the registers GCC alloced in a basic block shall store its content to memory before any branch or jump or function call. After the branch etc, the memory data shall be reloaded into registers, no necessary the same one as before. Can this be implemented using target macros? If it can, what shall I write to do such a thing? _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer£ºhttp://explorer.msn.com/lccn/intl.asp