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

eBPF 64-bit Basic Instruction Format

T1 ebpf encoding_format encoding_format
IETF RFC 9669 Standard 64-bit eBPF Binary Encoding Layout
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

Summary

Standard 64-bit eBPF binary instruction layout: imm (bits 63:32), offset (31:16), src_reg (15:12), dst_reg (11:8), opcode (7:0).

Syntax / Encoding

[imm:32 | offset:16 | src:4 | dst:4 | opcode:8]

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64eBPF-64b /

Bitfields (5)

BitsFieldDescription
63:32immSigned 32-bit immediate constant
31:16offsetSigned 16-bit memory/jump offset
15:12src_regSource register (R0–R10)
11:8dst_regDestination register (R0–R10)
7:0opcodeOperation code (class[2:0] + source/mode + op[7:4])