Cycles: Fix build error on windows

Function __bsf was in util/util_simd.h twice

problem located by @EAW on chat.
This commit is contained in:
Ray molenkamp 2021-02-17 10:21:00 -07:00
parent 4d28a1d75f
commit 8095aad47e
1 changed files with 0 additions and 11 deletions

View File

@ -224,17 +224,6 @@ __forceinline uint32_t __bsf(uint32_t v)
# endif
}
__forceinline uint32_t __bsf(uint32_t v)
{
# if defined(__KERNEL_AVX2__)
return _tzcnt_u32(v);
# else
unsigned long r = 0;
_BitScanForward(&r, v);
return r;
# endif
}
__forceinline uint32_t __bsr(uint32_t v)
{
unsigned long r = 0;