cvs commit: src/sys/ia64/include runq.h

Peter Wemm peter at FreeBSD.org
Wed Dec 10 14:47:03 PST 2003


peter       2003/12/10 14:47:02 PST

  FreeBSD src repository

  Modified files:
    sys/ia64/include     runq.h 
  Log:
  Use ffs(x) == popcnt(x ^ (x - 1)) to implement 64 bit ffsl().  gcc's
  ffs() builtin uses this already but truncates the upper 32 bits.
  
  Revision  Changes    Path
  1.3       +15 -8     src/sys/ia64/include/runq.h


More information about the cvs-all mailing list