]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix the test VPCMPESTRM_0x45_128 so that it doesn't depend on random junk in RAX...
authorJulian Seward <jseward@acm.org>
Mon, 23 Jul 2018 12:52:19 +0000 (14:52 +0200)
committerJulian Seward <jseward@acm.org>
Mon, 23 Jul 2018 12:52:19 +0000 (14:52 +0200)
commit53cf5739b37b2ade551dee8d7ae8044f1ae58d72
tree27f2e1d74cf301574700f261ed9a364aa159f274
parent64aa729bfae71561505a40c12755bd6b55bb3061
Fix the test VPCMPESTRM_0x45_128 so that it doesn't depend on random junk in RAX and RDX.

This test fails sporadically (eg, on Fedora 27 with gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5))
because the tested instruction uses RAX and RDX as input, but the test framework doesn't
set them :-/, so the outcome basically depends on whatever junk the compiler left in those
registers beforehand.  As a result of this, all previous uses of RAX in the test have
been changed to use RSI instead.  n-i-bz.
none/tests/amd64/avx-1.c