fmin.q

Floating-Point Minimum-Number Quad-Precision

This instruction is defined by:

Encoding

svg

Synopsis

The fmin.q instruction writes the smaller/minimum of fs1 and fs2 to fd. The value -0.0 is considered to be less than the value +0.0. If both inputs are NaN_s, the result is the canonical _NaN. If only one operand is a NaN, the result is the non-NaN operand. Signaling NaN inputs set the invalid operation exception flag, even when the result is not NaN.

Access

M HS U VS VU

Always

Always

Always

Always

Always

Decode Variables

Bits<5> fs2 = $encoding[24:20];
Bits<5> fs1 = $encoding[19:15];
Bits<5> fd = $encoding[11:7];

Execution

  • Pruned, XLEN == 64

  • Original