Add experimental XXH3 hash implementation with SIMD acceleration

Memory write speed using the C memset() function:
  memset   57952

Hash used to check the data blocks integrity:
            best murmur3 spooky2 museair    xxh3   xsse2   xavx2
    hash spooky2    6172   17914   32048   14627   23613   44034
This commit is contained in:
Andrea Mazzoleni 2026-09-30 09:13:57 +02:00
parent f0ae584473
commit cea9015933
17 changed files with 5498 additions and 13 deletions

View file

@ -84,11 +84,22 @@
#define CONFIG_X86_64 1
#endif
#if defined(__aarch64__) && defined(__ARM_FEATURE_CRC32)
#if defined(__aarch64__)
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
#define CONFIG_NEON 1
#endif
#if defined(__ARM_FEATURE_CRC32)
#define CONFIG_ARM_CRC 1
#endif
#endif
#if defined(__arm__)
#if defined(__ARM_NEON) || defined(__ARM_NEON__)
#define CONFIG_NEON32 1
#endif
#endif
#endif
/**
* Includes some platform specific headers.
*/
@ -132,7 +143,6 @@
#include <linux/fiemap.h>
#endif
/**
* Includes some standard headers.
*/