vendor/blake3: update 1.3.3 -> 1.5.0
Dependencies
- [2]
LZA6NGMKvendor/blake3: update 1.3.1 -> 1.3.3, fixes #1 - [3]
WCBGKFLTvendor/blake3: add missing source and header file
Change contents
- replacement in vendor/blake3/blake3_impl.h at line 54
#define BLAKE3_USE_NEON 1#if defined(__ARM_BIG_ENDIAN)#define BLAKE3_USE_NEON 0#else#define BLAKE3_USE_NEON 1#endif - edit in vendor/blake3/blake3_dispatch.c at line 9
#include <Windows.h> - edit in vendor/blake3/blake3_dispatch.c at line 17
#if !defined(BLAKE3_ATOMICS)#if defined(__has_include)#if __has_include(<stdatomic.h>) && !defined(_MSC_VER)#define BLAKE3_ATOMICS 1#else#define BLAKE3_ATOMICS 0#endif /* __has_include(<stdatomic.h>) && !defined(_MSC_VER) */#else#define BLAKE3_ATOMICS 0#endif /* defined(__has_include) */#endif /* BLAKE3_ATOMICS */ - edit in vendor/blake3/blake3_dispatch.c at line 30
#if BLAKE3_ATOMICS#define ATOMIC_INT _Atomic int#define ATOMIC_LOAD(x) x#define ATOMIC_STORE(x, y) x = y#elif defined(_MSC_VER)#define ATOMIC_INT LONG#define ATOMIC_LOAD(x) InterlockedOr(&x, 0)#define ATOMIC_STORE(x, y) InterlockedExchange(&x, y)#else#define ATOMIC_INT int#define ATOMIC_LOAD(x) x#define ATOMIC_STORE(x, y) x = y#endif - replacement in vendor/blake3/blake3_dispatch.c at line 106
enum cpu_feature g_cpu_features = UNDEFINED;ATOMIC_INT g_cpu_features = UNDEFINED; - replacement in vendor/blake3/blake3_dispatch.c at line 114
if (g_cpu_features != UNDEFINED) {return g_cpu_features;/* If TSAN detects a data race here, try compiling with -DBLAKE3_ATOMICS=1 */enum cpu_feature features = ATOMIC_LOAD(g_cpu_features);if (features != UNDEFINED) {return features; - replacement in vendor/blake3/blake3_dispatch.c at line 123
enum cpu_feature features = 0;features = 0; - replacement in vendor/blake3/blake3_dispatch.c at line 156
g_cpu_features = features;ATOMIC_STORE(g_cpu_features, features); - replacement in vendor/blake3/blake3.h at line 33
#define BLAKE3_VERSION_STRING "1.3.3"#define BLAKE3_VERSION_STRING "1.5.0" - replacement in vendor/blake3/blake3.c at line 257
// wouldn't be able to implement exendable output.) Note that this function is// wouldn't be able to implement extendable output.) Note that this function is