Proposed changes to io.h

John Whitney johnw at
Thu Apr 1 03:32:47 EST 2004

On Mar 31, 2004, at 11:58 AM, Dan Malek wrote:

> Eugene Surovegin wrote:
>> I wonder will it work on 4xx CPUs which don't have floating point
>> unit?
> It won't work on anything, will it?  Floating point isn't enabled for
> the kernel, unless I missed that update.

This code specifically handles this by enabling the FP bit in the MSR,
bypassing the standard floating point handling.  It saves the contents
of FP0, uses it, restores the contents, restores the MSR, and exits.


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list