home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / programm / 4667 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.7 KB

  1. Xref: sparky comp.os.os2.programmer:4667 comp.os.os2.misc:28983
  2. Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
  3. Path: sparky!uunet!weyrich!orville
  4. From: orville%weyrich@tnet.com (Orville R. Weyrich)
  5. Subject: Re: Does math coprocessor speed up GUI (here: OS/2 presentation mgr)?
  6. Message-ID: <1992Sep2.055929.24169@weyrich.UUCP>
  7. Sender: orville@weyrich.UUCP (Orville R. Weyrich)
  8. Reply-To: tnet.com!weyrich!orville
  9. Organization: Weyrich Computer Consulting
  10. References: <1992Aug31.034803.27829@unixg.ubc.ca>
  11. Date: Wed, 2 Sep 92 05:59:29 GMT
  12. Lines: 47
  13.  
  14. In article <1992Aug31.034803.27829@unixg.ubc.ca> ochealth@unixg.ubc.ca (ochealth) writes:
  15. >
  16. >
  17. >This is pure speculation, as I haven't checked out the 386/7 or 486 instructions
  18. >but couldn't some PM applications seem faster because OS/2 can shove several
  19. >instructions at the coprocessor, and then continue with another task?
  20. >
  21. >I thought that the CPU and the FPU worked more-or-less independently of
  22.  
  23. As far as I know, the O/S makes no difference -- it is entirely possible
  24. to have the 80x86 chip do some non-dependent ** calculations while the
  25. 80x87 chip is doing it's thing. There is an instruction that is the 
  26. equivalent of a "join" -- it forces the 80x86 to wait for the 80x87 to
  27. complete its work before the program procedes further. But if there is
  28. something else that the 80x86 can do in the meantime [typical example:
  29. index or pointer arithmetic], the the only limitation is that of the
  30. programmer's or compiler's intelligence. 
  31.  
  32. ** A  non-dependent calculation is one that can be done using input
  33. data that is not being produced by the co-processor.
  34.  
  35. It is poor programming practice to leave out the "wait" instruction --
  36. even if the timing works out alright now, a future version of the
  37. 80x87 or 80x86 [or combined equivalent] might have different cycle times
  38. for the two parallel execution threads and the program might fail on those
  39. processors.
  40.  
  41. orville
  42.  
  43. --------------------------------------       **********************************
  44. Orville R. Weyrich, Jr.                          Weyrich Computer Consulting
  45. Certified Data Processor                       POB 5782, Scottsdale, AZ 85261
  46. Certified Systems Professional                      Voice: (602) 391-0821
  47. Certified Computer Programmer                Internet: orville%weyrich@tnet.com
  48. --------------------------------------       **********************************
  49. >each other. Under DOS anyway, I thought the CPU had to wait for the FPU
  50. >to finish to get results back.
  51. >
  52. >jpm
  53. >
  54. >-- 
  55. >______________________________________________________________________________
  56. >jpm: ochealth@unixg.ubc.ca         
  57. >                            Happily using OS/2 2.0 because MS Windows isNT ___
  58. >                                                      Insert VapourFeature ^^^
  59.  
  60.  
  61.