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