diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-17 12:56:00 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-09-17 13:06:54 -0700 |
| commit | 6bbbc38b3421723521f7cdd4fd617a4fc889aceb (patch) | |
| tree | 9cc9d4cd249578118ae6b22da617935a760cc891 /lib/count-trailing-zeros.h | |
| parent | 57249fb297237bb942ead1f7a0af0ac20811a9cf (diff) | |
| download | emacs-6bbbc38b3421723521f7cdd4fd617a4fc889aceb.tar.gz | |
Merge from Gnulib
This incorporates:
2017-09-16 manywarnings: port to GCC on 64-bit MS-Windows
2017-09-13 all: Replace many more http URLs by https URLs
* build-aux/config.guess, build-aux/config.sub:
* build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
* lib/allocator.h, lib/count-leading-zeros.h:
* lib/count-trailing-zeros.h, lib/dup2.c, lib/filevercmp.c:
* lib/fstatat.c, lib/fsync.c, lib/ftoastr.c, lib/ftoastr.h:
* lib/intprops.h, lib/signal.in.h, lib/stdio-impl.h, lib/stdio.in.h:
* lib/unistd.in.h, lib/utimens.c, m4/alloca.m4, m4/extern-inline.m4:
* m4/fstatat.m4, m4/gnulib-common.m4, m4/manywarnings.m4:
* m4/std-gnu11.m4, m4/sys_types_h.m4, m4/vararrays.m4:
Copy from Gnulib.
* lib/gnulib.mk.in: Regenerate.
Diffstat (limited to 'lib/count-trailing-zeros.h')
| -rw-r--r-- | lib/count-trailing-zeros.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/count-trailing-zeros.h b/lib/count-trailing-zeros.h index be7131429c1..9f9f07f5a0d 100644 --- a/lib/count-trailing-zeros.h +++ b/lib/count-trailing-zeros.h @@ -68,7 +68,8 @@ _GL_INLINE_HEADER_BEGIN COUNT_TRAILING_ZEROS_INLINE int count_trailing_zeros_32 (unsigned int x) { - /* http://graphics.stanford.edu/~seander/bithacks.html */ + /* <https://github.com/gibsjose/BitHacks> + <http://www.fit.vutbr.cz/~ibarina/pub/bithacks.pdf> */ static const char de_Bruijn_lookup[32] = { 0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, 16, 7, 26, 12, 18, 6, 11, 5, 10, 9 |
