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

ATEST

T2 mali-gpu alu insn
Mali Valhall ATEST — Alpha test
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:NONE

Summary

Does alpha-to-coverage testing, updating the sample coverage mask. ATEST does not do an implicit discard. It should be executed before the first ZS_EMIT or BLEND instruction.

Syntax / Encoding

ATEST src0, src1, src2

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64Valhall-NONExxxxxxx001111101xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0x01ff000000000000 / 0x007d000000000000

Operands

NameDescription
src0Input coverage mask
src1Alpha value (render target 0)
src2