From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11398 invoked by alias); 29 Jan 2003 15:31:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 11374 invoked from network); 29 Jan 2003 15:31:51 -0000 Received: from unknown (HELO localhost.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 29 Jan 2003 15:31:51 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C0120406D; Wed, 29 Jan 2003 10:31:49 -0500 (EST) Message-ID: <3E37F3E5.9060500@redhat.com> Date: Wed, 29 Jan 2003 15:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marko Mlinar Cc: gdb-patches@sources.redhat.com Subject: Re: OC? References: <3DF6642E.7020700@redhat.com> <200301150929.15118.markom@opencores.org> <3E36DDBD.9000108@redhat.com> <200301290803.13751.markom@opencores.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00773.txt.bz2 > On Tuesday 28 January 2003 20:45, Andrew Cagney wrote: > >> > Hi Andrew! >> > > >> >> Turns out this has been done. >> >> > >> >> > We have also problems with registers. You were saying something that >> >> > we should move all the registers (we have 8k+ registers with generated >> >> > names) into the temporary storage (I hope all these won't get cached >> >> > in the host...). > >> >> 8k * 8 bytes ~= 64k. >> >> Either that all lives in the text segment, or it is only allocated when >> all the names are asked for. > > > Andrew, > > I was referring more to register transfer. Most of the registers should not be > chached at all -- the value read from these special purpose registers (SPRs) > can differ in time/access. Some registers may also have clear-after-read, > FIFO implemented or any other obscure functionality. Ah, sorry. The first thing that would need to be changed is the regcache. Have a way of marking a register as un-cachable. Andrew