ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

BPF_LDX_MEM

T1 ebpf alu insn
eBPF BPF_LDX_MEM (MEM)
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

Generic unsigned load from memory (8/16/32/64-bit).

Syntax / Encoding

BPF_LDX_MEM [opcodes: 0x61, 0x69, 0x71, 0x79] — dst = *(type *)(src + offset) [W=0x61, H=0x69, B=0x71, DW=0x79]

Binary Encodings (4)

WidthFormatBit PatternMask / Match
64eBPF-MEMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx011000010xff / 0x61
64eBPF-MEMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx011010010xff / 0x69
64eBPF-MEMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx011100010xff / 0x71
64eBPF-MEMxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx011110010xff / 0x79

Operands

NameDescription
dst_regDestination register or base address
src_regBase address (LDX) or source value (STX/ATOMIC)
offsetSigned 16-bit address offset