On Mon, Apr 19, 2021 at 11:28 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 4/18/21 10:56 PM, frank.ch...@sifive.com wrote:
> > +#elif defined(TARGET_RISCV)
> > +/*
> > + * For RISC-V, InvalidOp is set when multiplicands are Inf and zero
> > + * and returns default N
On 4/18/21 10:56 PM, frank.ch...@sifive.com wrote:
+#elif defined(TARGET_RISCV)
+/*
+ * For RISC-V, InvalidOp is set when multiplicands are Inf and zero
+ * and returns default NaN.
+ */
+if (infzero) {
+float_raise(float_flag_invalid, status);
+return 3;
+