Skip to content

Commit

Permalink
remove the function cannot use on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
jiansyuan committed Jul 10, 2023
1 parent fef4d00 commit 0d747f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NIAHttpBOT/src/CFG_Parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class parser{
match = _mm256_cmpeq_epi8(chunk, tars);
int mask = _mm256_movemask_epi8(match);
while (mask != 0) {
int index = __builtin_ctz(mask);
int index = _tzcnt_u32(mask); //__builtin_ctz(mask);
ret.push_back(i+(unsigned)index), mask &= ~(1<<index);
}
}
Expand Down

0 comments on commit 0d747f2

Please sign in to comment.