History log of /external/valgrind/none/tests/ppc32/test_isa_2_06_part1.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dd690bf8d81c9119a7228446be12e3366e202176 08-Aug-2014 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> This commit is for Bugzilla 334836. The Bugzilla contains patch 3 of 3
to add PPC64 LE support. The other two patches can be found in Bugzillas
334384 and 334834. Note, there are no VEX changes in this patch.


PP64 Little Endian test case fixes.

This patch adds new LE and BE expect files where needed. In other
cases, the test was fixed to run correctly on LE and BE using based on
testing to see which platform is being used.

Where practical, the test cases have been changed so that the output
produced for BE and LE will be identical. The test cases that require
a major rewrite to make the output identical for BE and LE simply
had an additional expect file added.

Signed-off-by: Carl Love <carll@us.ibm.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14240 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc32/test_isa_2_06_part1.c
8efe4e40e702e4a1eafac37076e1df2ccd9b047b 12-Sep-2013 carll <carll@a5019735-40e9-0310-863c-91ae7b9d1cf9> The Power ISA 2.07 document includes a correction to the description for the
behavior of the xscvspdp instruction, indicating that if the source argument
is a SNaN, it is first changed to a QNaN before being converted from
single-precision to double-precision. This updated information about the
xscvspdp instruction exposed a bug in the VEX implementation for that
instruction and also a bug in the testing for all instructions having
special behavior for single-precision SNaN arguments.

The VEX code fix for this issue is r2760.

This patch fixes the test cases for the ISA 2.07.

Testing bug: In several ppc[64] test cases, an array of special
double-precision floating point values is set up, and then all elements of
that array are copied via assignment to a single-precision array ('float'
type). Assignment from a double to a float works fine for all cases, except for
SNaN values. In the case of a SNaN, the source is changed to a QNaN and then
converted to single-precision. So the end result was that our array of floats
did not have an actual SNaN value, and, therefore, any instructions that had
special behavior for a single-precision SNaN input argument was never being
properly tested. This patch makes some functional changes in the following
testcases:

none/tests/ppc[32|64]/test_isa_2_06_part2.c
none/tests/ppc[32|64]/test_isa_2_06_part3.c
none/tests/ppc[32|64]/test_isa_2_07_part2.c

These changes impacted the associated *.stdout.exp files, so the patch also
updates those files. Additionally, there were several errors in testcase
source comments that misidentified QNaN and SNaN bit patterns which this patch
corrects.

See bugzilla 324816.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13544 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc32/test_isa_2_06_part1.c
7ea7aa23b433745c5ba163add38415aa79c92344 23-Jun-2012 bart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9> Fix compiler warnings for ppc test cases. Patch from Carl Love (carll@us.ibm.com). See also #302205.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12663 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc32/test_isa_2_06_part1.c
f34eb496099507090f26dcf94bb780da8b3894e5 15-Apr-2011 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add support for IBM Power ISA 2.06 -- stage 1. Valgrind-side changes
and test cases. Bug #267630 and followup fix #270794.
(Maynard Johnson, maynardj@us.ibm.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11697 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/ppc32/test_isa_2_06_part1.c