From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: qemu-devel@nongnu.org, "Aurelien Jarno" <aurelien@aurel32.net>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Chinmay Rath" <rathc@linux.ibm.com>,
"Helge Deller" <deller@gmx.de>,
"Chao Liu" <chao.liu@processmission.com>,
"Weiwei Li" <liwei1518@gmail.com>,
"David Hildenbrand" <david@kernel.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"LIU Zhiwei" <zhiwei_liu@linux.alibaba.com>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
qemu-riscv@nongnu.org, qemu-s390x@nongnu.org,
"Brian Cain" <brian.cain@oss.qualcomm.com>,
"Alistair Francis" <alistair.francis@wdc.com>,
"Ilya Leoshkevich" <iii@linux.ibm.com>,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Song Gao" <17746591750@163.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
qemu-arm@nongnu.org, "Stafford Horne" <shorne@gmail.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Yoshinori Sato" <yoshinori.sato@nifty.com>,
qemu-ppc@nongnu.org,
"Daniel Henrique Barboza" <daniel.barboza@oss.qualcomm.com>,
"Bibo Mao" <maobibo@loongson.cn>,
"Xianglai Li" <lixianglai@loongson.cn>,
"Laurent Vivier" <laurent@vivier.eu>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Harsh Prateek Bora" <harshpb@linux.ibm.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Aleksandar Rikalo" <arikalo@gmail.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Glenn Miles" <milesg@linux.ibm.com>
Subject: Re: [PATCH v2 5/6] fpu: promote force_soft_fma to force_soft_float
Date: Thu, 03 Dec 2026 09:10:03 +0000 [thread overview]
Message-ID: <877bhq20ic.fsf@draig.linaro.org> (raw)
In-Reply-To: <17a5ac94-7311-4d11-95b9-524ebb34c0a4@linaro.org> (Richard Henderson's message of "Wed, 2 Dec 2026 13:43:29 -0800")
Richard Henderson <richard.henderson@linaro.org> writes:
> On 12/1/26 03:30, Alex Bennée wrote:
>> Rather than only tweaking fma allow any hardfloat test failure in init
>> to force back the softfloat path. This is going to be used for
>> testing.
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>> include/fpu/softfloat.h | 6 ++++++
>> fpu/softfloat.c | 18 +++++-------------
>> 2 files changed, 11 insertions(+), 13 deletions(-)
>
> Why should a libc's broken fma disable the use of hardware addition?
>
> Nack to that.
>
> I'm open to a function, void force_soft_float_for_testing(void), which
> sets both force_soft_fma and a new force_soft_float variable to true.
I think we can probably drop 5+6 or restrict test-hard to just fp ops
where libc can get involved and break things. Is that just fma() or do
we also need to cover sqrt, compare (isgreater/less builtins) and
fpclassify?
>
>
> r~
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-12-03 9:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 11:29 [PATCH v2 0/6] [soft|hard]float: tests and bug fix for #5203 Alex Bennée
2026-12-01 11:29 ` [PATCH v2 1/6] meson: expose MESON_SOURCE_ROOT to scripts Alex Bennée
2026-12-01 11:30 ` [PATCH v2 2/6] scripts/tests: add regen-reference.sh Alex Bennée
2026-12-02 21:12 ` Pierrick Bouvier
2026-12-02 21:26 ` Richard Henderson
2026-12-02 21:31 ` Pierrick Bouvier
2026-12-02 21:38 ` Philippe Mathieu-Daudé
2026-12-02 21:48 ` Pierrick Bouvier
2026-12-03 9:05 ` Alex Bennée
2026-12-01 11:30 ` [PATCH v2 3/6] tests/tcg: extend the float_madds test case Alex Bennée
2026-12-02 21:12 ` Pierrick Bouvier
2026-12-02 21:35 ` Richard Henderson
2026-12-01 11:30 ` [PATCH v2 4/6] fpu/softfloat: gate hardfloat on working fmaf Alex Bennée
2026-12-02 21:37 ` Richard Henderson
2026-12-01 11:30 ` [PATCH v2 5/6] fpu: promote force_soft_fma to force_soft_float Alex Bennée
2026-12-02 21:43 ` Richard Henderson
2026-12-03 9:10 ` Alex Bennée [this message]
2026-12-01 11:30 ` [PATCH v2 6/6] tests/fp: add fp-test-hard Alex Bennée
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=877bhq20ic.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=17746591750@163.com \
--cc=alistair.francis@wdc.com \
--cc=arikalo@gmail.com \
--cc=aurelien@aurel32.net \
--cc=berrange@redhat.com \
--cc=brian.cain@oss.qualcomm.com \
--cc=chao.liu@processmission.com \
--cc=daniel.barboza@oss.qualcomm.com \
--cc=david@kernel.org \
--cc=deller@gmx.de \
--cc=harshpb@linux.ibm.com \
--cc=iii@linux.ibm.com \
--cc=jiaxun.yang@flygoat.com \
--cc=laurent@vivier.eu \
--cc=liwei1518@gmail.com \
--cc=lixianglai@loongson.cn \
--cc=maobibo@loongson.cn \
--cc=marcandre.lureau@redhat.com \
--cc=milesg@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=rathc@linux.ibm.com \
--cc=richard.henderson@linaro.org \
--cc=shorne@gmail.com \
--cc=yoshinori.sato@nifty.com \
--cc=zhiwei_liu@linux.alibaba.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.