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

bittestri64.c

#include <intrin.h>

unsigned char _interlockedbittestandreset64(__int64 *Base, __int64 Offset)
{
  int old = 0;
  __asm__ __volatile__("lock ; btrq %2,%1\n\tsbbl %0,%0 "
    :"=r" (old),"=m" ((*(volatile long long *) Base))
    :"Ir" (Offset));
  return (old != 0);
}


Generated by  Doxygen 1.6.0   Back to index