]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: Fix possible false positives with mul-z14 test case
authorAndreas Arnez <arnez@linux.ibm.com>
Wed, 26 Feb 2020 16:46:45 +0000 (17:46 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Wed, 26 Feb 2020 17:21:05 +0000 (18:21 +0100)
commitc1f6c685b97ebdbabfc2ce18f27029f4bd4170db
tree35819a7787c791a0eeb3c3542836988d80ae08d0
parent75878add525a00d14be360c3bb1bc9e27596d43a
s390x: Fix possible false positives with mul-z14 test case

The output of the tests for msrkc and msgrkc in "none/tests/s390x/mul-z14"
can differ from the expected output, because it depends on undetermined
data.  The test always prints the register pair r2/r3, but the
instructions msrkc and msgrkc only write to r2, and msrkc even affects
only its lowest half.

Fix the undetermined output by initializing r2 and r3 with zero first.
none/tests/s390x/mul-z14.stdout.exp
none/tests/s390x/mul.h