Back to home page

LXR

 
 

    


Warning, /bsps/m68k/shared/fpsp/README.md is written in an unsupported language. File is not indexed.

0001 M68040FPSP Floating Point
0002 =========================
0003 
0004 Motorola 68040 floating point support package
0005 
0006 Modified for RTEMS by Eric Norum (eric@norum.ca)
0007 
0008 To include these routines in your application call
0009 
0010         M68KFPSPInstallExceptionHandlers ();
0011 
0012 before performing any floating point operations.
0013 
0014 
0015 Acknowledgement
0016 ---------------
0017 
0018 This code can be obtain from the Motorola Engineer's Toolbox WWW page
0019 at http://www.mot.com/SPS/HPESD/tools/freeware/040fpsp.html.  Here is
0020 the description from that page:
0021 
0022   The MC68040 contains a subset of the floating-point hardware that is
0023   implemented in the MC68881/882 devices and as such provides reduced yet
0024   high performance on-chip floating-point support. Those applications that
0025   require full compatibility with earlier members of the M68000 family
0026   will need to provide emulation support fo r the un-implemented MC68040
0027   floating-point instructions. The M68040FPSP provides complete emulation
0028   of the floating-point functionality available in the MC68881/882. 
0029 
0030   The M68040FPSP is offered in source code form to allow integration into
0031   existing systems to support either a kernel or library version of
0032   floating-point support. The M68040FPSP operates in conjunction with the
0033   on-chip MC68040 features to provide fast and full emulation. The kernel
0034   version allows full emulation via a trap mechanism to allow full binary
0035   compatibility and is fully reentrant. The library version is used to
0036   eliminate the trap overhead in situation where re-compilation is
0037   possible or desired. 
0038 
0039 From this page one may download the original source code.  Inline with
0040 the first sentence of the second paragraph, we have integrated it with
0041 RTEMS.