From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <rth@twiddle.net>,
Thomas Huth <huth@tuxfamily.org>,
Laurent Vivier <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH v3 0/4] target/m68k: implement 680x0 FPU (part 3)
Date: Fri, 23 Feb 2018 15:59:55 +0100 [thread overview]
Message-ID: <20180223145959.18761-1-laurent@vivier.eu> (raw)
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.
v3: Move all new functions to target/m68k/softfloat.c
Exports needed functions from fpu/softfloat.c
Laurent Vivier (4):
softfloat: export some functions
target/m68k: add fmod/frem
softfloat: use floatx80_infinity in softfloat
target/m68k: add fscale, fgetman and fgetexp
fpu/softfloat-specialize.h | 17 ++-
fpu/softfloat.c | 129 +++++------------
{fpu => include/fpu}/softfloat-macros.h | 10 +-
include/fpu/softfloat.h | 129 ++++++++++++++++-
target/m68k/Makefile.objs | 3 +-
target/m68k/cpu.h | 1 +
target/m68k/fpu_helper.c | 50 ++++++-
target/m68k/helper.h | 5 +
target/m68k/softfloat.c | 249 ++++++++++++++++++++++++++++++++
target/m68k/softfloat.h | 29 ++++
target/m68k/translate.c | 15 ++
11 files changed, 533 insertions(+), 104 deletions(-)
rename {fpu => include/fpu}/softfloat-macros.h (98%)
create mode 100644 target/m68k/softfloat.c
create mode 100644 target/m68k/softfloat.h
--
2.14.3
next reply other threads:[~2018-02-23 15:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 14:59 Laurent Vivier [this message]
2018-02-23 14:59 ` [Qemu-devel] [PATCH v3 1/4] softfloat: export some functions Laurent Vivier
2018-02-24 1:26 ` Richard Henderson
2018-02-23 14:59 ` [Qemu-devel] [PATCH v3 2/4] target/m68k: add fmod/frem Laurent Vivier
2018-02-24 1:31 ` Richard Henderson
2018-02-23 14:59 ` [Qemu-devel] [PATCH v3 3/4] softfloat: use floatx80_infinity in softfloat Laurent Vivier
2018-02-24 2:26 ` Richard Henderson
2018-02-24 17:21 ` Laurent Vivier
2018-02-24 17:26 ` Richard Henderson
2018-02-24 17:42 ` Laurent Vivier
2018-02-23 14:59 ` [Qemu-devel] [PATCH v3 4/4] target/m68k: add fscale, fgetman and fgetexp Laurent Vivier
2018-02-24 2:33 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180223145959.18761-1-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=huth@tuxfamily.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).