ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

BPF_JSET

T1 ebpf alu insn
eBPF BPF_JSET (JMP)
SourceIETF RFC 9669 Official eBPF Instruction Set Architecture v1.0 (ebpf_rfc9669)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeeBPF ISA v1.0 (IETF RFC 9669)
Linux / Windows / Hardware eBPF VMs
License & VersionIETF Trust Legal Provisions
RFC 9669
Upstreamhttps://www.rfc-editor.org/rfc/rfc9669.txt
Privilegeuser
Extensionsbase32, base64

Summary

Jump if bitwise AND is non-zero.

Syntax / Encoding

BPF_JSET [opcodes: 0x45, 0x4d, 0x46, 0x4e] — PC += offset if (dst & src) != 0

Binary Encodings (4)

WidthFormatBit PatternMask / Match
64eBPF-JMPxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx010001010xff / 0x45
64eBPF-JMPxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx010011010xff / 0x4d
64eBPF-JMPxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx010001100xff / 0x46
64eBPF-JMPxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx010011100xff / 0x4e

Operands

NameDescription
dst_regLeft comparison operand
src_reg / immRight comparison operand
offsetRelative jump offset in 64-bit instruction slots