FRM
RWFloating-point dynamic rounding mode: 000 RNE, 001 RTZ, 010 RDN, 011 RUP, 100 RMM; 101/110 are reserved; 111 is reserved in frm/fcsr (DYN is only for instruction rm fields).
FRM (bits 7:5) — Floating-point dynamic rounding mode: 000 RNE, 001 RTZ, 010 RDN, 011 RUP, 100 RMM; 101/110 are reserved; 111 is reserved in frm/fcsr (DYN is only for instruction rm fields).
What This Field Controls
- - Floating-point dynamic rounding mode: 000 RNE, 001 RTZ, 010 RDN, 011 RUP, 100 RMM; 101/110 are reserved; 111 is reserved in frm/fcsr (DYN is only for instruction rm fields).
Common Values
Round to Nearest, ties to Even.
Round towards Zero.
Round Down, toward negative infinity.
Round Up, toward positive infinity.
Round to Nearest, ties to Max Magnitude.
Reserved rounding-mode encoding.
Reserved rounding-mode encoding.
In an instruction rm field this selects dynamic rounding mode; in the frm CSR this encoding is reserved.