home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.arch
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!bogus.sura.net!pandora.pix.com!stripes
- From: stripes@pix.com (Josh Osborne)
- Subject: Re: Indexing in microprocessors
- Message-ID: <BtxGvn.8MH@pix.com>
- Sender: news@pix.com (The News Subsystem)
- Nntp-Posting-Host: pandora.pix.com
- Organization: Pix Technologies -- The company with no adult supervision
- References: <1811llINN3ci@usenet.INS.CWRU.Edu>
- Date: Wed, 2 Sep 1992 01:45:22 GMT
- Lines: 18
-
- In article <1811llINN3ci@usenet.INS.CWRU.Edu> ugurdag@ces.cwru.edu (Fatih Ugurdag) writes:
- >Is there any microprocessor in which we can access registers in an
- >indexed fashion such as [...]
-
- The AMD290xx's sort of do. I may get the exact reg numbers wrong, but
- the idea is the same. A group of registers, 64 or 128 (I forget which)
- are rolled by the value in G1. If G1 is 0 then an add to G64 will add
- to register 64, if G1 is 10 then the same add would effect G74. It is
- normally used a lot like register windows (i.e. you pass arguments in
- them rather then the stack), however AMD can't transparently change the
- number of register windows to improve performance, nor do you need to use
- (say) 16 registers for a function call when 3 will do.
- --
- stripes@pix.com "Security for Unix is like
- Josh_Osborne@Real_World,The Multitasking for MS-DOS"
- "The dyslexic porgramer" - Kevin Lockwood
- We all agree on the necessity of compromise. We just can't agree on
- when it's necessary to compromise. - Larry Wall
-