From 7f9f8d9109e72e7256062fc516324e611839f937 Mon Sep 17 00:00:00 2001 From: "Diego F. Aranha" Date: Thu, 8 Aug 2024 18:49:06 +0200 Subject: [PATCH] Another try. --- src/arch/tzcnt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/tzcnt.inc b/src/arch/tzcnt.inc index 55d84e769..719761e79 100644 --- a/src/arch/tzcnt.inc +++ b/src/arch/tzcnt.inc @@ -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)