home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lang / asm / 575 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.7 KB  |  36 lines

  1. Newsgroups: alt.lang.asm
  2. Path: sparky!uunet!mcsun!sunic!fuw.edu.pl!cocos!jt
  3. From: jt@fuw.edu.pl (Jerzy Tarasiuk)
  4. Subject: Re: FPU
  5. In-Reply-To: riouxm@JSP.UMontreal.CA's message of 14 Jan 93 16:29:11 GMT
  6. Message-ID: <JT.93Jan22212822@fizyk1.fuw.edu.pl>
  7. Sender: news@fuw.edu.pl
  8. Nntp-Posting-Host: fizyk1
  9. Organization: Warsaw University Physics Dept.
  10. References: <1993Jan14.162911.21489@cc.umontreal.ca>
  11. Date: Fri, 22 Jan 1993 20:28:22 GMT
  12. Lines: 22
  13.  
  14. >>>>> On 14 Jan 93 16:29:11 GMT, riouxm@JSP.UMontreal.CA (Rioux Martin) said:
  15. Rioux> terra@diku.dk (Morten Welinder) Writes:
  16. >No. (Except for FStsw Ax on 80287 and better.) To gain speed use parallel
  17. >execution of FPU and IU.
  18.  
  19. Rioux> What do you mean by parallel execution of FPU and IU..? I'm new at this.
  20. Rioux> If someone has more HINTS for me please write...
  21.  
  22. FPU (more formerly NDP, Numeric Data Processor) works paralelly with
  23. CPU (while FPU makes computations, CPU may execute next instructions).
  24. This causes when FPU stores any result to memory, CPU must verify the
  25. result was stored before attempts to get it (otherwise would be able
  26. to read old contents of memory instead the newly stored data).
  27. The verification is done by WAIT (FWAIT) instruction which waits until
  28. FPU finishes its instruction. Note on 80287 or better any FPU opcode
  29. acts as WAIT for previous (on 8087 not, since any but first FPU opcode
  30. must be preceded by WAIT or result will be unpredictable).
  31. There are cases when WAIT cannot be used: if want to reset FPU even if
  32. it is busy (throwing away its current work for a case due to error it
  33. is endless) or when don't know if FPU exist (would wait forever; to
  34. detect FPU need execute FNINIT, delay, FNSTSW, delay, check what was
  35. stored - if anything stored, FPU exists).
  36.