qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] b240c9: softfloat: Use post test for floatN_m


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] b240c9: softfloat: Use post test for floatN_mul
Date: Thu, 21 May 2020 03:15:31 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b240c9c497b9880ac0ba29465907d5ebecd48083
      
https://github.com/qemu/qemu/commit/b240c9c497b9880ac0ba29465907d5ebecd48083
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c

  Log Message:
  -----------
  softfloat: Use post test for floatN_mul

The existing f{32,64}_addsub_post test, which checks for zero
inputs, is identical to f{32,64}_mul_fast_test.  Which means
we can eliminate the fast_test/fast_op hooks in favor of
reusing the same post hook.

This means we have one fewer test along the fast path for multiply.

Tested-by: Alex Bennée <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: c120391c0090d9c40425c92cdb00f38ea8588ff6
      
https://github.com/qemu/qemu/commit/c120391c0090d9c40425c92cdb00f38ea8588ff6
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat-specialize.inc.c
    M fpu/softfloat.c
    M include/fpu/softfloat-helpers.h
    M include/fpu/softfloat-macros.h
    M include/fpu/softfloat-types.h
    M include/fpu/softfloat.h
    M target/arm/sve_helper.c
    M target/arm/vfp_helper.c
    M target/m68k/softfloat.c
    M target/mips/msa_helper.c

  Log Message:
  -----------
  softfloat: Replace flag with bool

We have had this on the to-do list for quite some time.

Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a828b373bdabc7e53d1e218e3fc76f85b6674688
      
https://github.com/qemu/qemu/commit/a828b373bdabc7e53d1e218e3fc76f85b6674688
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat-helpers.h
    M include/fpu/softfloat-types.h
    M tests/fp/fp-test.c

  Log Message:
  -----------
  softfloat: Change tininess_before_rounding to bool

Slightly tidies the usage within softfloat.c and the
representation in float_status.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3dede407cc61b64997f0c30f6dbf4df09949abc9
      
https://github.com/qemu/qemu/commit/3dede407cc61b64997f0c30f6dbf4df09949abc9
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat-helpers.h
    M include/fpu/softfloat-types.h
    M include/fpu/softfloat.h
    M target/arm/vfp_helper.c
    M target/m68k/fpu_helper.c

  Log Message:
  -----------
  softfloat: Name rounding mode enum

Give the previously unnamed enum a typedef name.  Use the packed
attribute so that we do not affect the layout of the float_status
struct.  Use it in the prototypes of relevant functions.

Adjust switch statements as necessary to avoid compiler warnings.

Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 71bfd65c5fcd72f8af2735905415c7ce4220f6dc
      
https://github.com/qemu/qemu/commit/71bfd65c5fcd72f8af2735905415c7ce4220f6dc
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h
    M target/arm/vfp_helper.c
    M target/hppa/op_helper.c
    M target/i386/fpu_helper.c
    M target/i386/ops_sse.h
    M target/openrisc/fpu_helper.c
    M target/ppc/int_helper.c
    M target/s390x/fpu_helper.c
    M target/sparc/fop_helper.c
    M target/unicore32/ucf64_helper.c
    M target/xtensa/fpu_helper.c

  Log Message:
  -----------
  softfloat: Name compare relation enum

Give the previously unnamed enum a typedef name.  Use it in the
prototypes of compare functions.  Use it to hold the results
of the compare functions.

Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5da2d2d8e53d80e92a61720ea995c86b33cbf25d
      
https://github.com/qemu/qemu/commit/5da2d2d8e53d80e92a61720ea995c86b33cbf25d
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Inline float32 compare specializations

Replace the float32 compare specializations with inline functions
that call the standard float32_compare{,_quiet} functions.
Use bool as the return type.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 0673ecdf6cb2b1445a85283db8cbacb251c46516
      
https://github.com/qemu/qemu/commit/0673ecdf6cb2b1445a85283db8cbacb251c46516
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h
    M target/s390x/vec_fpu_helper.c

  Log Message:
  -----------
  softfloat: Inline float64 compare specializations

Replace the float64 compare specializations with inline functions
that call the standard float64_compare{,_quiet} functions.
Use bool as the return type.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b7b1ac684fea49c6bfe1ad8b706aed7b09116d15
      
https://github.com/qemu/qemu/commit/b7b1ac684fea49c6bfe1ad8b706aed7b09116d15
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Inline float128 compare specializations

Replace the float128 compare specializations with inline functions
that call the standard float128_compare{,_quiet} functions.
Use bool as the return type.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: c6baf65000f826a713e8d9b5b35e617b0ca9ab5d
      
https://github.com/qemu/qemu/commit/c6baf65000f826a713e8d9b5b35e617b0ca9ab5d
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Inline floatx80 compare specializations

Replace the floatx80 compare specializations with inline functions
that call the standard floatx80_compare{,_quiet} functions.
Use bool as the return type.

Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 150c7a91ce7862bcaf7422f6038dcf0ba4a7eee3
      
https://github.com/qemu/qemu/commit/150c7a91ce7862bcaf7422f6038dcf0ba4a7eee3
  Author: Richard Henderson <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat-specialize.inc.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: Return bool from all classification predicates

This includes *_is_any_nan, *_is_neg, *_is_inf, etc.

Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 956ae3e9265fd36cb1c487cb3c868e906bd55897
      
https://github.com/qemu/qemu/commit/956ae3e9265fd36cb1c487cb3c868e906bd55897
  Author: Peter Maydell <address@hidden>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M fpu/softfloat-specialize.inc.c
    M fpu/softfloat.c
    M include/fpu/softfloat-helpers.h
    M include/fpu/softfloat-macros.h
    M include/fpu/softfloat-types.h
    M include/fpu/softfloat.h
    M target/arm/sve_helper.c
    M target/arm/vfp_helper.c
    M target/hppa/op_helper.c
    M target/i386/fpu_helper.c
    M target/i386/ops_sse.h
    M target/m68k/fpu_helper.c
    M target/m68k/softfloat.c
    M target/mips/msa_helper.c
    M target/openrisc/fpu_helper.c
    M target/ppc/int_helper.c
    M target/s390x/fpu_helper.c
    M target/s390x/vec_fpu_helper.c
    M target/sparc/fop_helper.c
    M target/unicore32/ucf64_helper.c
    M target/xtensa/fpu_helper.c
    M tests/fp/fp-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-fpu-20200519' into staging

Misc cleanups

# gpg: Signature made Tue 19 May 2020 16:51:38 BST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth/tags/pull-fpu-20200519:
  softfloat: Return bool from all classification predicates
  softfloat: Inline floatx80 compare specializations
  softfloat: Inline float128 compare specializations
  softfloat: Inline float64 compare specializations
  softfloat: Inline float32 compare specializations
  softfloat: Name compare relation enum
  softfloat: Name rounding mode enum
  softfloat: Change tininess_before_rounding to bool
  softfloat: Replace flag with bool
  softfloat: Use post test for floatN_mul

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/f2465433b43f...956ae3e9265f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]