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

FADD_IMM.v2f16

T2 mali-gpu fp insn
Mali Valhall FADD_IMM.v2f16 — Floating-point addition with immediate
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:FMA

Summary

Adds an arbitrary pair of 16-bit immediates embedded within the instruction stream. If no modifiers are required, this is preferred to FADD.v2f16 with a constant accessed as a uniform. However, if the constant is available inline, FADD.v2f16 is preferred. Adding only a single 16-bit constant requires replication of the constant.

Syntax / Encoding

FADD_IMM.v2f16 rD, src0, constant

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64Valhall-FMAxxxxxxx100010101xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0x01ff000000000000 / 0x0115000000000000

Operands

NameDescription
dst0
src0A
constant