Skip to content

Commit

Permalink
test: debug mask result
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jan 1, 2025
1 parent 309c889 commit 2525900
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fuel-vm/src/interpreter/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,11 @@ fn slices_equal_avx2(a: &[u8], b: &[u8]) -> bool {
let mask5 = _mm256_and_si256(mask1, mask2);
let mask6 = _mm256_and_si256(mask3, mask4);

let mask = _mm256_and_si256(mask5, mask6);
let mask = _mm256_movemask_epi8(_mm256_and_si256(mask5, mask6));

if _mm256_movemask_epi8(mask) != -1i32 {
dbg!(mask);

if mask != -1i32 {
return false;
}

Expand Down

0 comments on commit 2525900

Please sign in to comment.