nir: replace fnv1a hash function with xxhash
authorDmitriy Nester <dmitriynester@gmail.com>
Thu, 27 Feb 2020 13:04:25 +0000 (15:04 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 25 May 2020 19:41:09 +0000 (19:41 +0000)
commit0e9af023234d7dbe3349a5303312c613dd28c861
treea04ba7238d9b4a0b13dff1b7fe1c0e38577f8c89
parent1d647b1c48a8a25fd93fbaae5a6119e3f7d09ea5
nir: replace fnv1a hash function with xxhash

xxhash is faster than fnv1a in almost all circumstances, so we're
switching to it globally.

Signed-off-by: Dmytro Nester <dmytro.nester@globallogic.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4020>
src/compiler/nir/nir.h
src/compiler/nir/nir_instr_set.c
src/compiler/nir/nir_lower_locals_to_regs.c
src/compiler/nir/nir_opt_load_store_vectorize.c
src/compiler/nir/nir_opt_vectorize.c