From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Cc: Keith Packard <keithp@keithp.com>
Subject: Re: [PATCH] softfloat: Handle m68k extended precision denormals properly
Date: Mon, 21 Aug 2023 08:16:45 +0200 [thread overview]
Message-ID: <39c0089d-36f9-aae0-e9b5-9a64979773c5@linaro.org> (raw)
In-Reply-To: <20230821003237.376935-1-richard.henderson@linaro.org>
On 21/8/23 02:32, Richard Henderson wrote:
> Motorola treats denormals with explicit integer bit set as
> having unbiased exponent 0, unlike Intel which treats it as
> having unbiased exponent 1 (like all other IEEE formats).
>
> Add a flag on FloatFmt to differentiate the behaviour.
>
> Reported-by: Keith Packard <keithp@keithp.com>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> fpu/softfloat.c | 9 +++++-
> tests/tcg/m68k/denormal.c | 53 ++++++++++++++++++++++++++++++++++
> fpu/softfloat-parts.c.inc | 5 ++--
> tests/tcg/m68k/Makefile.target | 2 +-
> 4 files changed, 65 insertions(+), 4 deletions(-)
> create mode 100644 tests/tcg/m68k/denormal.c
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
next prev parent reply other threads:[~2023-08-21 6:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-21 0:32 [PATCH] softfloat: Handle m68k extended precision denormals properly Richard Henderson
2023-08-21 1:24 ` Keith Packard via
2023-08-21 3:02 ` Richard Henderson
2023-08-21 3:42 ` Keith Packard via
2023-08-21 6:16 ` Philippe Mathieu-Daudé [this message]
2023-08-21 10:16 ` BALATON Zoltan
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=39c0089d-36f9-aae0-e9b5-9a64979773c5@linaro.org \
--to=philmd@linaro.org \
--cc=keithp@keithp.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/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).