Use gcc builtins instead of library functions for ffs*
authorTudor Bosman <tudorb@fb.com>
Wed, 8 Aug 2012 21:32:27 +0000 (14:32 -0700)
committerTudor Bosman <tudorb@fb.com>
Wed, 8 Aug 2012 22:40:42 +0000 (15:40 -0700)
commit2d94f42770dabbf430c44f38a72faab73d041a32
tree90dcb2e064a605dfe4590f57c026ae9c46c4aba8
parent71acc41b44cb2f8a20cbf37a17f32a4eb7f7fc25
Use gcc builtins instead of library functions for ffs*

Summary:
because, shockingly, glibc doesn't divert to the gcc builtins which are
inlined and fast

Test Plan: folly/test

Reviewed By: sding@fb.com

FB internal diff: D543363
folly/Bits.h
folly/configure.ac