]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix setting condition code for Vector Compare quad word instructions.
authorCarl Love <cel@us.ibm.com>
Tue, 1 Feb 2022 21:29:30 +0000 (21:29 +0000)
committerCarl Love <cel@us.ibm.com>
Wed, 2 Feb 2022 00:49:34 +0000 (00:49 +0000)
commit27fc72dfb185733fed3dfd974ad2e7c5476852f6
treeef4ad12511adec1c2900ae2128de4c77ad8ec68c
parent3ea8d4327003c3cefe8e82c59be8e92dcfe1a60f
Fix setting condition code for Vector Compare quad word instructions.

The vcmpgtsq., vcmpgtuq,, vcmpequq. instructions set the condition code field
6 to 0b1000 for true, 0b0010 for false.  The condition code was being set
according to the typical condition code values for equal and greater than
which is incorrect for these instructions.  The patch fixes the setting of the
condition code as specified in the instructions.
VEX/priv/guest_ppc_toIR.c