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