diff options
| author | David Faust <david.faust@oracle.com> | 2026-02-04 13:53:34 -0800 |
|---|---|---|
| committer | David Faust <david.faust@oracle.com> | 2026-02-05 12:26:09 -0800 |
| commit | bdb4d0030dedaaf18f09690218a2896ea57a4cdd (patch) | |
| tree | 204157deee3621e972f07f9512c27d23212a2734 /zlib/examples | |
| parent | ba61cf9952f4f0c4b3d237348e8e17641918d354 (diff) | |
| download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 | |
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.
Diffstat (limited to 'zlib/examples')
0 files changed, 0 insertions, 0 deletions
