Math Coprocessors

Gordon Burditt gordon at sneaky.UUCP
Tue Nov 27 09:52:28 AEST 1990


>    If an application uses floating-point instructions and an FPU
>    is present, then the kernel will make sure the application 
>    uses the FPU.
>    If an application uses floating-point instructions and an FPU
>    is not present, then the kernel will emulate the FPU on behalf
>    of the application.
>    In no case does the kernel itself use floating-point instructions
>    or the FPU.

How, then, is it arranged that process A and process B, both of which use
floating point, don't stomp all over each other's FPU registers?  It would
seem that the kernel must minimally load and unload the FPU state when
necessary due to process switches between processes using the FPU.

If it doesn't use any floating-point instructions, how does it figure out
whether the FPU is present?


					Gordon L. Burditt
					sneaky.lonestar.org!gordon



More information about the Comp.unix.questions mailing list