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

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!mips!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
  2. From: cflatter@nrao.edu (Chris Flatters)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: Jolitz 386BSD-0.1 -- floating point perform
  5. Message-ID: <1992Jul22.152854.27730@nrao.edu>
  6. Date: 22 Jul 92 15:28:54 GMT
  7. References: <l6qc51INN1gu@neuro.usc.edu>
  8. Sender: news@nrao.edu
  9. Reply-To: cflatter@nrao.edu
  10. Organization: NRAO
  11. Lines: 22
  12.  
  13. In article l6qc51INN1gu@neuro.usc.edu, merlin@neuro.usc.edu (merlin) writes:
  14. >I have most of the US Army BRLCAD three dimensional CSG modeling and
  15. >distributed ray tracing system ported to the Jolitz 386BSD-0.1.  But,
  16. >I am getting only about one fifth of the floating point performance
  17. >previously measured using AT&T pcc and GNU gcc 1.4x on ATT UNIX SYSV.
  18. >
  19. >Does the compiler default to '387 emulation?  Is there some flag which
  20. >needs to be set to actually use the coprocessor?  Or are there reasons
  21. >386BSD-0.1 would exhibit relatively poor floating point performance?
  22.  
  23. The problem is that there is a mismatch between gcc 1.4 and Intel coprocessors.
  24. gcc expects floating-point registers while the 80x87s have a stack.  This
  25. leads to a fairly large performance hit.  gcc 2.x can produce optimised code
  26. for the 80x87.  Is anyone working on porting gcc 2.x to 386BSD? Come to
  27. think of it, is there anything that needs to be done to do this (wouldn't
  28. the BSD/386 configuration work)?
  29.  
  30. NB: the coprocessor shows up as device psx0 during the bootstrap sequence.  If
  31. this doesn't show up 386BSD thinks you don't have a coprocessor.
  32.  
  33.     Chris Flatters
  34.     cflatter@nrao.edu
  35.