home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / ibm / pc / hardware / 21939 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  2.1 KB

  1. Xref: sparky comp.sys.ibm.pc.hardware:21939 sci.electronics:14424
  2. Path: sparky!uunet!gatech!rutgers!concert!fletcher!boyd
  3. From: boyd@cs.unca.edu (Mark Boyd)
  4. Newsgroups: comp.sys.ibm.pc.hardware,sci.electronics
  5. Subject: Re: What is the difference between DX and SX?
  6. Message-ID: <1992Aug16.000928.27149@cs.unca.edu>
  7. Date: 16 Aug 92 00:09:28 GMT
  8. References: <1992Aug15.185130.24702@wyvern.twuug.com>
  9. Organization: University of North Carolina at Asheville
  10. Lines: 41
  11. X-Newsreader: Tin 1.1 PL3
  12.  
  13. Re 386 vs 486 - in addition to the cache, the FPU, and some new
  14. instructions, there are significant differences in the number of
  15. cycles required to perform a given operation. This is an important
  16. part of the performance adavantage.
  17.  
  18. Here are some data on clock cycles required for the MOV operation:
  19.  
  20.  HelpPC 2.10           Quick Reference Utility
  21.  
  22.                                  Clocks
  23.         Operands         808x  286   386   486
  24.  
  25.         reg,reg           2     2     2     1
  26.         mem,reg          9+EA   3     2     1
  27.         reg,mem          8+EA   5     4     1
  28.         mem,immed       10+EA   3     2     1
  29.         reg,immed         4     2     2     1
  30.         mem,accum         10    3     2     1
  31.         accum,mem         10    5     4     1
  32.         segreg,reg16      2     2     2     3
  33.         segreg,mem16     8+EA   5     5     9
  34.         reg16,segreg      2     2     2     3
  35.         mem16,segreg     9+EA   3     2     3
  36.         reg32,CR0/CR2/CR3 -     -     6     4
  37.         CR0,reg32         -     -     10    16
  38.         CR2,reg32         -     -     4     4
  39.         CR3,reg32         -     -     5     4
  40.         reg32,DR0/DR1/DR2/DR3   -     22   10
  41.         reg32,DR6/DR7     -     -     22   10
  42.         DR0/DR1/DR2/DR3,reg32   -     22   11
  43.         DR6/DR7,reg32     -     -     16   11
  44.  
  45. Note that 486 usually takes fewer cycles than the 386, especially on the
  46. more commonly used addressing modes. I assume, but do not know for sure,
  47. that the Cryrix 486 clone also has fewer cycles per instruction, on
  48. average, than a 386.
  49.  
  50.     Mark
  51.  
  52. PS HelpPC, which supplied this data, is available at Simtel, etc in the
  53. info directory. A great program.
  54.