From 8e06c2758888803571de2e646243af7b501f39e0 Mon Sep 17 00:00:00 2001 From: Leonid Evdokimov Date: Thu, 26 Sep 2024 17:33:30 +0300 Subject: [PATCH] NMHASH32: WIP-N+1 --- Hashes.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Hashes.cpp b/Hashes.cpp index 145b09ef..f09de161 100644 --- a/Hashes.cpp +++ b/Hashes.cpp @@ -1277,13 +1277,13 @@ void crc32c_pclmul_test(const void *key, int len, uint32_t seed, void *out) } #endif -#define NMHASH32_long_round_scalar(a, b, c) \ - NMHASH32_long_round_scalar(uint32_t *const accX, uint32_t *const accY, const uint8_t* const p) +#define __sun 42 // to define NMH_RESTRICT #include "hash-garage/nmhash.h" -#define NMHASH32_DESC_STR "le:" MACRO_ITOA(NMHASH_LITTLE_ENDIAN) ", " \ - "vector:" MACRO_ITOA(NMH_VECTOR) ", " \ - "align:" MACRO_ITOA(NMH_ACC_ALIGN) ", " +#define NMHASH32_DESC_STR "NMHASH_LITTLE_ENDIAN:" MACRO_ITOA(NMHASH_LITTLE_ENDIAN) ", " \ + "NMH_VECTOR:" MACRO_ITOA(NMH_VECTOR) ", " \ + "NMH_ACC_ALIGN:" MACRO_ITOA(NMH_ACC_ALIGN) ", " \ + "NMH_RESTRICT:" MACRO_ITOA(NMH_RESTRICT) ", " const char * const nmhash32_ver("nmhash32, " NMHASH32_DESC_STR); const char * const nmhash32x_ver("nmhash32x, " NMHASH32_DESC_STR);