home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12900 < prev    next >
Encoding:
Text File  |  1992-08-31  |  2.5 KB  |  56 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!decwrl!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re:  SASC 6.0 (food for thought)
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <BtunD0.Ksy@unx.sas.com>
  8. Date: Mon, 31 Aug 1992 13:12:35 GMT
  9. References: <BtLDsK.z9@unx.sas.com> <paulk.1a84@terapin.com> <cg.0d3f@ami-cg.UUCP>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 42
  13.  
  14.  
  15. In article <cg.0d3f@ami-cg.UUCP>, cg@ami-cg.UUCP (Chris Gray) writes:
  16. |> In article <paulk.1a84@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
  17. |> >Aztec 6.0 is a *long* way off.  They aren't even working on any Amiga products
  18. |> >these days -- they don't have enough people.  And when they do go back to the
  19. |> >Amiga stuff, the first thing they need to do is a major upgrade of their sourc
  20. |> >level debugger.
  21. |> >
  22. |> >But they say the 6.0 compiler will have cool optimizations like register
  23. |>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. |> >tracking, full '040 support, and an intuitionized control interface.
  25. |>  ^^^^^^^^
  26. |> 
  27. |> I hope they have some real optimizations in mind as well, like common
  28. |> subexpression elimination, register colouring, loop unrolling, dead code
  29. |> elimination, strength reduction, etc. I put register tracking into my PD
  30. |> Draco compiler several years ago - it buys some speed, but not as much as
  31. |> some of the other techniques.
  32.  
  33. The answer is yes, yes, yes, yes, yes, and yes.  The 5.10 global 
  34. optimizer did a good bit of the above (common subexpression elimination,
  35. loop unrolling, dead code elimination, strength reduction) but the 6.0
  36. global and peephole optimizers do even more.  The peepholer is capable
  37. of reassigning registers to make better use of scratch registers,
  38. for example.  You don't mention tail recursion, but that's in there
  39. as well.  The global optimizer can totally eliminate static functions
  40. (making them inline) and generate inline code for even non-static
  41. functions.  6.0 never generates LINK and UNLINK instructions - instead,
  42. all stack references are made relative to A7, thereby freeing up a
  43. register.
  44.  
  45. Well, that's enough for now...
  46.  
  47. -- 
  48.   *****
  49. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  50.  *|. o.| ||                                          1200/2400/9600 Dual
  51.   | o  |//     For all you do, this bug's for you!
  52.   ====== 
  53. usenet: walker@unx.sas.com                            bix: djwalker 
  54. Any opinions expressed are mine, not those of SAS Institute, Inc.
  55.  
  56.