qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3acf04: tests: Ignore fp test outputs


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 3acf04: tests: Ignore fp test outputs
Date: Thu, 28 Feb 2019 04:01:59 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3acf04f8998142a16b91b433d6088a0b25fbcd6e
      
https://github.com/qemu/qemu/commit/3acf04f8998142a16b91b433d6088a0b25fbcd6e
  Author: Eric Blake <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M tests/.gitignore

  Log Message:
  -----------
  tests: Ignore fp test outputs

Commit 2cade3d wired up new tests, but did not exclude the
new *.out files produced by running the tests.

Signed-off-by: Eric Blake <address@hidden>
Reviewed-by: Emilio G. Cota <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>


  Commit: 47393181604d507f4fe2a15a65b1eede0f974d6a
      
https://github.com/qemu/qemu/commit/47393181604d507f4fe2a15a65b1eede0f974d6a
  Author: David Hildenbrand <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M include/fpu/softfloat.h

  Log Message:
  -----------
  softfloat: add float128_is_{normal,denormal}

Needed on s390x, to test for the data class of a number. So it will
gain soon a user.

A number is considered normal if the exponent is neither 0 nor all 1's.
That can be checked by adding 1 to the exponent, and comparing against
>= 2 after dropping an eventual overflow into the sign bit.

While at it, convert the other floatXX_is_normal functions to use a
similar, less error prone calculation, as suggested by Richard H.

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


  Commit: e45de9922e43c1ce4f4739b62142314a13029d5c
      
https://github.com/qemu/qemu/commit/e45de9922e43c1ce4f4739b62142314a13029d5c
  Author: David Hildenbrand <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

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

  Log Message:
  -----------
  softfloat: Implement float128_to_uint32

Handling it just like float128_to_uint32_round_to_zero, that hopefully
is free of bugs :)

Documentation basically copied from float128_to_uint64

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


  Commit: 80d491fea342e0604727e68dd01b3308b82c077b
      
https://github.com/qemu/qemu/commit/80d491fea342e0604727e68dd01b3308b82c077b
  Author: Alex Bennée <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M tests/fp/fp-test.c
    M tests/fp/wrap.inc.c

  Log Message:
  -----------
  tests/fp: add wrapping for f128_to_ui32

Needed to test: softfloat: Implement float128_to_uint32

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


  Commit: dc3f8a9dcfc701c7d528a88e8fc85e727ae5551b
      
https://github.com/qemu/qemu/commit/dc3f8a9dcfc701c7d528a88e8fc85e727ae5551b
  Author: Alex Bennée <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M tests/Makefile.include

  Log Message:
  -----------
  tests/fp: enable f128_to_ui[32/64] tests in float-to-uint

We've just added f128_to_ui32 and we missed out the f128_to_ui64 tests
last time.

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


  Commit: 5d64abb32ffe558e616545819f3e53dd66335994
      
https://github.com/qemu/qemu/commit/5d64abb32ffe558e616545819f3e53dd66335994
  Author: Richard Henderson <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M fpu/softfloat.c
    M tests/fp/fp-test.c

  Log Message:
  -----------
  softfloat: Support float_round_to_odd more places

Previously this was only supported for roundAndPackFloat64.

New support in round_canonical, round_to_int, float128_round_to_int,
roundAndPackFloat32, roundAndPackInt32, roundAndPackInt64,
roundAndPackUint64.  This does not include any of the floatx80 routines,
as we do not have users for that rounding mode there.

Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
Tested-by: David Hildenbrand <address@hidden>
[AJB: add missing break]
Signed-off-by: Alex Bennée <address@hidden>


  Commit: bf30e8662cd2ee8b750945591cb34a31784fb994
      
https://github.com/qemu/qemu/commit/bf30e8662cd2ee8b750945591cb34a31784fb994
  Author: Alex Bennée <address@hidden>
  Date:   2019-02-26 (Tue, 26 Feb 2019)

  Changed paths:
    M tests/Makefile.include

  Log Message:
  -----------
  tests/Makefile.include: test all rounding modes of softfloat

We missed a bug in a recent patch as we were not testing all the
rounding modes for all operations. However enabling all rounding modes
for mulAdd does slow down the already slowest test and doesn't really
buy us much additional coverage so lets allow the default test flags
to be overridden.

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


  Commit: 4f9ca54d1272dd5750345d8802e567d519d1c4c6
      
https://github.com/qemu/qemu/commit/4f9ca54d1272dd5750345d8802e567d519d1c4c6
  Author: Peter Maydell <address@hidden>
  Date:   2019-02-28 (Thu, 28 Feb 2019)

  Changed paths:
    M fpu/softfloat.c
    M include/fpu/softfloat.h
    M tests/.gitignore
    M tests/Makefile.include
    M tests/fp/fp-test.c
    M tests/fp/wrap.inc.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stsquad/tags/pull-fpu-next-260219-1' 
into staging

Softloat updates, mostly in preparation for s390x usage

# gpg: Signature made Tue 26 Feb 2019 14:09:34 GMT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) <address@hidden>" 
[full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-fpu-next-260219-1:
  tests/Makefile.include: test all rounding modes of softfloat
  softfloat: Support float_round_to_odd more places
  tests/fp: enable f128_to_ui[32/64] tests in float-to-uint
  tests/fp: add wrapping for f128_to_ui32
  softfloat: Implement float128_to_uint32
  softfloat: add float128_is_{normal,denormal}
  tests: Ignore fp test outputs

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


Compare: https://github.com/qemu/qemu/compare/1387294169a3...4f9ca54d1272



reply via email to

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