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

LEA_TEX_IMM

T2 mali-gpu load_store insn
Mali Valhall LEA_TEX_IMM — Load effective address of image texel
SourceArm Mali Valhall GPU ISA Specification (Mesa Panfrost) (mali_valhall_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArm Mali Valhall (G57–G720 / Immortalis)
Arm Mali Valhall (G57, G77, G78, G610, G710, Immortalis-G715/G720/G925)
License & VersionMIT
mesa/main
Upstreamhttps://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/panfrost/compiler/bifrost/valhall/ISA.xml
Privilegeuser
ExtensionsValhall, Unit:LS

Summary

Load the effective address of a texel from the image specified with the given immediate index. Returns three staging registers: the low/high 32-bits of the address and the internal conversion descriptor. The format of the internal conversion descriptor is compatible with Bifrost but omits the register format, as this is specified with the ST_CVT instruction on Valhall. Coordinates are specified as 16-bit integers…

Syntax / Encoding

LEA_TEX_IMM.slot src0, src1, table, index

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64Valhall-LSxxxxxxx001100111xxxxxxxxx01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0x01ff006000000000 / 0x0067002000000000

Operands

NameDescription
src0X/Y coordinates (16:16)
src1Z/W coordinates (16:16)
table
index