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:
parent
4d28a1d75f
commit
8095aad47e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue