1 | M68040FPSP -- Motorola 68040 floating point support package |
---|
2 | ----------------------------------------------------------- |
---|
3 | |
---|
4 | Modified for RTEMS by Eric Norum (eric@skatter.usask.ca) |
---|
5 | |
---|
6 | To include these routines in your application call |
---|
7 | |
---|
8 | M68KFPSPInstallExceptionHandlers (); |
---|
9 | |
---|
10 | before performing any floating point operations. |
---|
11 | |
---|
12 | Acknowledgement |
---|
13 | --------------- |
---|
14 | |
---|
15 | This code can be obtain from the Motorola Engineer's Toolbox WWW page |
---|
16 | at http://www.mot.com/SPS/HPESD/tools/freeware/040fpsp.html. Here is |
---|
17 | the description from that page: |
---|
18 | |
---|
19 | The MC68040 contains a subset of the floating-point hardware that is |
---|
20 | implemented in the MC68881/882 devices and as such provides reduced yet |
---|
21 | high performance on-chip floating-point support. Those applications that |
---|
22 | require full compatibility with earlier members of the M68000 family |
---|
23 | will need to provide emulation support fo r the un-implemented MC68040 |
---|
24 | floating-point instructions. The M68040FPSP provides complete emulation |
---|
25 | of the floating-point functionality available in the MC68881/882. |
---|
26 | |
---|
27 | The M68040FPSP is offered in source code form to allow integration into |
---|
28 | existing systems to support either a kernel or library version of |
---|
29 | floating-point support. The M68040FPSP operates in conjunction with the |
---|
30 | on-chip MC68040 features to provide fast and full emulation. The kernel |
---|
31 | version allows full emulation via a trap mechanism to allow full binary |
---|
32 | compatibility and is fully reentrant. The library version is used to |
---|
33 | eliminate the trap overhead in situation where re-compilation is |
---|
34 | possible or desired. |
---|
35 | |
---|
36 | From this page one may download the original source code. Inline with |
---|
37 | the first sentence of the second paragraph, we have integrated it with |
---|
38 | RTEMS. |
---|
39 | |
---|
40 | |
---|