[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH for-3.1 0/7] target/ppc fp cleanups
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH for-3.1 0/7] target/ppc fp cleanups |
Date: |
Wed, 4 Jul 2018 13:31:34 +1000 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Tue, Jul 03, 2018 at 08:17:25AM -0700, Richard Henderson wrote:
> Beginning with John Arbuckle's fdiv test case, clean up some
> of the fp helpers. As with fdiv, fre and fresqrt are missing
> divide-by-zero exceptions.
>
> I've also noticed that load/store were using arithmetic conversions
> to/from float32. These should be using the non-arithmetic algorithms
> listed in the manual.
>
> Aside from cleaning up all of the rest of the helpers, I believe that
> the implementation of the single-precision operations are incorrect.
> They are currently implemented with the double-precision operation
> followed by a round-to-single. This causes incorrect results via
> double rounding. I believe better results could be had by using
> these non-arithmetic converters to produce float32 operands, use the
> proper float32 softfloat operations, and then convert back.
>
> Anyway, all of this has been broken long enough that it'll need to
> wait til next devel cycle before anything further gets done.
Applied to ppc-for-3.1 (newly created).
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [Qemu-ppc] [PATCH 4/7] target/ppc: Tidy helper_fadd, helper_fsub, (continued)
- [Qemu-ppc] [PATCH 4/7] target/ppc: Tidy helper_fadd, helper_fsub, Richard Henderson, 2018/07/03
- [Qemu-ppc] [PATCH 3/7] target/ppc: Tidy helper_fmul, Richard Henderson, 2018/07/03
- [Qemu-ppc] [PATCH 5/7] target/ppc: Tidy helper_fsqrt, Richard Henderson, 2018/07/03
- [Qemu-ppc] [PATCH 6/7] target/ppc: Honor fpscr_ze semantics and tidy fre, fresqrt, Richard Henderson, 2018/07/03
- [Qemu-ppc] [PATCH 7/7] target/ppc: Use non-arithmetic conversions for fp load/store, Richard Henderson, 2018/07/03
Re: [Qemu-ppc] [PATCH for-3.1 0/7] target/ppc fp cleanups,
David Gibson <=
Re: [Qemu-ppc] [Qemu-devel] [PATCH for-3.1 0/7] target/ppc fp cleanups, Alex Bennée, 2018/07/04
Re: [Qemu-ppc] [PATCH for-3.1 0/7] target/ppc fp cleanups, Howard Spoelstra, 2018/07/05
Re: [Qemu-ppc] [PATCH for-3.1 0/7] target/ppc fp cleanups, Programmingkid, 2018/07/05