home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10660 < prev    next >
Encoding:
Text File  |  1992-12-27  |  980 b   |  36 lines

  1. Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
  2. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: [386BSD] GCC 2.3.2 floating point problems
  5. Date: 27 Dec 1992 21:59:41 GMT
  6. Organization: /etc/organization
  7. Lines: 23
  8. Distribution: world
  9. Message-ID: <1hl90dINNjsh@life.ai.mit.edu>
  10. References: <1hklblINN7rb@life.ai.mit.edu>
  11. NNTP-Posting-Host: hal.gnu.ai.mit.edu
  12.  
  13.  
  14. In article <1hklblINN7rb@life.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu
  15. (Charles Hannum) writes:
  16. >
  17. > ldexp() is such a trivial function that I don't know why it wasn't
  18. > just coded in assembly language.
  19.  
  20. With foot halfway in mouth, I point out that I missed a trivial
  21. optimization:
  22.  
  23. #include    "DEFS.h"
  24.  
  25. ENTRY(ldexp)
  26.     fildl    12(%esp)
  27.     fldl    4(%esp)
  28.     fscale
  29.     fstp    %st(1)
  30.     ret
  31.  
  32. -- 
  33.  \  /   Charles Hannum, mycroft@ai.mit.edu
  34.  /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
  35. Scheme  White heterosexual atheist male (WHAM) pride!
  36.