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

  1. Path: sparky!uunet!enterpoop.mit.edu!snorkelwacker.mit.edu!stanford.edu!agate!usenet
  2. From: tege@sics.se (Torbjorn Granlund)
  3. Newsgroups: comp.archives
  4. Subject: [gnu.gcc.announce] GNU superoptimizer version 2.1 released
  5. Followup-To: gnu.gcc.announce
  6. Date: 20 Dec 1992 20:57:28 GMT
  7. Organization: GNUs Not Usenet
  8. Lines: 67
  9. Sender: adam@soda
  10. Approved: adam@soda
  11. Distribution: world
  12. Message-ID: <1h2mnoINN71o@agate.berkeley.edu>
  13. References: <9212171304.AA24437@zevs.sics.se>
  14. NNTP-Posting-Host: soda.berkeley.edu
  15. X-Original-Newsgroups: gnu.gcc.announce
  16. X-Original-Date: Thu, 17 Dec 1992 15:04:40 GMT
  17.  
  18. Archive-name: auto/gnu.gcc.announce/GNU-superoptimizer-version-2-1-released
  19.  
  20. Version 2.1 of the GNU superoptimizer (GSO) is now available for
  21. anonymous ftp from prep.ai.mit.edu in /pub/gnu/superopt-2.1.tar.Z.
  22. This version fixes several bugs that were present in the previous
  23. version.  In particular if you use GSO to generate Intel x86 or
  24. Motorola 68k code, you should upgrade to this version.
  25.  
  26.  
  27. GSO is a function sequence generator that uses an exhaustive
  28. generate-and-test approach to find the shortest instruction sequence
  29. for a given function.  You have to tell the superoptimizer which
  30. function and which CPU you want to get code for.
  31.  
  32. Sample GSO results:
  33.  
  34.   SPARC code for i5 = ((signed) i0 > (signed) i1):
  35.       subcc   %i1,%i0,%i2
  36.       srl     %i1,31,%i3
  37.       sra     %i0,31,%i4
  38.       addx    %i4,%i3,%i5
  39.  
  40.   Faster 80x86 code than the standard cmpl/seta/and for
  41.   ecx = ((unsigned) eax > (unsigned) edx):
  42.       cmpl    %eax,%edx
  43.       sbbl    %ecx,%ecx
  44.       negl    %ecx
  45.  
  46.   MC88000 code for 'find first set bit', i.e., r6 = ffs(r2):
  47.       subu.co r3,r0,r2
  48.       and     r4,r3,r2
  49.       addu.ci r5,r4,r4
  50.       ff1     r6,r5
  51.  
  52.   POWER (RS/6000) code for r6 = ((unsigned) r3 < (unsigned) r4) + r5
  53.       sf      r6,r4,r3
  54.       sfe     r7,r5,r6
  55.       sf      r8,r7,r6
  56.  
  57. Aside from the CPUs in the examples above, GSO generates code for
  58. MC680x0, Amd290xx, and Pyramid(SP,AP,XP).
  59.  
  60. Please send comments, improvements and new ports to tege@gnu.ai.mit.edu.
  61.  
  62.  
  63.     Torbjorn Granlund
  64.     Swedish Institute of Computer Science
  65.  
  66.       [ Soon to be at these ftp sites as well.  Please try them
  67.     before prep.ai.mit.edu!  thanx -gnu@prep.ai.mit.edu
  68.  
  69.     Japan: ftp.cs.titech.ac.jp, utsun.s.u-tokyo.ac.jp:ftpsync/prep
  70.     Australia: archie.oz.au:gnu
  71.     Europe: src.doc.ic.ac.uk:gnu, ftp.informatik.tu-muenchen.de,
  72.       ftp.informatik.rwth-aachen.de:pub/gnu, nic.funet.fi:pub/gnu,
  73.       ugle.unit.no, isy.liu.se, ftp.stacken.kth.se, ftp.win.tue.nl,
  74.       ftp.diku.dk, ftp.eunet.ch, archive.eu.net
  75.     United States: wuarchive.wustl.edu, ftp.cs.widener.edu,
  76.       uxc.cso.uiuc.edu, col.hp.com, gatekeeper.dec.com:pub/GNU,
  77.       ftp.uu.net:systems/gnu
  78.  
  79.     For information on how to order GNU software on tape, check
  80.     the file etc/DISTRIB in the GNU Emacs distribution, or e-mail
  81.     a request to:    gnu@prep.ai.mit.edu
  82.       ]
  83.  
  84.  
  85.