1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00
emacs/m4
Paul Eggert 4eed315732 Use hardware support for byteswapping on glibc x86 etc.
On Fedora 19 x86-64, the new bswap_64 needs 1 instruction,
whereas the old swap64 needed 30.
* admin/merge-gnulib (GNULIB_MODULES): Add byteswap.
* lib/byteswap.in.h, m4/byteswap.m4: New files, copied from Gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* src/fringe.c (init_fringe_bitmap) [WORDS_BIGENDIAN]:
* src/sound.c (le2hl, le2hs, be2hl) [!WINDOWSNT]:
Use byteswap.h's macros to swap bytes.
* src/lisp.h (swap16, swap32, swap64): Remove.
All uses replaced by bswap_16, bswap_32, bswap_64.
2013-10-04 00:36:22 -07:00
..
00gnulib.m4
acl.m4
alloca.m4
byteswap.m4 Use hardware support for byteswapping on glibc x86 etc. 2013-10-04 00:36:22 -07:00
c-strtod.m4
clock_time.m4
close-stream.m4
dirent_h.m4
dup2.m4
environ.m4
errno_h.m4
euidaccess.m4
execinfo.m4
extensions.m4
extern-inline.m4
faccessat.m4
fcntl.m4
fcntl_h.m4
fdatasync.m4
fdopendir.m4
filemode.m4
fpending.m4
fstatat.m4
fsync.m4
getdtablesize.m4
getgroups.m4
getloadavg.m4
getopt.m4
gettime.m4
gettimeofday.m4
gnulib-common.m4
gnulib-comp.m4 Use hardware support for byteswapping on glibc x86 etc. 2013-10-04 00:36:22 -07:00
gnulib-tool.m4
group-member.m4
include_next.m4
inttypes.m4
largefile.m4
longlong.m4
lstat.m4
manywarnings.m4
md5.m4
memrchr.m4
mkostemp.m4
mktime.m4
multiarch.m4
nocrash.m4
off_t.m4
pathmax.m4
pipe2.m4
pselect.m4
pthread_sigmask.m4
putenv.m4
readlink.m4
readlinkat.m4
secure_getenv.m4
setenv.m4
sha1.m4
sha256.m4
sha512.m4
sig2str.m4
signal_h.m4
socklen.m4
ssize_t.m4
st_dm_mode.m4
stat-time.m4
stat.m4
stdalign.m4
stdarg.m4
stdbool.m4
stddef_h.m4
stdint.m4
stdio_h.m4
stdlib_h.m4
strftime.m4
string_h.m4
strtoimax.m4
strtoll.m4
strtoull.m4
strtoumax.m4
symlink.m4
sys_select_h.m4
sys_socket_h.m4
sys_stat_h.m4
sys_time_h.m4
sys_types_h.m4
tempname.m4
time_h.m4
time_r.m4
timer_time.m4
timespec.m4
tm_gmtoff.m4
unistd_h.m4
utimbuf.m4
utimens.m4
utimes.m4
warnings.m4
wchar_t.m4