1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
emacs/admin
Paul Eggert 595e113b15 Improve support for popcount and counting trailing zeros.
Do this by using the Gnulib modules for this.
This should generate faster code on non-GCC, non-MSC platforms,
and make the code a bit more portable, at least in theory.
* admin/merge-gnulib (GNULIB_MODULES): Add count-one-bits
and count-trailing-zeros.
* lib/count-one-bits.c, lib/count-one-bits.h:
* lib/count-trailing-zeros.c, lib/count-trailing-zeros.h:
* m4/count-one-bits.m4, m4/count-trailing-zeros.m4:
New files, copied from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* nt/gnulib.mk: Merge changes from lib/gnulib.mk.
* src/data.c: Include <count-one-bits.h>, <count-trailing-zeros.h>.
(USE_MSC_POPCOUNT, POPCOUNT_STATIC_INLINE)
(NEED_GENERIC_POPCOUNT, popcount_size_t_generic)
(popcount_size_t_msc, popcount_size_t_gcc):
Remove; now done by Gnulib.
(popcount_size_t): Now a macro that defers to Gnulib.
(count_trailing_zero_bits): Return int, for consistency with
Gnulib and because Emacs prefers signed to unsigned int.
Don't assume that size_t is either unsigned int or unsigned long
or unsigned long long.
(size_t_to_host_endian): Do not assume that size_t is either
exactly 32 or exactly 64 bits wide.
* src/lisp.h (BITS_PER_SIZE_T): Define consistently with BITS_PER_LONG
etc., so that it's now an enum constant, not a macro.
No need to assume that it's either 32 or 64.

Fixes: debbugs:15550
2013-10-07 14:37:19 -07:00
..
charsets Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
coccinelle * src/lisp.h (XSAVE_POINTER, XSAVE_INTEGER): Change to allow extraction 2013-01-15 13:22:25 +04:00
grammars Merge from CEDET upstream (8564). 2013-06-02 15:33:09 +02:00
notes * admin/notes/elpa: Update to the new Git setup. 2013-08-29 15:20:42 -04:00
nt Update location of Emacs on MS Windows FAQ 2013-08-27 15:40:24 -04:00
unidata * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, 2013-08-27 23:01:52 -07:00
admin.el * doc/misc/efaq.texi: Rename from faq.texi, to match its output files. 2013-08-27 13:19:04 -04:00
alloc-colors.c Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
build-configs Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
bzrmerge.el Merge from emacs-24 2013-03-16 18:08:22 -04:00
ChangeLog Improve support for popcount and counting trailing zeros. 2013-10-07 14:37:19 -07:00
check-doc-strings * check-doc-strings: Update for CVS->bzr, moved lispref/ directory. 2013-01-02 18:36:29 -08:00
CPP-DEFINES Remove some unused macros from 'configure'. 2013-07-02 09:56:29 -07:00
cus-test.el Fix some custom types 2013-08-13 00:42:51 -07:00
diff-tar-files Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
FOR-RELEASE Checked TUTORIAL.cn. 2013-09-20 18:22:20 +08:00
MAINTAINERS Remove some of the more obsolete MAINTAINERS info 2013-01-08 20:00:57 -08:00
make-emacs Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
make-tarball.txt Stop keeping etc/refcards generated PDFs in the repository 2013-08-14 23:38:44 -07:00
merge-gnulib Improve support for popcount and counting trailing zeros. 2013-10-07 14:37:19 -07:00
quick-install-emacs Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
README Remove some deleted files 2013-01-02 18:31:36 -08:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2013 Free Software Foundation, Inc.
See the end of the file for license conditions.


			 The admin directory

This directory contains scripts and other things useful for developing
and maintaining Emacs.  These files are not part of Emacs releases
because they are not deemed generally useful, and you have to know
what you do when using them.


* Instructions and scripts used to prepare an Emacs release.

** FOR-RELEASE

Living list of activities that must be completed before the next release.

** make-tarball.txt

Instructions to create pretest or release tarballs, announcements, etc.

** admin.el

Utilities for setting version numbers and alike.


* Scripts that can be used to build and test Emacs.

** build-configs

Build Emacs in various configurations.

** make-emacs

Build Emacs in various ways.

** quick-install-emacs

Install emacs quickly (`incrementally').

** alloc-colors.c

A utility program that allocates a given number of colors on X.  Can
be used to debug Emacs with dense colormaps (PseudoColor).

** check-doc-strings

Check doc strings against documentation.

** cus-test.el

Tests for custom types and load problems.

** diff-tar-files

Show files added/removed between two tar files.


Brief description of sub-directories:

charsets		scripts for generating charset map files
			in ../etc/charsets
unidata			scripts for generating character property files
			in ../lisp/international


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.

Local variables:
mode: outline
paragraph-separate: "[ 	]*$"
end: