mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-09 11:46:08 +02:00
Compare commits
3 Commits
8989ca76a1
...
bc6ec702b4
Author | SHA1 | Date | |
---|---|---|---|
Paul Miller | bc6ec702b4 | ||
Javier Blazquez | 0816badf3a | ||
Paul Miller | da5fba8f9b |
|
@ -179,7 +179,7 @@ We post links to third-party bindings and implementations on the
|
|||
we hear about them. Some highlights include [an optimized Go
|
||||
implementation](https://github.com/zeebo/blake3), [Wasm bindings for
|
||||
Node.js and browsers](https://github.com/connor4312/blake3), [binary
|
||||
wheels for Python](https://github.com/oconnor663/blake3-py), [.NET
|
||||
wheels for Python](https://github.com/oconnor663/blake3-py), [pure TypeScript / JS implementation](https://github.com/paulmillr/noble-hashes), [.NET
|
||||
bindings](https://github.com/xoofx/Blake3.NET), and [JNI
|
||||
bindings](https://github.com/sken77/BLAKE3jni).
|
||||
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
|
||||
#include "blake3_impl.h"
|
||||
|
||||
#if defined(IS_X86)
|
||||
#if defined(_MSC_VER)
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#if defined(IS_X86)
|
||||
#if defined(_MSC_VER)
|
||||
#include <intrin.h>
|
||||
#elif defined(__GNUC__)
|
||||
#include <immintrin.h>
|
||||
|
|
|
@ -28,7 +28,7 @@ enum blake3_flags {
|
|||
#define INLINE static inline __attribute__((always_inline))
|
||||
#endif
|
||||
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
#if (defined(__x86_64__) || defined(_M_X64)) && !defined(_M_ARM64EC)
|
||||
#define IS_X86
|
||||
#define IS_X86_64
|
||||
#endif
|
||||
|
@ -38,7 +38,7 @@ enum blake3_flags {
|
|||
#define IS_X86_32
|
||||
#endif
|
||||
|
||||
#if defined(__aarch64__) || defined(_M_ARM64)
|
||||
#if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
|
||||
#define IS_AARCH64
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue