aboutsummaryrefslogtreecommitdiff
path: root/src/f.tex
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-04-16 23:37:54 -0700
committerAndrew Waterman <andrew@sifive.com>2017-04-16 23:37:54 -0700
commit10cc6f2c17fdbcacb9d647cfa418deda6bf64f3c (patch)
tree47f624bf76588f6e0788f659ccd31f9aa4474df1 /src/f.tex
parentb652c24a4d9f9bd93a68617e1c698ed0f857bec2 (diff)
downloadriscv-isa-manual-10cc6f2c17fdbcacb9d647cfa418deda6bf64f3c.zip
riscv-isa-manual-10cc6f2c17fdbcacb9d647cfa418deda6bf64f3c.tar.gz
riscv-isa-manual-10cc6f2c17fdbcacb9d647cfa418deda6bf64f3c.tar.bz2
Define the behavior of FMA(inf, 0, qNaN)
Diffstat (limited to 'src/f.tex')
-rw-r--r--src/f.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/f.tex b/src/f.tex
index e8a8306..9098012 100644
--- a/src/f.tex
+++ b/src/f.tex
@@ -449,6 +449,14 @@ FMADD.S computes {\em rs1$\times$rs2+rs3}; FMSUB.S computes
-rs1$\times$rs2+rs3}; and FNMADD.S computes {\em
-rs1$\times$rs2-rs3}.
+The fused multiply-add instructions must raise the invalid operation exception
+when the multiplicands are $\infty$ and zero, even when the addend is a quiet
+NaN.
+\begin{commentary}
+The IEEE 754-2008 standard permits, but does not require, raising the
+invalid exception for the operation \mbox{$\infty\times 0\ +$ qNaN}.
+\end{commentary}
+
\vspace{-0.2in}
\begin{center}
\begin{tabular}{R@{}F@{}R@{}R@{}F@{}R@{}O}