Skip to content

Commit

Permalink
fix: testz
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jan 1, 2025
1 parent 0d17eb6 commit 2cbbdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel-vm/src/interpreter/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2cbbdc6

Please sign in to comment.