home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / arch / 10470 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!caen!batcomputer!tasha.cheme.cornell.edu!elan
  3. From: elan@tasha.cheme.cornell.edu (Elan Feingold)
  4. Subject: Optimizing Old Code for i586
  5. Message-ID: <1992Nov6.194508.9171@tc.cornell.edu>
  6. Lines: 31
  7. Sender: news@tc.cornell.edu
  8. Nntp-Posting-Host: tasha.cheme.cornell.edu
  9. Reply-To: elan@tasha.cheme.cornell.edu (Elan Feingold)
  10. Organization: Cornell University
  11. Date: Fri, 6 Nov 1992 19:45:08 GMT
  12.  
  13.  
  14. OK, I don't read this group, so I don't know if this has been talked about
  15. much already, but I woke up last night at about 4AM in a cold sweat 
  16. and with this wierd idea:
  17.  
  18. Write a program that takes a .exe file and performs the following analysis
  19. on it:
  20.  
  21.     a) Break up the code into windows, bounded by branches.
  22.     b) Rearrange the code within the windows following the i586
  23.        idea of being able to execute two instructions in a cycle if
  24.        there are no dependancies.  The idea is that since the 586 only
  25.        "looks ahead" one instruction, one helps the process by spending
  26.            time reorganizing the code in the .exe to maximize the chance that
  27.          the i586 will be able to execute two consecutive instructions                concurrently.
  28.  
  29. Is this a really stupid idea?
  30. Would the performance increase be anywhere noticiable?
  31. Will compilers for the i586 probably perform this optimization?
  32.  
  33. Thanks, 
  34.  
  35. Elan
  36.  
  37. --
  38. ---------------------------------------------------------------------------
  39. |  Elan Feingold       |  .sig currently undergoing renovation...         |
  40. |  CS/EE Depts.        |                                 |
  41. |  Cornell University  |                                |
  42. |  Ithaca NY 14850     |                                       |
  43. ---------------------------------------------------------------------------
  44.