Skip to content

Commit

Permalink
Another try.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Aug 8, 2024
1 parent 77a59d4 commit 7f9f8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/tzcnt.inc
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ static int has_tzcnt_hard()
#if defined(_MSC_VER) && !defined(__clang__)
static unsigned int tzcnt64_msvc_x64(unsigned long long x)
{
return __builtin_ctzl(x);
return _tzcnt_u64(x);
}
#elif defined(__GNUC__) || defined(__clang__)
static unsigned int tzcnt64_gcc_x64(unsigned long long x)
Expand Down

0 comments on commit 7f9f8d9

Please sign in to comment.