On Fri, Jun 30, 2023 at 11:53 AM Richard Henderson
wrote:
>
> On 6/30/23 11:13, Christoph Muellner wrote:
> > +static bool trans_fli_h(DisasContext *ctx, arg_fli_h *a)
> > +{
> > +REQUIRE_FPU;
> > +REQUIRE_ZFA(ctx);
> > +REQUIRE_ZFH(ctx);
> > +
> > +/* Values below are NaN-boxed to
On 6/30/23 11:13, Christoph Muellner wrote:
+static bool trans_fli_h(DisasContext *ctx, arg_fli_h *a)
+{
+REQUIRE_FPU;
+REQUIRE_ZFA(ctx);
+REQUIRE_ZFH(ctx);
+
+/* Values below are NaN-boxed to avoid a gen_nanbox_h(). */
+const uint64_t fli_h_table[] = {
static const.
r~
From: Christoph Müllner
This patch introduces the RISC-V Zfa extension, which introduces
additional floating-point extensions:
* fli (load-immediate) with pre-defined immediates
* fminm/fmaxm (like fmin/fmax but with different NaN behaviour)
* fround/froundmx (round to integer)
* fcvtmod.w.d (Mod