Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sync bundled xxhash.h to upstream dev to enable the RVV-accelerated XXH3 dispatch path on RISC-V (rv64gcv).
10 changes: 10 additions & 0 deletions util/xxhash.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,14 @@
#endif // !defined(XXH_STATIC_LINKING_ONLY)
#define XXH_IMPLEMENTATION /* access definitions */

// xxhash.h follows upstream and uses NULL pervasively; silence the warning here.
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#endif

#include "xxhash.h"

#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic pop
#endif
Loading