make/tests/scripts
Paolo Bonzini 4fd56724ad Use Jenkins hash.
This is about twice as fast as the current hash, and removes the
need for double hashing (improving locality of reference).  The
hash function is based on Bob Jenkins' design, slightly adapted
wherever Make needs to hash NUL-terminated strings.  The old hash
function is kept for case-insensitive hashing.

This saves 8.5% on QEMU's no-op build (from 12.87s to 11.78s).

* configure.ac: Check endianness.
* hash.c (rol32, jhash_mix, jhash_final, JHASH_INITVAL,
sum_get_unaligned_32, jhash): New.
* hash.h (STRING_HASH_1, STRING_N_HASH_1): Use jhash.
(STRING_HASH_2, STRING_N_HASH_2): Return a dummy value.
(STRING_N_COMPARE, return_STRING_N_COMPARE): Prefer memcmp to strncmp.
2017-11-11 10:08:30 -05:00
..
features * main.c (main): [SV 48274] Allow -j in makefile MAKEFLAGS variable. 2017-10-31 01:08:57 -04:00
functions * function.c (shell_completed): [SV 51014] Add signal to .SHELLSTATUS 2017-07-01 19:40:21 -04:00
misc * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00
options * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00
targets Use Jenkins hash. 2017-11-11 10:08:30 -05:00
variables * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00
vms [SV 41758]: Fix archive support for VMS. 2014-10-20 01:31:42 -04:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00