CompuServe Messages

Math coprocessor

    19-Jun-93 12:27:37
Sb: Math coprocessor
Fm: Shraddhan 70374,754
To: All
When writing code using a hardware math FPU, can I simply include the instructions inline in my code, or do I need to obtain some kind of lock on the FPU? How does the exec task switching know whose program is using the FPU at any time? Or does it even need to know? I was under the impression that the FPU ran asynchronously with the main processor, in which case, the calling routine could be suspended at any time and another program might take over the use of the FPU at an inappropriate moment for it. Regards, Shraddhan (via AP at last from Hertfordshire, England)