home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15627 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!think.com!sdd.hp.com!hp-col!fc.hp.com!koren
  3. From: koren@fc.hp.com (Steve Koren)
  4. Subject: Re: Floating Point Processors
  5. Sender: news@fc.hp.com (news daemon)
  6. Message-ID: <BxIAH8.HH0@fc.hp.com>
  7. Date: Tue, 10 Nov 1992 15:17:31 GMT
  8. References: <jmarin.721382668@messi.uku.fi>
  9. Organization: Hewlett-Packard Fort Collins Site
  10. X-Newsreader: Tin 1.1.3 PL5
  11. Lines: 22
  12.  
  13. Jukka Marin (jmarin@messi.uku.fi) wrote:
  14. > ejames@venus.iucf.indiana.edu (ERIC JAMES) writes:
  15. > >I have been told that the amiga libraries automaticaly detect if you have
  16. > Yes, it is true.
  17.  
  18. It is true, but also be aware that you can get better performance by
  19. compiling using inline FP code.  If you want to be general, the
  20. libraries are a good deal because the same binary can run both with or
  21. without an FP unit.  But to squeeze the most performance out of your
  22. code, compile with inline FP code and ship two versions, one which uses
  23. the libraries and one which uses inline code (or just have both types
  24. linked in to one executable).  SAS 6.0 (and 5.mumble) make this pretty
  25. easy to do; you just re-compile with a different switch (and maybe
  26. include a math header file) and sc will take care of the details.  It
  27. can make a big difference.
  28.  
  29. Maybe this is a good place for me to ask whether the 68040 option in SAS
  30. 6.0 is "real", in the sense that it does something different than the
  31. 68030 option does?  Doug?
  32.  
  33.    - steve
  34.