namespace bitop { namespace platform { namespace gcc { namespace amd64 {
// MSB - return index (1..32) of most significant bit in nArg. If nArg == 0 return 0
# define cds_bitop_msb32_DEFINED
- static inline int msb32( atomic32u_t nArg )
+ static inline int msb32( uint32_t nArg )
{
int nRet;
__asm__ __volatile__ (
}
# define cds_bitop_msb32nz_DEFINED
- static inline int msb32nz( atomic32u_t nArg )
+ static inline int msb32nz( uint32_t nArg )
{
assert( nArg != 0 );
int nRet;
// LSB - return index (0..31) of least significant bit in nArg. If nArg == 0 return -1U
# define cds_bitop_lsb32_DEFINED
- static inline int lsb32( atomic32u_t nArg )
+ static inline int lsb32( uint32_t nArg )
{
int nRet;
// LSB - return index (0..31) of least significant bit in nArg.
// Condition: nArg != 0
# define cds_bitop_lsb32nz_DEFINED
- static inline int lsb32nz( atomic32u_t nArg )
+ static inline int lsb32nz( uint32_t nArg )
{
assert( nArg != 0 );
int nRet;