OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [softfloat/] [README] - Blame information for rev 233

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 233 julius
                                SoftFloat
2
 
3
This provides a software implementation of functions performing floating point
4
operations according to the IEEE 754 standard.
5
 
6
It is used in or1ksim due to problems arising when using the simulator host
7
machine's floating point unit to perform single precision floating point
8
calculations (or even double, in some cases.) Typically the host machine's FPU
9
will support extended (80-bit), or higher, precision, resulting in values which
10
can differ from those which are calculated on a true single or double precision
11
floating point unit (very small differences when in rounding and generating
12
status flags.)
13
 
14
Although using a software implementation is slow, it ensures an accurate
15
simulation of a single or double precision floating point unit.
16
 
17
This software was sourced from the author's (John Hauser) site:
18
 
19
http://www.jhauser.us/arithmetic/SoftFloat.html
20
 
21
Julius Baxter, August 1, 2010

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.