]> sourceware.org Git - valgrind.git/commit
s390x regtest: Fix issues with DFP_VAL_PRINT()
authorAndreas Arnez <arnez@linux.ibm.com>
Thu, 7 Sep 2023 14:43:24 +0000 (16:43 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Thu, 7 Sep 2023 14:43:24 +0000 (16:43 +0200)
commitd5e6d37b4fcfaf899ef73155545d29635f6e3f6d
tree6bd5c7cc55c7cba6a732a9d0033de7b8198294ab
parente5440ef64eb66d954d72224db9d4712f3704c74b
s390x regtest: Fix issues with DFP_VAL_PRINT()

The DFP_VAL_PRINT macro used by the dfp test cases has some issues:

* It performs illegal pointer type aliasing.

* It suppresses zero digits in 128-bit integers, since it prints their
  second halves with "%08lx" instead of "%016lx".

Fix these.  Due to the latter, this affects the output of all DFP test
cases, so adjust them as well.
none/tests/s390x/dfp-1.stdout.exp
none/tests/s390x/dfp-2.stdout.exp
none/tests/s390x/dfp-3.stdout.exp
none/tests/s390x/dfp-4.stdout.exp
none/tests/s390x/dfp_utils.h
none/tests/s390x/dfpconv.stdout.exp
none/tests/s390x/dfpext.stdout.exp
none/tests/s390x/pfpo.stdout.exp
This page took 0.034928 seconds and 5 git commands to generate.