fmax

Floating-Point Maximum (Half-Precision)

FMAX <Vd>.8H, <Vn>.8H, <Vm>.8H

Finds max of half-precision vectors.

Details

The Floating-Point Maximum instruction finds max of half-precision vectors.

Pseudocode Operation

Vd ← Vn ? Vm

Example

FMAX v0.4s.8H, v1.4s.8H, v2.4s.8H

Encoding

Binary Layout
01001110
001
11111
00010
Vm
Vn
Vd
 
Format NEON FP16
Opcode 0x4E20F400
Extension FEAT_FP16 (NEON)

Operands

  • Vd
    Destination SIMD/FP vector register
  • Vn
    First source SIMD/FP vector register
  • Vm
    Second source SIMD/FP vector register