]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390: Reorg and extend BFP "convert to/from fixed/logical" testcases
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 24 Sep 2025 20:27:30 +0000 (20:27 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Wed, 24 Sep 2025 20:27:30 +0000 (20:27 +0000)
commit18c5454874d9193fb422832523925406f1d32b80
tree861d2413601577fc272b6a335824b51016bf40df
parente8e4066c3a0160f03d9dfffaa360b65eb79745d1
s390: Reorg and extend BFP "convert to/from fixed/logical" testcases

Testing these insns was spread over 3 testcases: rounding-3, fpconv,
and fpext.

rounding-3 was testing "convert to fixed" with rounding per FPC.
fpext was testing "convert to/from logical" with rounding per M3 field.
fpconv was testing "convert to/from fixed" with rounding per M3 field.

The new testcase bfp-convert replaces these 3.  It removes the
"convert from fixed/logical" testing because that is done in bfp-emit.pl.
It consolidates end extends "convert to fixed/logical" testing from
those files.

Testing "convert to logical" has been commented out until the condition
code weirdness for negative input values has been sorted.

Part of fixing https://bugs.kde.org/show_bug.cgi?id=509572
19 files changed:
.gitignore
none/tests/s390x/Makefile.am
none/tests/s390x/bfp-convert.c [new file with mode: 0644]
none/tests/s390x/bfp-convert.stderr.exp [moved from none/tests/s390x/fpconv.stderr.exp with 100% similarity]
none/tests/s390x/bfp-convert.stdout.exp [new file with mode: 0644]
none/tests/s390x/bfp-convert.vgtest [new file with mode: 0644]
none/tests/s390x/fpconv.c [deleted file]
none/tests/s390x/fpconv.stdout.exp [deleted file]
none/tests/s390x/fpconv.vgtest [deleted file]
none/tests/s390x/fpext.c [deleted file]
none/tests/s390x/fpext.stderr.exp [deleted file]
none/tests/s390x/fpext.stdout.exp [deleted file]
none/tests/s390x/fpext.vgtest [deleted file]
none/tests/s390x/fpext_fail.c [new file with mode: 0644]
none/tests/s390x/fpext_fail.vgtest
none/tests/s390x/rounding-3.c [deleted file]
none/tests/s390x/rounding-3.stderr.exp [deleted file]
none/tests/s390x/rounding-3.stdout.exp [deleted file]
none/tests/s390x/rounding-3.vgtest [deleted file]