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

FMA_RSCALE_LEFT.f32

T2 mali-gpu fp insn
Mali Valhall FMA_RSCALE_LEFT.f32 — Fused floating-point multiply add with exponent bias and asymmetric zero handling
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

First calculates $A \cdot B + C$ and then biases the exponent by D. If $A = 0$ or $B = 0$, the multiply is treated as $A$ even if an ordinary multiply would return NaN. Used in special transcendental function sequences. It should not be used for general code as its special case handling differs from two back-to-back FMA.f32 operations. Equivalent to FMA.f32 back-to-back with LDEXP.f32

Syntax / Encoding

FMA_RSCALE_LEFT.f32.clamp rD, src0, src1, src2, src3

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64Valhall-FMAxxxxxxx101100010xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0x01ff000000000000 / 0x0162000000000000

Operands

NameDescription
dst0
src0A
src1B
src2C
src3D