From: Paul Floyd Date: Sat, 11 May 2024 12:33:32 +0000 (+0200) Subject: Bug 392146 - fix bad refactor in previous commit X-Git-Tag: VALGRIND_3_24_0~150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f1c48a01eb30f942007ca37c8825c46a09b5a3c;p=thirdparty%2Fvalgrind.git Bug 392146 - fix bad refactor in previous commit --- diff --git a/VEX/priv/guest_arm64_helpers.c b/VEX/priv/guest_arm64_helpers.c index c79631f61..96963dbb2 100644 --- a/VEX/priv/guest_arm64_helpers.c +++ b/VEX/priv/guest_arm64_helpers.c @@ -911,7 +911,7 @@ ULong arm64g_dirtyhelper_MRS_ID_AA64ISAR0_EL1 ( void ) w &= 0xF000F0FFFFFF; /* Degredate SHA2 from b0010 to b0001*/ if ( (w >> 12) & 0x2 ) { - w ^= ~(0x2 << 12); + w ^= (0x2 << 12); w |= (0x1 << 12); }