home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10758 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.3 KB

  1. Xref: sparky comp.arch:10758 comp.lang.misc:3697
  2. Path: sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!usc!wupost!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!edcastle!dcs.ed.ac.uk!exnet!dhd
  3. From: dhd@exnet.co.uk (Damon)
  4. Newsgroups: comp.arch,comp.lang.misc
  5. Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
  6. Message-ID: <Bxs787.C99@exnet.co.uk>
  7. Date: 15 Nov 92 23:43:18 GMT
  8. References: <TMB.92Nov14145619@pollux.idiap.ch> <Bxq7y0.IJ@mentor.cc.purdue.edu> <mwm.2n6z@contessa.palo-alto.ca.us>
  9. Organization: ExNet Systems Ltd Public Access News, London, UK
  10. Lines: 39
  11.  
  12. In article <mwm.2n6z@contessa.palo-alto.ca.us> mwm@contessa.palo-alto.ca.us (Mike Meyer) writes:
  13. >In <Bxq7y0.IJ@mentor.cc.purdue.edu>, hrubin@mentor.cc.purdue.edu (Herman Rubin) wrote:
  14. >> With instruction scheduling, one place for an optimizer would be in the
  15. >> ASSEMBLER, and even interaction between the programmer and the compiler/
  16. >> assembler.  I do not know of any such.
  17. >
  18. >Herman, I've *never* seen you suggest something that hasn't been tried
  19. >already, in some form or another. This is no exception. It's been
  20. >tried. It didn't work very well.
  21.  
  22. On at least the Sun-3 cc/as there is a flag which implies that the
  23. assember is doing something tricky with the code the compiler spits
  24. out, eg some sort of peephole optimisation based on what the compiler
  25. wanted to say rather than on what it actually said...
  26.  
  27. Ah, and on the Sun-4 as well, I see.  Though this isn't exactly what
  28. Dr Rubin was talking about, I think, it's still relevant...
  29.  
  30.  
  31. AS(1)                    USER COMMANDS                      AS(1)
  32.  
  33. NAME
  34.      as - Sun-1, Sun-2 and Sun-3, Sun-4 and Sun386i assemblers
  35.  
  36. ...
  37.  
  38.   Sun-4 Options
  39.      -O[n]
  40.           Enable peephole optimization corresponding to optimiza-
  41.           tion  level  n  (1 if n not specified) of the Sun high-
  42.           level language compilers.   This  option  can  be  used
  43.           safely only when assembling code produced by a Sun com-
  44.           piler.
  45.  
  46. -- 
  47. Damon Hart-Davis                          Internet: dhd@exnet.co.uk, d@hd.org
  48.  
  49. Public-access UNIX (Suns), news and mail for UK#5 per month.  FIRST MONTH FREE.
  50. [1.35] Cheap Sun eqpt.  UUCP news/mail feeds.  Tel/Fax: +44 81 755 0077.
  51.