]> sourceware.org Git - valgrind.git/commit
s390x regtest: Rework dfpconv
authorAndreas Arnez <arnez@linux.ibm.com>
Thu, 7 Sep 2023 14:43:25 +0000 (16:43 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Thu, 7 Sep 2023 14:43:25 +0000 (16:43 +0200)
commitf83a74ec0726bc31a48e5e511e4afa871bc7dbde
tree237998986961efcdac7fc087c6297c3b59b0b6cf
parent484b48eae26760f294ab9dca9fa70b9ac509873a
s390x regtest: Rework dfpconv

The dfpconv test case has two major issues:

* It truncates certain 64-bit integers to 32 bits when using them as
  inputs or outputs to inline assemblies.  In particular this leads to
  wrong output.

* It uses `_Decimal*' types and thus cannot be compiled with Clang.

Fix both.  Also, remove a duplicate from the set of tested numbers, remove
the dependency on "opcodes.h", and fix indentation.  Since the test output
file dfpconv.stdout.exp is affected by these changes, adjust it
accordingly.
none/tests/s390x/dfpconv.c
none/tests/s390x/dfpconv.stdout.exp
This page took 0.029512 seconds and 5 git commands to generate.