fmax

SVE Floating-Point Maximum

FMAX <Zdn>.<T>, <Pg>/M, <Zdn>.<T>, <Zm>.<T>

Determines maximum value of active float elements.

Details

The SVE Floating-Point Maximum instruction determines maximum value of active float elements.

Pseudocode Operation

Zdn ← Pg ? Zm

Example

FMAX z0.s.T, p0/m/M, z0.s.T, z2.s.T

Encoding

Binary Layout
01100101
00
0
00100
Pg
Zm
Zdn
 
Format SVE FP Binary
Opcode 0x65008000
Extension SVE

Operands

  • Zdn
    Combined destination/source scalable vector register (SVE)
  • Pg
    Mask
  • Zm
    Second source scalable vector register (SVE)