Author: jhb
Date: Mon Feb  9 21:39:18 2015
New Revision: 278476
URL: https://svnweb.freebsd.org/changeset/base/278476

Log:
  Use __builtin_popcountl() instead of __builtin_popcount().
  
  Submitted by: jkim

Modified:
  head/sys/sys/bitset.h

Modified: head/sys/sys/bitset.h
==============================================================================
--- head/sys/sys/bitset.h       Mon Feb  9 21:15:52 2015        (r278475)
+++ head/sys/sys/bitset.h       Mon Feb  9 21:39:18 2015        (r278476)
@@ -182,7 +182,7 @@
                                                                        \
        __count = 0;                                                    \
        for (__i = 0; __i < __bitset_words((_s)); __i++)                \
-               __count += __builtin_popcount((p)->__bits[__i]);        \
+               __count += __builtin_popcountl((p)->__bits[__i]);       \
        __count;                                                        \
 })
        
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to