* toplev.c (floor_log2_wide): Replace loop with faster bit
commit2f8c398164724cd8cdc439c871cec8d3664d663e
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 2004 19:24:07 +0000 (8 19:24 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 2004 19:24:07 +0000 (8 19:24 +0000)
tree887165390ca703d20364aad9a0a6ada538084ea9
parent442ab8352a0a09b6da05f5079f9ee2bb2a246807
* toplev.c (floor_log2_wide): Replace loop with faster bit
operations.
(exact_log2_wide): Define in terms of the above.
* toplev.h (floor_log2): Use _builtin_clz family of builtins if
available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82778 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/toplev.c
gcc/toplev.h