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

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  2. From: torvalds@klaava.Helsinki.FI (Linus Benedict Torvalds)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: Jolitz 386BSD-0.1 -- floating point perform
  5. Message-ID: <1992Jul23.010341.22292@klaava.Helsinki.FI>
  6. Date: 23 Jul 92 01:03:41 GMT
  7. References: <l6qc51INN1gu@neuro.usc.edu> <1992Jul22.152854.27730@nrao.edu>
  8. Organization: University of Helsinki
  9. Lines: 22
  10.  
  11. In article <1992Jul22.152854.27730@nrao.edu> cflatter@nrao.edu writes:
  12. > [ deleted ]  Is anyone working on porting gcc 2.x to 386BSD? Come to
  13. >think of it, is there anything that needs to be done to do this (wouldn't
  14. >the BSD/386 configuration work)?
  15.  
  16. One thing that migth be a problem with porting gcc-2.2.2 to 386BSD is
  17. that gcc-2.2.2 has added the 'fsqrt' command to the list of floating
  18. point instructions that gcc can create code for - and I don't know if
  19. the 386bsd math emulator emulates that particular command yet.  I've
  20. already written the code (it's in linux), but it wasn't available back
  21. when people ported the emulator to 386bsd. 
  22.  
  23. If 386bsd 0.1 does indeed use the linux math-emulator (I haven't even
  24. checked: maybe they found something better) it shouldn't be difficult to
  25. add the fsqrt support in there (the linux math-emulator may not be fast
  26. or complete, but it's simple and relatively modular).  The code can be
  27. gotten from any linux site: while the linux source is generally
  28. copylefted, the math-code can be used freely for 386bsd (but /only/ for
  29. 386bsd - if you want to use it for something else and cannot accept the
  30. copyleft conditions, contact me). 
  31.  
  32.         Linus
  33.