All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Ramin Moussavi" <ramin.moussavi@yacoub.de>,
	<bpf@vger.kernel.org>, "Daniel Borkmann" <daniel@iogearbox.net>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>,
	"Dave Thaler" <dthaler1968@googlemail.com>
Subject: Re: [PATCH bpf-next 0/1] selftests/bpf: cover shift counts over all operand register pairs
Date: Thu, 03 Dec 2026 04:23:18 +0000	[thread overview]
Message-ID: <DNAT7K662ZA2.2CXST8RW3TKIE@gmail.com> (raw)
In-Reply-To: <20261202221801.3863568-1-ramin.moussavi@yacoub.de>

On Wed, Dec 02, 2026 at 02:18 PM Ramin Moussavi <ramin.moussavi@yacoub.de> wrote:
> So either the 2023 definition is what a JIT owes, and four of the
> targets below are wrong, or "undefined" still holds and the sentence in
> the ISA document is the thing to fix.  The measurements are the same
> under both readings.

JITs have to mask. I don't think you're seriously suggesting
to "fix" RFC 9669 instead of JITs.

> A hundred pairs times three counts is still a small test.  The patch
> below adds the sweep.  jit_insns/shift_counts is already red on arm32,
> x86-32 and powerpc32 for part of the counts, so no green subtest turns
> red -- the cases the sweep adds are failures in the JITs, not in the
> test.  The probe used for the measurements is a single self-contained

More red cases in a red subtest don't fix a JIT.
BPF CI doesn't run 32-bit JITs. It doesn't see the new failures.

Pls send the fixes for the JITs if you care.

pw-bot: cr

      parent reply	other threads:[~2026-12-03  4:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 22:18 [PATCH bpf-next 0/1] selftests/bpf: cover shift counts over all operand register pairs Ramin Moussavi
2026-12-02 22:18 ` [PATCH bpf-next 1/1] selftests/bpf: Check shift counts across " Ramin Moussavi
2026-12-02 22:21   ` sashiko-bot
2026-12-03  4:23 ` Alexei Starovoitov [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=DNAT7K662ZA2.2CXST8RW3TKIE@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=dthaler1968@googlemail.com \
    --cc=eddyz87@gmail.com \
    --cc=memxor@gmail.com \
    --cc=ramin.moussavi@yacoub.de \
    /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.