home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17531 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.2 KB

  1. Xref: sparky comp.sys.amiga.programmer:17531 comp.sys.amiga.hardware:21770
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!crcnis1.unl.edu!cse.unl.edu!tbills
  3. From: tbills@cse.unl.edu (Trent Bills)
  4. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
  5. Subject: Re: CISC and RISC
  6. Date: 18 Dec 1992 15:26:57 GMT
  7. Organization: University of Nebraska--Lincoln    
  8. Lines: 40
  9. Distribution: world
  10. Message-ID: <1gsqk1INN327@crcnis1.unl.edu>
  11. References: <70436@cup.portal.com> <amipb.04wr@amipb.gna.org> <37844@cbmvax.commodore.com> <AHANSFOR.92Dec18071830@bigwpi.wpi.edu>
  12. NNTP-Posting-Host: cse.unl.edu
  13.  
  14. In article <AHANSFOR.92Dec18071830@bigwpi.wpi.edu>, ahansfor@bigwpi.wpi.edu (Andrew L. Hansford) writes:
  15. |> >>>>> On 18 Dec 92 00:56:48 GMT, idr@rigel.cs.pdx.edu (Ian D Romanick) said:
  16. |> 
  17. |> idr> Article-I.D.: pdxgate.6587
  18. |> 
  19. |> idr> In article <Bz8FD1.Dxt@ns1.nodak.edu> dewald@plains.NoDak.edu
  20. |> idr> (Eric Dewald) writes:
  21. |> >What are the advantages of CISC and RISC?
  22. |> 
  23. |> idr> Well, since RISC is a more basic instruction set, it is MUCH
  24. |> idr> easier for a compiler to generate good code for it.
  25. |> 
  26. |> You are joking right?  The compiler and even assemblers are the
  27. |> elements that got much more complicated.  Dependency avoidance, delay
  28. |> slot scheduling...easy?
  29. |> 
  30.  
  31. No.  He is not joking.  Have you ever written a compiler?  Compiler
  32. problems such as register allocation are MUCH more difficult that
  33. avoiding data hazzards and filling delay slots.
  34.  
  35. |> idr> It also makes it so
  36. |> idr> that the instructions themselves are smaller and can be fetched
  37. |> idr> and decoded quicker.
  38. |> 
  39. |> The instructions are generally the same format for all instructions
  40. |> (or the processor supports very few formats) that makes them easier to
  41. |> decode.  THEY ARE NOT SMALLER.
  42. |> 
  43. |> -- Andrew Hansford
  44. |>    ahansfor@wpi.wpi.edu
  45.  
  46. In many cases, RISC instructions are smaller than CISC instructions.
  47. Consider an add instruction in a CISC chip.  The source operands could
  48. both be some place in memory.  Depending on the addressing mode used,
  49. both source operands could take up 4 bytes or more each.  RISC
  50. instructions are usually a fixed size (32 or 64 bits) which is obviously
  51. smaller than the above CISC example.
  52.  
  53.  - Trent Bills
  54.