From 2cbbdc648a2eed213110b1668727fb6e5ebf19c4 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Thu, 2 Jan 2025 03:54:01 +0530 Subject: [PATCH] fix: testz --- fuel-vm/src/interpreter/memory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuel-vm/src/interpreter/memory.rs b/fuel-vm/src/interpreter/memory.rs index f0e6dff68..37e312df5 100644 --- a/fuel-vm/src/interpreter/memory.rs +++ b/fuel-vm/src/interpreter/memory.rs @@ -1167,7 +1167,7 @@ fn slices_equal_avx2(a: &[u8], b: &[u8]) -> bool { let cmp = _mm256_and_si256(cmp1_4, cmp5_8); - if _mm256_testz_si256(cmp, _mm256_set1_epi8(-1)) != 1 { + if _mm256_testz_si256(cmp, cmp) != 1 { return false; }