[Qemu-devel] [PATCH 0/7] target/m68k: implement 680x0 FPU (part 2)

Laurent Vivier posted 7 patches 6 years, 9 months ago
Only 4 patches received!
There is a newer version of this series
fpu/softfloat.c          |  15 ++
include/fpu/softfloat.h  |   1 +
target/m68k/fpu_helper.c | 283 ++++++++++++++++++++++++++++++++++++-
target/m68k/helper.h     |  22 ++-
target/m68k/translate.c  | 357 +++++++++++++++++++++++++++++++----------------
5 files changed, 555 insertions(+), 123 deletions(-)
[Qemu-devel] [PATCH 0/7] target/m68k: implement 680x0 FPU (part 2)
Posted by Laurent Vivier 6 years, 9 months ago
Second part of patches submitted in the v3.

This series adds a subset of single precision and
double precision instructions using
set_floatx80_rounding_precision() to round the result.

For some other instructions, we introduce a new
function, floatx80_round(), to round them manually.

It also adds instructions fsglmul, fsgldiv,
fmovecr and fscc (since v3, use tcg_gen_setcond())

fmovem manages static and dynamic register list,
all the code has been moved to an helper.

Laurent Vivier (7):
  target/m68k: add fscc.
  target/m68k: add fmovecr
  target/m68k: add fsglmul and fsgldiv
  target/m68k: add explicit single and double precision operations
  softfloat: define floatx80_round()
  target/m68k: add explicit single and double precision operations (part
    2)
  target/m68k: add fmovem

 fpu/softfloat.c          |  15 ++
 include/fpu/softfloat.h  |   1 +
 target/m68k/fpu_helper.c | 283 ++++++++++++++++++++++++++++++++++++-
 target/m68k/helper.h     |  22 ++-
 target/m68k/translate.c  | 357 +++++++++++++++++++++++++++++++----------------
 5 files changed, 555 insertions(+), 123 deletions(-)

-- 
2.9.4