Skip to content

Commit

Permalink
NMHASH32: WIP-N+1
Browse files Browse the repository at this point in the history
  • Loading branch information
darkk committed Sep 26, 2024
1 parent 6a1d3fe commit 8e06c27
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Hashes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8e06c27

Please sign in to comment.