https://sourceware.org/bugzilla/show_bug.cgi?id=32176

--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Faust <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bdb4d0030dedaaf18f09690218a2896ea57a4cdd

commit bdb4d0030dedaaf18f09690218a2896ea57a4cdd
Author: David Faust <[email protected]>
Date:   Wed Feb 4 13:53:34 2026 -0800

    bpf: add may_goto instruction [PR32176]

    The BPF "may_goto" instruction is a special sort of conditional jump
    where the condition is determined by the BPF runtime.  That is, it is
    a no-op until the runtime decides otherwise.

    For normal asm syntax, the mnemonic "jcond" is chosen in keeping with
    the style of following the opcode definitions in the Linux kernel uapi
    BPF headers.

    This instruction is not currently emitted by GCC, but it can be inserted
    into BPF programs via macros defined in the Linux kernel.

            PR gas/32176

    include/
            * opcode/bpf.h (BPF_CODE_JCOND): New.
            (bpf_insn_id): Add BPF_INSN_JCOND.

    opcodes/
            * bpf-opc.c: Add entry for BPF_INSN_JCOND.

    gas/testsuite/
            * gas/bpf/bpf.exp: Run new dump tests.
            * gas/bpf/jcond-be-pseudoc.d: New.
            * gas/bpf/jcond-be.d: New.
            * gas/bpf/jcond-pseudoc.d: New.
            * gas/bpf/jcond-pseudoc.s: New.
            * gas/bpf/jcond.d: New.
            * gas/bpf/jcond.s: New.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to