home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.amiga.programmer:17573 comp.sys.amiga.hardware:21821
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!netsys!ukma!cs.widener.edu!dsinc!bagate!cbmvax!jesup
- From: jesup@cbmvax.commodore.com (Randell Jesup)
- Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
- Subject: Re: CISC and RISC
- Message-ID: <37965@cbmvax.commodore.com>
- Date: 16 Dec 92 20:09:07 GMT
- References: <amipb.04wr@amipb.gna.org> <37844@cbmvax.commodore.com> <Bz8FD1.Dxt@ns1.nodak.edu> <BzByvD.FA9@news.cs.andrews.edu>
- Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
- Organization: Commodore, West Chester, PA
- Lines: 46
-
- adap@edmund.cs.andrews.edu (Edsel Adap) writes:
- >Another Advantage of RISC is the abundance of Register memory. CISC
- >commonly contains few registers (The 68000 has 8 data registers and 8
- >address registers) while RISC processors contain anywhere from 32 registers
- >to a few hundred registers (It is not uncommon to have RISC processors that
- >have 512 registers).
-
- Actually it is uncommon, the prime purveyor of >32 register RISCs
- being SPARC. Most of the others have 32 (or a few less in some cases),
- and one of them is usually hardwired to 0 (usually R0).
-
- >There is also a significant amount of parallellism and pipelining in RISC
- >chips. As soon as an instruction is started another instruction may be
- >started even before the completion of the previous instruction. Output of
- >one instructions is passed on to another Unit in the chip for further
- >processing while the current unit executing the instruction fetches a new
- >instruction to process. On many RISC chips as many as 4 instructions can be
- >completed in one clock cylce as a result of this.
-
- This has nothing really to do with RISC vs. CISC - CISCs have been
- doing for quite a while also. It's _easier_ to do in a RISC, because of
- predictable execution times and less interactions. Also, 4 completing in the
- same cycle is quite rare (maybe the 88110, with it's many functional units
- can - even Alpha I don't think does this, it's 2-way superscalar, though they
- are planning on 4-way).
-
- >CISC I think is easier to program. RISC is difficult as you have to worry
- >about timing your instructions properly. If you issued a memory write and
- >do a read from the same location immediately after the write instruction,
- >the data you may have wanted to read may not be there yet! So you may have
- >to issue the write a few steps earlier than you would normally on a CISC
- >chip.
-
- This is not a problem. You code as if all instructions complete
- immediately, and you let the code reorganizer rearrange it all for fastest
- (and safe) execution. Machines with interlocks will run un-reorganized code,
- machines without won't even run it.
-
- This really is a discussion for comp.arch...
-
- --
- To be or not to be = 0xff
- -
- Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
- {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup
- Disclaimer: Nothing I say is anything other than my personal opinion.
-