home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / misc / 6455 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  2.1 KB

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