Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Mike Fulton Newsgroups: scea.yaroze.programming.gnu_compiler Subject: Re: which code space to use? Date: Thu, 01 May 1997 17:59:00 -0700 Organization: SCEA Net Yaroze News Lines: 24 Message-ID: <33693C54.4A18@glamoursoft.com> References: <3361C44A.63E0@charlie.cns.iit.edu> Reply-To: mfulton@glamoursoft.com NNTP-Posting-Host: 206.41.6.40 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (Win95; I) 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