[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 04/14] fp-test: add muladd variants
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [PATCH v1 04/14] fp-test: add muladd variants |
Date: |
Tue, 27 Mar 2018 14:03:39 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Mar 27, 2018 at 12:33:55 +0100, Alex Bennée wrote:
> Emilio G. Cota <address@hidden> writes:
>
> > These are a few muladd-related operations that the original IBM syntax
> > does not specify; model files for these are in muladd.fptest.
> >
> > Signed-off-by: Emilio G. Cota <address@hidden>
(snip)
> > + case OP_MULADD_NEG_ADDEND:
> > + res64 = float64_muladd(a, b, c, float_muladd_negate_c, s);
> > + break;
> > + case OP_MULADD_NEG_PRODUCT:
> > + res64 = float64_muladd(a, b, c, float_muladd_negate_product,
> > s);
> > + break;
> > + case OP_MULADD_NEG_RESULT:
> > + res64 = float64_muladd(a, b, c, float_muladd_negate_result, s);
> > + break;
> > case OP_DIV:
> > res64 = float64_div(a, b, s);
> > break;
>
> Are there any intrinsics we could use for the hard variant which would
> be useful if we want to run under translation?
I don't know of any portable way of doing this. We could add some
arch-specific code though, suitably ifdef'ed.
E.
- [Qemu-devel] [PATCH v1 05/14] softfloat: add float32_is_normal and float64_is_normal, (continued)
- [Qemu-devel] [PATCH v1 05/14] softfloat: add float32_is_normal and float64_is_normal, Emilio G. Cota, 2018/03/21
- [Qemu-devel] [PATCH v1 13/14] hostfloat: support float32/64 comparison, Emilio G. Cota, 2018/03/21
- [Qemu-devel] [PATCH v1 14/14] hostfloat: support float32_to_float64, Emilio G. Cota, 2018/03/21
- [Qemu-devel] [PATCH v1 02/14] tests: add fp-test, a floating point test suite, Emilio G. Cota, 2018/03/21
- [Qemu-devel] [PATCH v1 04/14] fp-test: add muladd variants, Emilio G. Cota, 2018/03/21
- [Qemu-devel] [PATCH v1 07/14] fpu: introduce hostfloat, Emilio G. Cota, 2018/03/21
- Re: [Qemu-devel] [PATCH v1 00/14] fp-test + hostfloat, no-reply, 2018/03/21
- Re: [Qemu-devel] [PATCH v1 00/14] fp-test + hostfloat, no-reply, 2018/03/22
- Re: [Qemu-devel] [PATCH v1 00/14] fp-test + hostfloat, Alex Bennée, 2018/03/22