mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Use SSE2 for 64-bit machines only
This commit is contained in:
parent
435b4f050b
commit
54ec7e588b
@ -10,8 +10,9 @@
|
||||
#include "lsh.h"
|
||||
#include "misc.h"
|
||||
|
||||
// Only enable the intrinsics for 64-bit machines
|
||||
#ifndef CRYPTOPP_DISABLE_ASM
|
||||
# if defined(__SSE2__) || defined(_M_X64)
|
||||
# if defined(__SSE2__) && (defined(__amd64__) || defined(_M_X64))
|
||||
# define CRYPTOPP_LSH256_ASM_AVAILABLE 1
|
||||
# endif
|
||||
#endif
|
||||
|
@ -10,8 +10,9 @@
|
||||
#include "lsh.h"
|
||||
#include "misc.h"
|
||||
|
||||
// Only enable the intrinsics for 64-bit machines
|
||||
#ifndef CRYPTOPP_DISABLE_ASM
|
||||
# if defined(__SSE2__) || defined(_M_X64)
|
||||
# if defined(__SSE2__) && (defined(__amd64__) || defined(_M_X64))
|
||||
# define CRYPTOPP_LSH512_ASM_AVAILABLE 1
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user