nwfpe.rst 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Introduction
  2. ============
  3. This directory contains the version 0.92 test release of the NetWinder
  4. Floating Point Emulator.
  5. The majority of the code was written by me, Scott Bambrough It is
  6. written in C, with a small number of routines in inline assembler
  7. where required. It was written quickly, with a goal of implementing a
  8. working version of all the floating point instructions the compiler
  9. emits as the first target. I have attempted to be as optimal as
  10. possible, but there remains much room for improvement.
  11. I have attempted to make the emulator as portable as possible. One of
  12. the problems is with leading underscores on kernel symbols. Elf
  13. kernels have no leading underscores, a.out compiled kernels do. I
  14. have attempted to use the C_SYMBOL_NAME macro wherever this may be
  15. important.
  16. Another choice I made was in the file structure. I have attempted to
  17. contain all operating system specific code in one module (fpmodule.*).
  18. All the other files contain emulator specific code. This should allow
  19. others to port the emulator to NetBSD for instance relatively easily.
  20. The floating point operations are based on SoftFloat Release 2, by
  21. John Hauser. SoftFloat is a software implementation of floating-point
  22. that conforms to the IEC/IEEE Standard for Binary Floating-point
  23. Arithmetic. As many as four formats are supported: single precision,
  24. double precision, extended double precision, and quadruple precision.
  25. All operations required by the standard are implemented, except for
  26. conversions to and from decimal. We use only the single precision,
  27. double precision and extended double precision formats. The port of
  28. SoftFloat to the ARM was done by Phil Blundell, based on an earlier
  29. port of SoftFloat version 1 by Neil Carson for NetBSD/arm32.
  30. The file README.FPE contains a description of what has been implemented
  31. so far in the emulator. The file TODO contains a information on what
  32. remains to be done, and other ideas for the emulator.
  33. Bug reports, comments, suggestions should be directed to me at
  34. <[email protected]>. General reports of "this program doesn't
  35. work correctly when your emulator is installed" are useful for
  36. determining that bugs still exist; but are virtually useless when
  37. attempting to isolate the problem. Please report them, but don't
  38. expect quick action. Bugs still exist. The problem remains in isolating
  39. which instruction contains the bug. Small programs illustrating a specific
  40. problem are a godsend.
  41. Legal Notices
  42. -------------
  43. The NetWinder Floating Point Emulator is free software. Everything Rebel.com
  44. has written is provided under the GNU GPL. See the file COPYING for copying
  45. conditions. Excluded from the above is the SoftFloat code. John Hauser's
  46. legal notice for SoftFloat is included below.
  47. -------------------------------------------------------------------------------
  48. SoftFloat Legal Notice
  49. SoftFloat was written by John R. Hauser. This work was made possible in
  50. part by the International Computer Science Institute, located at Suite 600,
  51. 1947 Center Street, Berkeley, California 94704. Funding was partially
  52. provided by the National Science Foundation under grant MIP-9311980. The
  53. original version of this code was written as part of a project to build
  54. a fixed-point vector processor in collaboration with the University of
  55. California at Berkeley, overseen by Profs. Nelson Morgan and John Wawrzynek.
  56. THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort
  57. has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT
  58. TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO
  59. PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY
  60. AND ALL LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE.
  61. -------------------------------------------------------------------------------