home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8185 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!unixhub.slac.stanford.edu!alhy
  2. From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: xlf compiler preprocessors
  5. Message-ID: <4841@unixhub.SLAC.Stanford.EDU>
  6. Date: 26 Jul 92 00:48:52 GMT
  7. References: <4840@unixhub.SLAC.Stanford.EDU>
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Reply-To: alhy@unixhub.slac.stanford.edu
  10. Organization: Stanford University, dept of Physics / SLAC
  11. Lines: 30
  12. Nntp-Posting-Host: courant.slac.stanford.edu
  13.  
  14. I got a response to my previous post that I cross-posted to here and
  15. to comp.unix.aix, and reading the response seems to indicate the
  16. following:  You know the optimizations that you're used to getting
  17. with (OPT=2 or whatever on VM?  They don't happen if you just say -O.
  18. You have to also invoke the preprocesser; to do some of the sensible
  19. stuff, it seems that the command line switches that you want are 
  20. -O -Pk -Wp,-ROUNDOFF=3
  21. exactly like that (I do mean it when I put the comma there).  The
  22. roundoff bit makes it do the arithmetic optimizations you'd expect at
  23. the cost of "to the very last bit" consistency between machines--this
  24. does not make roundoff error worse, just different on different
  25. platforms.  Note this is for xlf 2.2; read the section on the -Pv
  26. preprocessor for the appropriate option for xlf 2.1 or whatever the
  27. previous one is.  The machines that are at 3.1.7 seem to have 2.2 (at
  28. least mine does).  Have fun all
  29.  
  30.                 -Scott Berg
  31.  
  32. -- 
  33. -------------------------------------------------------------------------------
  34. The opinions expressed here are, of course, my own and nobody else's.
  35. -------------------------------------------------------------------------------
  36. J. Scott Berg
  37. email: alhy@unixhub.slac.stanford.edu
  38. real mail: Varian Physics
  39.            Stanford  CA  94305-4060
  40. phone:    (415) 926-4732 (w)
  41.      (415) 328-8246 (h)
  42. -------------------------------------------------------------------------------
  43.  
  44.