home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / arch / 10510 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.6 KB

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!news2me.EBay.Sun.COM!exodus.Eng.Sun.COM!flayout.Eng.Sun.COM!tremblay
  2. From: tremblay@flayout.Eng.Sun.COM (Marc Tremblay)
  3. Newsgroups: comp.arch
  4. Subject: Re: Optimizing Old Code for i586
  5. Date: 7 Nov 1992 18:11:14 GMT
  6. Organization: Sun Microsystems, Mt. View, Ca.
  7. Lines: 23
  8. Message-ID: <lfo1m2INNsls@exodus.Eng.Sun.COM>
  9. References: <1992Nov6.194508.9171@tc.cornell.edu>
  10. NNTP-Posting-Host: flayout
  11.  
  12. In article <1992Nov6.194508.9171@tc.cornell.edu> elan@tasha.cheme.cornell.edu (Elan Feingold) writes:
  13. >Write a program that takes a .exe file and performs the following analysis
  14. >on it:
  15. >    a) Break up the code into windows, bounded by branches.
  16. >    b) Rearrange the code within the windows following the i586
  17. >       idea of being able to execute two instructions in a cycle if
  18. >       there are no dependancies.
  19.  
  20. This basic block scheduling is very limited since branches occur approximately
  21. every 5 instructions (integer programs running on SPARC). It will buy you
  22. some (around 10%) but much better performance can be achieved if the code
  23. is recompiled with a compiler that can schedule instructions across basic
  24. blocks, especially for integer programs. Key instructions to move "up"
  25. in the code are loads, since they may have a long latency due to a cache
  26. miss. Moving loads pass conditional branches introduces problems such
  27. as possible additional page faults, segmentation error, etc. That's why
  28. it is desirable to have some kind of support for speculative loads,
  29. which brings the question:
  30.  
  31. Does the P5 have support for speculative loads?
  32.  
  33. - Marc Tremblay.
  34. Sun Microsystems.
  35.