From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: alex.bennee@linaro.org
Subject: [PATCH 00/10] softfloat: misc cleanups
Date: Fri, 15 May 2020 12:01:43 -0700 [thread overview]
Message-ID: <20200515190153.6017-1-richard.henderson@linaro.org> (raw)
This is a grab-bag collection of cleanups, at least one of which
have been on the to-do list since day we abandoned compatibility
with upstream softfloat.
The compare changes have near-zero effect for float32/float64, since
that's the way they are implemented now. For float128, it simply
removes unneeded complexity.
For floatx80, this fixes bugs vs pseudo-denormals which were only
fixed in floatx80_compare_internal. We could just remove them, as
these interfaces are not used by x87. But I thought it'd be best
to keep the interface compatibility for now.
r~
Richard Henderson (10):
softfloat: Use post test for floatN_mul
softfloat: Replace flag with bool
softfloat: Change tininess_before_rounding to bool
softfloat: Name rounding mode enum
softfloat: Name compare relation enum
softfloat: Inline float32 compare specializations
softfloat: Inline float64 compare specializations
softfloat: Inline float128 compare specializations
softfloat: Inline floatx80 compare specializations
softfloat: Return bool from all classification predicates
include/fpu/softfloat-helpers.h | 27 +-
include/fpu/softfloat-macros.h | 24 +-
include/fpu/softfloat-types.h | 28 +-
include/fpu/softfloat.h | 336 +++++---
target/i386/ops_sse.h | 8 +-
fpu/softfloat-specialize.inc.c | 32 +-
fpu/softfloat.c | 1305 ++++---------------------------
target/arm/sve_helper.c | 8 +-
target/arm/vfp_helper.c | 14 +-
target/hppa/op_helper.c | 7 +-
target/i386/fpu_helper.c | 8 +-
target/m68k/fpu_helper.c | 6 +-
target/m68k/softfloat.c | 70 +-
target/mips/msa_helper.c | 10 +-
target/openrisc/fpu_helper.c | 4 +-
target/ppc/int_helper.c | 13 +-
target/s390x/fpu_helper.c | 22 +-
target/s390x/vec_fpu_helper.c | 2 +-
target/sparc/fop_helper.c | 4 +-
target/unicore32/ucf64_helper.c | 6 +-
target/xtensa/fpu_helper.c | 6 +-
tests/fp/fp-test.c | 2 +-
22 files changed, 547 insertions(+), 1395 deletions(-)
--
2.20.1
next reply other threads:[~2020-05-15 19:03 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 19:01 Richard Henderson [this message]
2020-05-15 19:01 ` [PATCH 01/10] softfloat: Use post test for floatN_mul Richard Henderson
2020-05-19 8:48 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 02/10] softfloat: Replace flag with bool Richard Henderson
2020-05-16 5:27 ` Philippe Mathieu-Daudé
2020-05-19 8:53 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 03/10] softfloat: Change tininess_before_rounding to bool Richard Henderson
2020-05-19 8:55 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 04/10] softfloat: Name rounding mode enum Richard Henderson
2020-05-16 5:30 ` Philippe Mathieu-Daudé
2020-05-19 9:06 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 05/10] softfloat: Name compare relation enum Richard Henderson
2020-05-16 5:32 ` Philippe Mathieu-Daudé
2020-05-19 9:08 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 06/10] softfloat: Inline float32 compare specializations Richard Henderson
2020-05-19 9:38 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 07/10] softfloat: Inline float64 " Richard Henderson
2020-05-19 9:41 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 08/10] softfloat: Inline float128 " Richard Henderson
2020-05-19 9:41 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 09/10] softfloat: Inline floatx80 " Richard Henderson
2020-05-19 9:41 ` Alex Bennée
2020-05-15 19:01 ` [PATCH 10/10] softfloat: Return bool from all classification predicates Richard Henderson
2020-05-16 5:33 ` Philippe Mathieu-Daudé
2020-05-19 10:10 ` Alex Bennée
2020-05-19 15:47 ` Richard Henderson
2020-05-16 10:58 ` [PATCH 00/10] softfloat: misc cleanups no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200515190153.6017-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).