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

bitscanrev.c

#include <intrin.h>

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


Generated by  Doxygen 1.6.0   Back to index