Path: chuka.playstation.co.uk!news1.scei.co.jp!scea!greg_labrec@interactive.sony.com From: shawng Newsgroups: scea.yaroze.programming.gnu_compiler Subject: Re: which code space to use? Date: Sat, 03 May 1997 21:58:54 -0500 Organization: SCEA Net Yaroze News Lines: 31 Message-ID: <336BFB6E.6675@concentric.net> References: <3361C44A.63E0@charlie.cns.iit.edu> <33693C54.4A18@glamoursoft.com> Reply-To: shawng@concentric.net NNTP-Posting-Host: 61004d0010da.concentric.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0C (Win95; I) Yellow Manual Quote: Logical memory Seg name I Cache 0x00000000-0x001fffff ku Available 0x80000000-0x801fffff k0 Not available 0xa0000000-0xa01fffff k1 Available Is this a misprint? I've also noticed all the demos using segment k0. Mike Fulton wrote: > > Ed, I don't have a yellow manual in front of me to double check what it > actually says, but you've got it backwards. Any instruction with a high > nybble value of 0x00 or 0x08 will be cached. Any instruction with a > high nybble value of 0xa0 will NOT be cached. > > You can use this information and techniques using function pointers to > exercise some control over what routines are executed using the cache > and which are not. > > Mike Fulton @ SCEA > > Ed Federmeyer wrote: > > > > I noticed that the demos all link starting at address 0x8------- (k0 > > space), but on page 15 of the Yellow 'User Guide', it seems to indicate > > that code running out of this space does not use the Instruction cache > > of the CPU. (The chart on that page says "Not available" under the > > I-cache column for k0 space.) > > > > EdF