diff options
author | Andrew Waterman <andrew@sifive.com> | 2022-09-15 13:58:37 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2022-09-15 13:58:37 -0700 |
commit | e4c6d0b6af73c94b3cf648f47fdb4994ecf6f130 (patch) | |
tree | 751054d493d56c875320094c790744d6b0babd33 | |
parent | b4f19a2117c4e6180560ac200c4685965f3f1d1e (diff) | |
download | riscv-isa-manual-e4c6d0b6af73c94b3cf648f47fdb4994ecf6f130.zip riscv-isa-manual-e4c6d0b6af73c94b3cf648f47fdb4994ecf6f130.tar.gz riscv-isa-manual-e4c6d0b6af73c94b3cf648f47fdb4994ecf6f130.tar.bz2 |
rtz must be specified in FCVT.MOD.W.D instruction
-rw-r--r-- | src/zfb.tex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zfb.tex b/src/zfb.tex index 25c986c..2426d55 100644 --- a/src/zfb.tex +++ b/src/zfb.tex @@ -86,6 +86,11 @@ and the {\em rm} field set to 1 (RTZ). Other {\em rm} values are {\em reserved}. \begin{commentary} +The assembly syntax will require the RTZ rounding mode be explicitly +specified, i.e., {\tt fcvt.mod.w.d rd, rs1, rtz}. +\end{commentary} + +\begin{commentary} The FCVT.MOD.W.D instruction was added principally to accelerate the processing of JavaScript {\tt Number}s. {\tt Number}s are double-precision values, but some operators implicitly |