Skip to content

FMAX

Operation

Selects the greater numeric source or destination value using IEEE NaN and zero rules.

Assembler Syntax

FMAX.{S|D}(z) Fn(s), Fn(d)

FMAX.{S|D}(z) <ea>(e), Fn(d)

Privilege

Unprivileged

Required CPUID flags

FP

Repeat eligibility

REP eligible

Selects the greater numeric operand; one NaN selects the numeric operand, two NaNs use the common NaN-selection rule, and a positive-zero/negative-zero pair selects positive zero. A signaling NaN generates NV.

2.75in

Encodings

FMAX.{S|D}(z) Fn(s), Fn(d)

Format: Instruction format for FMAX.{S|D}(z) Fn(s), Fn(d)

Format: Instruction format for FMAX.{S|D}(z) Fn(s), Fn(d)

2.75in FMAX.{S|D}(z) <ea>(e), Fn(d)

Format: Instruction format for FMAX.{S|D}(z) <ea>(e), Fn(d)

Format: Instruction format for FMAX.{S|D}(z) <ea>(e), Fn(d)