[PULL 00/29] softfloat patch queue

Richard Henderson posted 29 patches 2 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210603214131.629841-1-richard.henderson@linaro.org
Maintainers: Aurelien Jarno <aurelien@aurel32.net>, Peter Maydell <peter.maydell@linaro.org>, "Alex Bennée" <alex.bennee@linaro.org>
include/fpu/softfloat-helpers.h |    5 +-
include/fpu/softfloat-macros.h  |   34 +
include/fpu/softfloat-types.h   |   10 +-
include/fpu/softfloat.h         |   10 +-
fpu/softfloat.c                 | 4429 ++++++++++-----------------------------
linux-user/arm/nwfpe/fpa11.c    |   41 +-
target/i386/tcg/fpu_helper.c    |   79 +-
target/m68k/fpu_helper.c        |   50 +-
target/m68k/softfloat.c         |   90 +-
tests/fp/fp-test-log2.c         |  118 ++
tests/fp/fp-test.c              |    9 +-
fpu/softfloat-parts.c.inc       |  903 +++++++-
fpu/softfloat-specialize.c.inc  |  340 ---
tests/fp/wrap.c.inc             |    2 +-
tests/fp/meson.build            |   27 +-
15 files changed, 2249 insertions(+), 3898 deletions(-)
create mode 100644 tests/fp/fp-test-log2.c
[PULL 00/29] softfloat patch queue
Posted by Richard Henderson 2 years, 11 months ago
The following changes since commit 453d9c61dd5681159051c6e4d07e7b2633de2e70:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210603' into staging (2021-06-03 16:59:46 +0100)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-fpu-20210603

for you to fetch changes up to 5d0204b82ade0ea0630d6add894954135ee54ab1:

  softfloat: Use hard-float for {u}int64_to_float{32,64} (2021-06-03 14:09:03 -0700)

----------------------------------------------------------------
Finish conversion of float128 and floatx80 to FloatParts.
Implement float128_muladd and float128_{min,max}*.
Optimize int-to-float conversion with hard-float.

----------------------------------------------------------------
Alex Bennée (1):
      tests/fp: Enable more tests

David Hildenbrand (1):
      softfloat: Implement float128_(min|minnum|minnummag|max|maxnum|maxnummag)

Richard Henderson (27):
      softfloat: Move round_to_uint_and_pack to softfloat-parts.c.inc
      softfloat: Move int_to_float to softfloat-parts.c.inc
      softfloat: Move uint_to_float to softfloat-parts.c.inc
      softfloat: Move minmax_flags to softfloat-parts.c.inc
      softfloat: Move compare_floats to softfloat-parts.c.inc
      softfloat: Move scalbn_decomposed to softfloat-parts.c.inc
      softfloat: Move sqrt_float to softfloat-parts.c.inc
      softfloat: Split out parts_uncanon_normal
      softfloat: Reduce FloatFmt
      softfloat: Introduce Floatx80RoundPrec
      softfloat: Adjust parts_uncanon_normal for floatx80
      tests/fp/fp-test: Reverse order of floatx80 precision tests
      softfloat: Convert floatx80_add/sub to FloatParts
      softfloat: Convert floatx80_mul to FloatParts
      softfloat: Convert floatx80_div to FloatParts
      softfloat: Convert floatx80_sqrt to FloatParts
      softfloat: Convert floatx80_round to FloatParts
      softfloat: Convert floatx80_round_to_int to FloatParts
      softfloat: Convert integer to floatx80 to FloatParts
      softfloat: Convert floatx80 float conversions to FloatParts
      softfloat: Convert floatx80 to integer to FloatParts
      softfloat: Convert floatx80_scalbn to FloatParts
      softfloat: Convert floatx80 compare to FloatParts
      softfloat: Convert float32_exp2 to FloatParts
      softfloat: Move floatN_log2 to softfloat-parts.c.inc
      softfloat: Convert modrem operations to FloatParts
      softfloat: Use hard-float for {u}int64_to_float{32,64}

 include/fpu/softfloat-helpers.h |    5 +-
 include/fpu/softfloat-macros.h  |   34 +
 include/fpu/softfloat-types.h   |   10 +-
 include/fpu/softfloat.h         |   10 +-
 fpu/softfloat.c                 | 4429 ++++++++++-----------------------------
 linux-user/arm/nwfpe/fpa11.c    |   41 +-
 target/i386/tcg/fpu_helper.c    |   79 +-
 target/m68k/fpu_helper.c        |   50 +-
 target/m68k/softfloat.c         |   90 +-
 tests/fp/fp-test-log2.c         |  118 ++
 tests/fp/fp-test.c              |    9 +-
 fpu/softfloat-parts.c.inc       |  903 +++++++-
 fpu/softfloat-specialize.c.inc  |  340 ---
 tests/fp/wrap.c.inc             |    2 +-
 tests/fp/meson.build            |   27 +-
 15 files changed, 2249 insertions(+), 3898 deletions(-)
 create mode 100644 tests/fp/fp-test-log2.c

Re: [PULL 00/29] softfloat patch queue
Posted by Peter Maydell 2 years, 11 months ago
On Thu, 3 Jun 2021 at 22:43, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The following changes since commit 453d9c61dd5681159051c6e4d07e7b2633de2e70:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210603' into staging (2021-06-03 16:59:46 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/rth7680/qemu.git tags/pull-fpu-20210603
>
> for you to fetch changes up to 5d0204b82ade0ea0630d6add894954135ee54ab1:
>
>   softfloat: Use hard-float for {u}int64_to_float{32,64} (2021-06-03 14:09:03 -0700)
>
> ----------------------------------------------------------------
> Finish conversion of float128 and floatx80 to FloatParts.
> Implement float128_muladd and float128_{min,max}*.
> Optimize int-to-float conversion with hard-float.
>
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM