mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
Softloat updates, mostly in preparation for s390x usage
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAlx1SJ4ACgkQ+9DbCVqe KkRLvgf/RyooKgC4+Gien26iuaEEaNJXcPmwPfzC18BiuxIV6GuWAIX3A5X8LRvJ HlRj32ervZUMPLk2Amttur9ijh8MCifTt7KyRIFWW1e97WCHX0BuD+DZgD8xT5yX zEL8z1MVdyh9ZeBQm930LbcwLeEwtV1jZHCNdlYNhFI4ZlZ8F4SmRdv8rfbAwz0d 1aC6rDSQhRaY6j5EurTZvDo4s1PA0fYa6LOkWSX/6rCWg1Z2Dtmb16ZTYscBFZ2P RhDILojQ6DSPvglcgCYzd/kCQD+OzE3TRSQc40MCS6gX8C4rfAkiuYpDFKNvzdnE aAkzemgiBBnslJ0m2VEmfGuJmvXbVg== =ApKt -----END PGP SIGNATURE----- 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) <alex.bennee@linaro.org>" [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 <peter.maydell@linaro.org>
This commit is contained in:
commit
4f9ca54d12
6 changed files with 148 additions and 24 deletions
|
@ -916,19 +916,18 @@ $(FP_TEST_BIN):
|
|||
# The full test suite can take a bit of time, default to a quick run
|
||||
# "-l 2 -r all" can take more than a day for some operations and is best
|
||||
# run manually
|
||||
FP_TL=-l 1
|
||||
FP_TL=-l 1 -r all
|
||||
|
||||
# $1 = tests, $2 = description
|
||||
# $1 = tests, $2 = description, $3 = test flags
|
||||
test-softfloat = $(call quiet-command, \
|
||||
cd $(BUILD_DIR)/tests/fp && \
|
||||
./fp-test -s $(FP_TL) $1 > $2.out 2>&1 || \
|
||||
./fp-test -s $(if $3,$3,$(FP_TL)) $1 > $2.out 2>&1 || \
|
||||
(cat $2.out && exit 1;), \
|
||||
"FLOAT TEST", $2)
|
||||
|
||||
# Conversion Routines:
|
||||
# FIXME: i32_to_extF80 (broken), i64_to_extF80 (broken)
|
||||
# ui32_to_f128 (not implemented), f128_to_ui32 (not implemented)
|
||||
# extF80_roundToInt (broken)
|
||||
# ui32_to_f128 (not implemented), extF80_roundToInt (broken)
|
||||
#
|
||||
check-softfloat-conv: $(FP_TEST_BIN)
|
||||
$(call test-softfloat, \
|
||||
|
@ -957,9 +956,11 @@ check-softfloat-conv: $(FP_TEST_BIN)
|
|||
f16_to_ui32 f16_to_ui32_r_minMag \
|
||||
f32_to_ui32 f32_to_ui32_r_minMag \
|
||||
f64_to_ui32 f64_to_ui32_r_minMag \
|
||||
f128_to_ui32 f128_to_ui32_r_minMag \
|
||||
f16_to_ui64 f16_to_ui64_r_minMag \
|
||||
f32_to_ui64 f32_to_ui64_r_minMag \
|
||||
f64_to_ui64 f64_to_ui64_r_minMag, \
|
||||
f64_to_ui64 f64_to_ui64_r_minMag \
|
||||
f128_to_ui64 f128_to_ui64_r_minMag, \
|
||||
float-to-uint)
|
||||
$(call test-softfloat, \
|
||||
f16_roundToInt f32_roundToInt \
|
||||
|
@ -1001,7 +1002,7 @@ check-softfloat-compare: $(SF_COMPARE_RULES)
|
|||
check-softfloat-mulAdd: $(FP_TEST_BIN)
|
||||
$(call test-softfloat, \
|
||||
f16_mulAdd f32_mulAdd f64_mulAdd f128_mulAdd, \
|
||||
mulAdd)
|
||||
mulAdd,-l 1)
|
||||
|
||||
# FIXME: extF80_rem (broken)
|
||||
check-softfloat-rem: $(FP_TEST_BIN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue