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

LEA_TEX

T2 mali-gpu load_store insn
Mali Valhall LEA_TEX — 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 index. Returns three staging register: 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, packed into…

Syntax / Encoding

LEA_TEX.slot.vecsize src0, src1, src2

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64Valhall-LSxxxxxxx001110111xxxxxxxxx01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0x01ff006000000000 / 0x0077002000000000

Operands

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