home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.sys.sun.misc
- Subject: FPUless 4/110's (was: Re: Solaris 2 vs Windows NT: ...)
- Message-ID: <16596@auspex-gw.auspex.com>
- Date: 23 Jan 93 08:07:29 GMT
- References: <1jf1l0INN6ak@gap.caltech.edu> <1johm0INNp4e@darkstar.UCSC.EDU> <16584@auspex-gw.auspex.com> <1jpuc3INN7sn@darkstar.UCSC.EDU>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 38
- Nntp-Posting-Host: auspex-gw.auspex.com
- Nntp-Posting-Host: auspex.auspex.com
- Originator: news@auspex-gw.Auspex.COM
-
- >Can't rememberif I asked you this in email, but let's get this public:
- >
- >I have a thing labeled "FPU".. but no weitek 1164/5 chips. Is my machine
- >essentially "without fpu"?!!
-
- Possibly. When run on our 4/280, which *does* have an FPU, my
- "whichiufpu" command reports:
-
- IU is Fujitsu MB86900/1A or LSI Logic L64801
- FPU is Fujitsu MB86910 (1-4)/Weitek WTL1164/1165
-
- The stuff on the FPU comes from a version of the SPARC V8 architecture
- manual I had; I think it means that the FPU consists of:
-
- 1) a Fujitsu MB86910 floating-point controller chip;
-
- 2) Weitek chips, controlled by that chip, which do the
- arithmetic under the MB86910's control.
-
- I don't remember whether Sun left out *all* the chips, or just the
- Weitek chips, in an FPUless machine.
-
- Try writing a floating-point-intensive program which calls no library
- routines (other than possibly "exit()"), and running it under "time".
- If "time" reports a large system time, it means your machine is probably
- FPUless; the system time is the time spent by the kernel emulating the
- floating-point instructions.
-
- Or try writing code that fetches the FPSR, and see what the FPU version
- number is. If it's 7, you have no FPU.
-
- Or try running "whichiufpu" (I posted it to some groups a while ago;
- I'll mail the source if you don't have it); it should tell you what FPU
- you have, if any. (NOTE: it runs only under SunOS 4.x; I haven't
- bothered 5.x-ifying it, and may bother doing so, given that the SVR4
- SPARC ABI doesn't specify where in the "ucontext" structure the PSR is,
- so my hack for prying the PSR value out of the kernel would be
- OS-version-dependent.)
-