diff --git a/simon-simd.cpp b/simon-simd.cpp index b9c4e337..00b451f8 100644 --- a/simon-simd.cpp +++ b/simon-simd.cpp @@ -17,12 +17,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 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 - #if (CRYPTOPP_ARM_NEON_AVAILABLE) # include #endif diff --git a/simon.cpp b/simon.cpp index 4e9f8856..b2918f6c 100644 --- a/simon.cpp +++ b/simon.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; diff --git a/speck-simd.cpp b/speck-simd.cpp index e23d6aec..c187681e 100644 --- a/speck-simd.cpp +++ b/speck-simd.cpp @@ -17,12 +17,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 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 - #if (CRYPTOPP_ARM_NEON_AVAILABLE) # include #endif 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;