Share via


ARM Vector Floating-Point Unit Support

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The ARM kernels enable support for ARM floating-point units (FPUs). The standard specification for the floating-point unit requires, at a minimum, imprecise handling of floating point exceptions where an error is not detected until a second error occurs.

To fully enable support for the FPU, you must implement the functions shown in the following code example.

void OEMRestoreVFPCtrlRegs(LPDWORD lpExtra, int nMaxRegs);
void OEMSaveVFPCtrlRegs(LPDWORD lpExtra, int nMaxRegs);
BOOL OEMHandleVFPException(EXCEPTION_RECORD *er, PCONTEXT pctx);

For more information, see OEMRestoreVFPCtrlRegs, OEMSaveVFPCtrlRegs, and OEMHandleVFPException.

The following functions are assigned their appropriate addresses in the OAL and then during OEMInit:

  • pOEMSaveVFPCtrlRegs
  • pOEMRestoreVFPCtrlRegs
  • pOEMHandleVFPException

See Also

Concepts

ARM Kernels