Skip to content

Commit

Permalink
fix: condition for early exit
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jan 1, 2025
1 parent 11b7197 commit a867507
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fuel-vm/src/interpreter/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,10 +1145,7 @@ fn slices_equal_avx2(a: &[u8], b: &[u8]) -> bool {
_mm256_and_si256(cmp3, cmp4),
);

dbg!(combined);
dbg!(_mm256_testz_si256(combined, combined));

if _mm256_testz_si256(combined, combined) == 0 {
if _mm256_testz_si256(combined, combined) != 0 {
return false;
}

Expand Down

0 comments on commit a867507

Please sign in to comment.