mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-14 17:45:02 +01:00
fix
This commit is contained in:
parent
baa75ab5dd
commit
f0dfa14c44
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ unsafe fn line_match_count_avx2(line: &str) -> usize {
|
||||||
let have = x86_64::_mm256_set1_epi16(have as _);
|
let have = x86_64::_mm256_set1_epi16(have as _);
|
||||||
let eq = x86_64::_mm256_cmpeq_epi16(winning, have);
|
let eq = x86_64::_mm256_cmpeq_epi16(winning, have);
|
||||||
|
|
||||||
x86_64::_mm256_movemask_epi8(eq) > 0
|
x86_64::_mm256_movemask_epi8(eq) != 0
|
||||||
})
|
})
|
||||||
.count()
|
.count()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue