sparse-array: Use __builtin_ctzl on GCC 4.0 or later, as an optimization.
authorBen Pfaff <blp@gnu.org>
Tue, 5 May 2009 12:51:54 +0000 (05:51 -0700)
committerBen Pfaff <blp@gnu.org>
Sun, 7 Jun 2009 04:11:04 +0000 (21:11 -0700)
commitccead09ac2bc67bbaa40e67904f6c48f7cdf6700
treea3ba17e8906381fa275383744d2a1baeafde05a3
parent29eec4ed65faec40e628474ba759899d7aaf9762
sparse-array: Use __builtin_ctzl on GCC 4.0 or later, as an optimization.

This should be a worthwhile optimization in many cases, because
__builtin_ctzl compiles to a single machine instruction on x86, whereas
the generic implementation compiles to several.
src/libpspp/sparse-array.c