1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-06-13 09:16:03 +02:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Pantelis Antoniou 42439e5668
Merge 7973cc5a37 into 4ec3be8bfa 2024-03-30 20:20:19 +00:00
2 changed files with 3 additions and 6 deletions

View File

@ -6,12 +6,9 @@
#include "blake3_impl.h"
#include "blake3_thread.h"
#if defined(_MSC_VER)
#include <Windows.h>
#endif
#if defined(IS_X86)
#if defined(_MSC_VER)
#include <Windows.h>
#include <intrin.h>
#elif defined(__GNUC__)
#include <immintrin.h>

View File

@ -29,7 +29,7 @@ enum blake3_flags {
#define INLINE static inline __attribute__((always_inline))
#endif
#if (defined(__x86_64__) || defined(_M_X64)) && !defined(_M_ARM64EC)
#if defined(__x86_64__) || defined(_M_X64)
#define IS_X86
#define IS_X86_64
#endif
@ -39,7 +39,7 @@ enum blake3_flags {
#define IS_X86_32
#endif
#if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
#if defined(__aarch64__) || defined(_M_ARM64)
#define IS_AARCH64
#endif