Re: [PATCH bpf-next 5/5] bpf, x86: Add unconditional byte swap to the i386 JIT

From: bot+bpf-ci

Date: Mon Sep 14 2026 - 23:16:00 EST


> bpf, x86: Add unconditional byte swap to the i386 JIT
>
> The i386 JIT rejects unconditional BPF byte-swap instructions, which use
> BPF_ALU64 | BPF_END.
>
> Route them through the existing big-endian conversion emitter. On
> little-endian i386, it provides the same 16-, 32- and 64-bit byte swaps.
> The verifier treats sub-64-bit BPF_END results as 32-bit definitions and
> inserts zero extension where the upper word is used. The emitter clears
> that word itself when verifier_zext is disabled.
>
> Assisted-by: Codex:gpt-6
> Signed-off-by: Nicholas Dudar <main.kalliope@xxxxxxxxx>

This looks like a bug fix for the i386 JIT's byte-swap support. Should this
include:

Fixes: 03f5781be2c7 ("bpf, x86_32: add eBPF JIT compiler for ia32")


---
AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md

CI run summary: https://github.com/kernel-patches/bpf/actions/runs/34921540254