Implement fmod, frem, fscale, fgetman and fgetexp.

Instead of using functions of libm (v1 of this series)
and converting between host long double and floatx80 type
the new version (v2) adds new floatx80 functions in softfloat.

All the floatx80 functions are copied from "Previous",
the NeXT Computer Emulator, and written by Andreas Grabher.

Laurent Vivier (5):
  softfloat: add floatx80_mod()
  target/m68k: add fmod/frem
  softfloat: use floatx80_infinity in softfloat
  softfloat: add floatx80_getman(), floatx80_getexp(), floatx80_scale()
  target-m68k: add fscale, fgetman and fgetexp

 fpu/softfloat-specialize.h |  29 +++++
 fpu/softfloat.c            | 258 ++++++++++++++++++++++++++++++++++++++++++---
 include/fpu/softfloat.h    |  13 ++-
 target/m68k/cpu.h          |   1 +
 target/m68k/fpu_helper.c   |  48 +++++++++
 target/m68k/helper.h       |   5 +
 target/m68k/translate.c    |  15 +++
 7 files changed, 355 insertions(+), 14 deletions(-)

-- 
2.13.6


Reply via email to