diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-16 17:06:39 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-16 17:06:39 -0500 |
commit | e86a6b32eb5633e820578b97be7b2d79640bfe47 (patch) | |
tree | 778e320937aec6ec3ac4a868b663b342575a94e7 /speck.h | |
parent | 7969f7181fadba2e89b3a0054315f108dc2afeb7 (diff) | |
download | cryptopp-git-e86a6b32eb5633e820578b97be7b2d79640bfe47.tar.gz |
Add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE (GH #782)
I also suspect this has something to do with GH #768 and several others
Diffstat (limited to 'speck.h')
-rw-r--r-- | speck.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -20,13 +20,17 @@ #if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || \
CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8 || \
CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
-# define CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS 1
+# ifndef CRYPTOPP_DISABLE_SPECK_SIMD
+# define CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS 1
+# endif
#endif
#if CRYPTOPP_BOOL_X64 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 || \
CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARMV8 || \
CRYPTOPP_BOOL_PPC32 || CRYPTOPP_BOOL_PPC64
-# define CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS 1
+# ifndef CRYPTOPP_DISABLE_SPECK_SIMD
+# define CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS 1
+# endif
#endif
// Yet another SunStudio/SunCC workaround. Failed self tests
|