]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Valgrind regression test fix for stfdpx instruction.
authorCarl Love <cel@us.ibm.com>
Wed, 17 Sep 2014 17:43:08 +0000 (17:43 +0000)
committerCarl Love <cel@us.ibm.com>
Wed, 17 Sep 2014 17:43:08 +0000 (17:43 +0000)
commit559f0eb76559115a39e7fe673c52b4345a92c5f9
tree598123beff8a0601c08af5ea389620d67054e53f
parentbc2fb329cfc4c6301a368387f7111377034114c2
Valgrind regression test fix for stfdpx instruction.

There is a bug in the stfdpx instruction test for ppc32 and ppc64.
The inline assembly to move the arguments into the registers before
the store instruction were moving from the register not to the
register.  The error has been fixed.  This results in a change in
the expected output.

Additionally, it was noted that the inline assembly was using "f" rather
then "d" for the double arguments.  Similarly, the prints should have
been %lf not %f for doubles.  These changes were made but they did not
change the output of the tests.

This patch fixes Vagrind bugzilla 339020.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14545
memcheck/tests/ppc32/power_ISA2_05.c
memcheck/tests/ppc32/power_ISA2_05.stdout.exp
memcheck/tests/ppc64/power_ISA2_05.c
memcheck/tests/ppc64/power_ISA2_05.stdout.exp