home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / compiler / 2029 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.compilers
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!world!iecc!compilers-sender
  3. From: iwm@doc.ic.ac.uk (Ian W Moor)
  4. Subject: Re: static estimation of conditional branches?
  5. Reply-To: iwm@doc.ic.ac.uk (Ian W Moor)
  6. Organization: Dept. of Computing, Imperial College, University of London, UK.
  7. Date: Mon, 14 Dec 1992 13:43:04 GMT
  8. Approved: compilers@iecc.cambridge.ma.us
  9. Message-ID: <92-12-061@comp.compilers>
  10. Keywords: optimize, performance
  11. References: <92-12-029@comp.compilers> <92-12-058@comp.compilers>
  12. Sender: compilers-sender@iecc.cambridge.ma.us
  13. Lines: 21
  14.  
  15. Henry Spencer <henry@zoo.toronto.edu> writes:
  16. |> When people first started implementing profilers and the like, they found
  17. |> one striking result: human intuition about the locations of the hot spots
  18. |> in a complex program was *consistently wrong*.  ...
  19. |> 
  20.  
  21. To be worthwhile, any compiler which accepts user hints like frequency or
  22. register has to have the following property:
  23.  
  24. A correct hint must make an improvement that is worth gathering the
  25. information, and an incorrect hint must either be detectable or must not
  26. reduce performance much. 
  27.  
  28. This seems contradictory.. I'd rather rely on a profiler or register
  29. allocator.
  30. -- 
  31. Ian W. Moor        +44 71 589 5111 x 5039
  32. iwm@doc.ic.ac.uk   Department of Computing, Imperial College.            
  33. -- 
  34. Send compilers articles to compilers@iecc.cambridge.ma.us or
  35. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  36.