Logo Search packages:      
Sourcecode: mingw-w64 version File versions

bitscanrev64.c

#include <intrin.h>

unsigned char _BitScanReverse64(unsigned long *Index, unsigned __int64 Mask)
{
  __asm__ __volatile__("bsrq %1,%0" : "=r" (Mask),"=m" ((*(volatile long long *)Index)));
  return (Mask != 0);
}


Generated by  Doxygen 1.6.0   Back to index