Use GCC builtins for bit scanning. The minor benefit is that it is
authorScott Wood <scott@buserror.net>
Tue, 26 Dec 2006 00:58:40 +0000 (18:58 -0600)
committerScott Wood <scott@buserror.net>
Tue, 26 Dec 2006 00:58:40 +0000 (18:58 -0600)
commit1096537bdc1c23affc5eedfba311d37c7bf647bf
tree72f865065c79e24dd734bde41f00c202dccad26d
parent2f2638b54e0d3662d3be465a4035c3f28018907e
Use GCC builtins for bit scanning.  The minor benefit is that it is
non-arch-specific; the major benefit is that it can be done at
compile-time when the argument is a constant.
include/c/lowlevel/arch-x64/bitops.h
include/c/lowlevel/arch-x86-common/bitops.h [new file with mode: 0644]
include/c/lowlevel/arch-x86/bitops.h
include/c/lowlevel/bitops.h