Go to the documentation of this file.
32 #define AK_BIT_SCAN_INSTRUCTIONS // mark bitscan instructions as defined to avoid duplicate definitions
49 return (
AkUInt32)_tzcnt_u64(in_bits);
54 return (
AkUInt32)_tzcnt_u32(in_bits);
62 return (
AkUInt32)_lzcnt_u64(in_bits);
67 return (
AkUInt32)_lzcnt_u32(in_bits);
AkForceInline AkUInt32 AkBitScanReverse64(AkUInt64 in_bits)
Platform-dependent helpers.
AkForceInline AkUInt32 AkPopCount(AkUInt32 in_bits)
AkForceInline AkUInt32 AkBitScanForward64(AkUInt64 in_bits)
AkForceInline AkUInt32 AkBitScanReverse(AkUInt32 in_bits)
AkForceInline AkUInt32 AkBitScanForward(AkUInt32 in_bits)
uint64_t AkUInt64
Unsigned 64-bit integer.
uint32_t AkUInt32
Unsigned 32-bit integer.
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise