From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Cc: WANG Rui <wangrui@loongson.cn>
Subject: Re: [PATCH] fpu: Process float_muladd_negate_result after rounding
Date: Wed, 7 May 2025 17:26:49 +0200 [thread overview]
Message-ID: <5fdd8922-9ce4-4547-b909-88e3f2232d0b@linaro.org> (raw)
In-Reply-To: <20250507145013.4024038-1-richard.henderson@linaro.org>
On 7/5/25 16:50, Richard Henderson wrote:
> Changing the sign before rounding affects the correctness of
> the asymmetric rouding modes: float_round_up and float_round_down.
>
> Reported-by: WANG Rui <wangrui@loongson.cn>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> fpu/softfloat.c | 54 +++++++++++++++++++++++------
> tests/tcg/multiarch/fnmsub.c | 36 +++++++++++++++++++
> fpu/softfloat-parts.c.inc | 4 ---
> tests/tcg/multiarch/Makefile.target | 1 +
> 4 files changed, 81 insertions(+), 14 deletions(-)
> create mode 100644 tests/tcg/multiarch/fnmsub.c
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
prev parent reply other threads:[~2025-05-07 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 14:50 [PATCH] fpu: Process float_muladd_negate_result after rounding Richard Henderson
2025-05-07 15:26 ` Philippe Mathieu-Daudé [this message]
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=5fdd8922-9ce4-4547-b909-88e3f2232d0b@linaro.org \
--to=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=wangrui@loongson.cn \
/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).