]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bug 472875 - s390x regtest: Rework dfp-1
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)
commit673b497030e3f2281a62e841a8b7187eaf176d64
tree5ba00117ff1f65fc644580af9f3b9768370238e3
parentd5e6d37b4fcfaf899ef73155545d29635f6e3f6d
Bug 472875 - s390x regtest: Rework dfp-1

The dfp-1 test case has two main issues:

* It doesn't initialize the condition code before executing the DFP
  instructions for "multiply" and "divide", but asserts a certain value
  afterwards.  (See Bug 472875.)

* It doesn't compile with Clang.  (See Bug 465782.)

Fix these with a rework.  The first issue can be fixed by initializing the
condition code before executing the DFP instructions.  The second issue
requires avoiding any `_Decimal*' types, since they are not supported by
Clang.
NEWS
none/tests/s390x/dfp-1.c
none/tests/s390x/dfp_utils.h