diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-04-16 23:37:54 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-04-16 23:37:54 -0700 |
commit | 10cc6f2c17fdbcacb9d647cfa418deda6bf64f3c (patch) | |
tree | 47f624bf76588f6e0788f659ccd31f9aa4474df1 /src/f.tex | |
parent | b652c24a4d9f9bd93a68617e1c698ed0f857bec2 (diff) | |
download | riscv-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.tex | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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} |