commit | 5a809b90e91d2ccf4c84181d10d175eb2c1c6bc7 | [log] [tgz] |
---|---|---|
author | Dima Zavin <dima@android.com> | Thu Mar 10 15:06:27 2011 -0800 |
committer | Dima Zavin <dima@android.com> | Thu Mar 10 15:09:16 2011 -0800 |
tree | cdccdf93c6ffb03f0a5b8deb2a37e730f05d0020 | |
parent | 91826623eef7eaeb0ba268f52bc2abc0dbf42229 [diff] |
cutils: add popcount/popcountl/popcountll static inline definitions Just pass them through to their specific GCC builtins. If we find that the builtins are not performing well or have other issues, we can pull in existing public implementations and/or write arch-specific helpers if necessary. Change-Id: I278e6b73d75fac88808ed4546070d288c06f79e0 Signed-off-by: Dima Zavin <dima@android.com>