From 6f1c48a01eb30f942007ca37c8825c46a09b5a3c Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sat, 11 May 2024 14:33:32 +0200 Subject: [PATCH] Bug 392146 - fix bad refactor in previous commit --- VEX/priv/guest_arm64_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5