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

FREXPM.f32

T2 mali-gpu fp insn
Mali Valhall FREXPM.f32 — Fraction/exponent extract
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:CVT

Summary

Breaks up the floating-point input into its fractional (mantissa) and exponent parts. By default, this is compatible with the frexp() function in APIs. With the log/sqrt modifiers, the floating point format is adjusted to be compatible with Valhall's argument reduction for logarithm and square root computation respectively.

Syntax / Encoding

FREXPM.f32.log.sqrt rD, src0

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64Valhall-CVTxxxxxxx010011001xxxxxxxxxxxxxxxxxxxxxxxxxxx00000xxxxxxxxxxxxxxxx0x01ff0000001f0000 / 0x0099000000000000

Operands

NameDescription
dst0
src0