On Mar 31, 2004, at 11:58 AM, Dan Malek wrote:
Eugene Surovegin wrote:
quoted
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.
John
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/