From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: "Aurelien Jarno" <aurelien@aurel32.net>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Richard Henderson" <rth@twiddle.net>,
"Laurent Vivier" <laurent@vivier.eu>
Subject: [Qemu-devel] [PATCH v2 0/7] target/m68k: implement 680x0 FPU (part 2)
Date: Tue, 27 Jun 2017 00:03:23 +0200 [thread overview]
Message-ID: <20170626220330.6785-1-laurent@vivier.eu> (raw)
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.
v2:
Fix gen_fcc_cond(): g[12] mark global variables,
not variables to free.
use floatx80_round() to compute fsglmul and fsgldiv
split fmovem helper into 6 helpers
Laurent Vivier (7):
target/m68k: add fscc.
target/m68k: add fmovecr
target/m68k: add explicit single and double precision operations
softfloat: define floatx80_round()
target/m68k: add fsglmul and fsgldiv
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 | 300 +++++++++++++++++++++++++++++++++++-
target/m68k/helper.h | 27 +++-
target/m68k/translate.c | 391 ++++++++++++++++++++++++++++++++---------------
5 files changed, 611 insertions(+), 123 deletions(-)
--
2.9.4
next reply other threads:[~2017-06-26 22:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 22:03 Laurent Vivier [this message]
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 1/7] target/m68k: add fscc Laurent Vivier
2017-06-26 22:55 ` Richard Henderson
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 2/7] target/m68k: add fmovecr Laurent Vivier
2017-06-27 15:45 ` Philippe Mathieu-Daudé
2017-06-27 17:58 ` Laurent Vivier
2017-06-27 20:52 ` Philippe Mathieu-Daudé
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 3/7] target/m68k: add explicit single and double precision operations Laurent Vivier
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 4/7] softfloat: define floatx80_round() Laurent Vivier
2017-06-27 15:13 ` Laurent Vivier
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 5/7] target/m68k: add fsglmul and fsgldiv Laurent Vivier
2017-06-26 22:57 ` Richard Henderson
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 6/7] target/m68k: add explicit single and double precision operations (part 2) Laurent Vivier
2017-06-26 22:03 ` [Qemu-devel] [PATCH v2 7/7] target/m68k: add fmovem Laurent Vivier
2017-06-26 23:32 ` 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=20170626220330.6785-1-laurent@vivier.eu \
--to=laurent@vivier.eu \
--cc=aurelien@aurel32.net \
--cc=f4bug@amsat.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).