summaryrefslogtreecommitdiff
path: root/speck.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-12-05 14:02:48 -0500
committerJeffrey Walton <noloader@gmail.com>2017-12-05 14:02:48 -0500
commit7bc621da624344b79517d14ddb3f94018d1671b8 (patch)
tree007523bf245dedbb14b579b9f050c0914bf447cf /speck.cpp
parent9b61d4143da890d23328c22db8d9454235e1ded7 (diff)
downloadcryptopp-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.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/speck.cpp b/speck.cpp
index 9979a317..135f80c0 100644
--- a/speck.cpp
+++ b/speck.cpp
@@ -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;