__SSE2__ may need to be explicitly enabled

This commit is contained in:
Frank Denis 2017-09-17 18:15:18 +02:00
parent a161dd9fa1
commit 35d8aa5d3e
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include "crypto_verify_16.h" #include "crypto_verify_16.h"
#include "crypto_verify_32.h" #include "crypto_verify_32.h"
#include "crypto_verify_64.h" #include "crypto_verify_64.h"
#include "private/sse2_64_32.h"
size_t size_t
crypto_verify_16_bytes(void) crypto_verify_16_bytes(void)

View File

@ -11,6 +11,9 @@
!(defined(__amd64) || defined(__amd64__) || defined(__x86_64__) || \ !(defined(__amd64) || defined(__amd64__) || defined(__x86_64__) || \
defined(_M_X64) || defined(_M_AMD64)) defined(_M_X64) || defined(_M_AMD64))
# ifndef __SSE2__
# define __SSE2__
# endif
# include <emmintrin.h> # include <emmintrin.h>
# include <stdint.h> # include <stdint.h>