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

mad.f32

T2 adreno-gpu fp insn
Qualcomm Adreno ir3 CAT3: mad.f32
SourceQualcomm Adreno ir3 GPU ISA Specification (Mesa Freedreno) (adreno_ir3_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeQualcomm Adreno ir3 (a300+)
Qualcomm Adreno a3xx / a4xx / a5xx / a6xx / a7xx / a8xx GPUs
License & VersionMIT
mesa/main
Upstreamhttps://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/freedreno/isa
Privilegeuser
Extensionsir3-CAT3, a300+

Summary

Encoding of an ir3 instruction. All instructions are 64b.

Syntax / Encoding

{SY}{SS}{JP}{REPEAT}{UL}{NAME} {SAT}{DST_HALF}{DST}, {SRC1_NEG}{SRC1_R}{SRC1}, {SRC2_NEG}{SRC2_R}{HALF}{SRC2}, {SRC3_NEG}{SRC3_R}{SRC3}

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64ir3-CAT3011xx0111xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0xxxxxxxxxxxxx0xe780000000002000 / 0x6380000000000000

Operands

NameDescription
SRC2
DST
SRC3
SRC1