aboutsummaryrefslogtreecommitdiff
path: root/gprof/testsuite
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2026-02-04 13:53:34 -0800
committerDavid Faust <david.faust@oracle.com>2026-02-05 12:26:09 -0800
commitbdb4d0030dedaaf18f09690218a2896ea57a4cdd (patch)
tree204157deee3621e972f07f9512c27d23212a2734 /gprof/testsuite
parentba61cf9952f4f0c4b3d237348e8e17641918d354 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
bpf: add may_goto instruction [PR32176]HEADmaster
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 'gprof/testsuite')
0 files changed, 0 insertions, 0 deletions