Partager via


ARM Vector Floating-Point Unit Support

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);

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

  • pOEMSaveVFPCtrlRegs
  • pOEMRestoreVFPCtrlRegs
  • pOEMHandleVFPException

See Also

ARM Kernels

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.