All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v2 2/6] scripts/tests: add regen-reference.sh
Date: Thu, 03 Dec 2026 09:05:31 +0000	[thread overview]
Message-ID: <87cxri20pw.fsf@draig.linaro.org> (raw)
In-Reply-To: <7d6acb34-9346-42be-a8e1-0d03fa1bb0e6@linaro.org> (Richard Henderson's message of "Wed, 2 Dec 2026 13:26:18 -0800")

Richard Henderson <richard.henderson@linaro.org> writes:

> On 12/1/26 03:30, Alex Bennée wrote:
>> While we should verify references with real hardware we don't have
>> hardware for all cases. Since the meson conversion we've made
>> reference files mandatory so lets include a helper script to make
>> things a bit easier to update.
>> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
>> ---
>> v2
>>    - moved the refs to the next patch
>> ---
>>   scripts/tests/regen-reference.sh | 87 ++++++++++++++++++++++++++++++++
>>   1 file changed, 87 insertions(+)
>>   create mode 100755 scripts/tests/regen-reference.sh
>
> I'm not keen on this.
>
> As you say, ideally we'd *always* use hardware to generate the
> reference.  For some targets that's impractical, but for some it
> isn't, and using this script is just encouraging incorrect behaviour.
>
> I think we should never use this for hardware present in cfarm.net:
>
>   x86, aarch64, powerpc, s390x, riscv64, loongarch64

So I did manually test x86, aarch64, arm, ppc64 and s390x but I don't
have access to riscv64 or loongarch hardware. However the main reason I
wrote the script was because generating all the reference by hand was
super tedious.

>
> Most of those aarch64 hosts support arm32 el0, so we can include arm
> in there as well.
>
> There are Sparc machines, but the non-flaky ones are Solaris, so I'm
> inclined to skip those.
>
> There is are two mips64, but those are both flaky, so I'm skipping those.
>
>
> r~

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  parent reply	other threads:[~2026-12-03  9:06 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 [this message]
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
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=87cxri20pw.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --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 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.