Back to index

glibc  2.9
Defines | Functions
ffsll.c File Reference
#include <limits.h>
#include <string.h>

Go to the source code of this file.


#define ffsl   __something_else


int __ffsll (long long int x)

Define Documentation

#define ffsl   __something_else

Definition at line 22 of file ffsll.c.

Function Documentation

int __ffsll ( long long int  x)

Definition at line 29 of file ffsll.c.

  int cnt;

  asm ("cntlzd %0,%1" : "=r" (cnt) : "r" (x & -x));
  return 64 - cnt;