Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2003 14:47:02 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ia64/include runq.h
Message-ID:  <200312102247.hBAMl2jb043676@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312102247.hBAMl2jb043676>