diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-12-05 14:02:48 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-12-05 14:02:48 -0500 |
commit | 7bc621da624344b79517d14ddb3f94018d1671b8 (patch) | |
tree | 007523bf245dedbb14b579b9f050c0914bf447cf /speck.cpp | |
parent | 9b61d4143da890d23328c22db8d9454235e1ded7 (diff) | |
download | cryptopp-git-7bc621da624344b79517d14ddb3f94018d1671b8.tar.gz |
Enable NEON/ASIMD for Simon and Speck on Aarch32/Aarch64 (GH #545)
Diffstat (limited to 'speck.cpp')
-rw-r--r-- | speck.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -13,12 +13,6 @@ // #undef CRYPTOPP_SSE41_AVAILABLE
// #undef CRYPTOPP_ARM_NEON_AVAILABLE
-// Disable NEON/ASIMD for Cortex-A53 and A57. The shifts are too slow and C/C++ is about
-// 3 cpb faster than NEON/ASIMD. Also see http://github.com/weidai11/cryptopp/issues/367.
-#if (defined(__aarch32__) || defined(__aarch64__)) && defined(CRYPTOPP_SLOW_ARMV8_SHIFT)
-# undef CRYPTOPP_ARM_NEON_AVAILABLE
-#endif
-
ANONYMOUS_NAMESPACE_BEGIN
using CryptoPP::word32;
|