Disable ASM and intrinsics for ARM big-endian

We don't have a test rig to test things. Based on our experience with Power8 and BE/LE, there will be trouble
pull/705/head
Jeffrey Walton 2018-08-18 04:31:49 -04:00
parent 48f2d95b0f
commit 06cf2ede9e
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 6 additions and 0 deletions

View File

@ -594,6 +594,12 @@ NAMESPACE_END
#if (CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARM64) #if (CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARM64)
// We don't have an ARM big endian test rig. Disable
// ARM-BE ASM and instrinsics until we can test it.
#if defined(CRYPTOPP_BIG_ENDIAN)
# define CRYPTOPP_DISABLE_ASM 1
#endif
// Requires ARMv7 and ACLE 1.0. -march=armv7-a or above must be present // Requires ARMv7 and ACLE 1.0. -march=armv7-a or above must be present
// Requires GCC 4.3, Clang 2.8 or Visual Studio 2012 // Requires GCC 4.3, Clang 2.8 or Visual Studio 2012
// Do not use APPLE_CLANG_VERSION; use __ARM_FEATURE_XXX instead. // Do not use APPLE_CLANG_VERSION; use __ARM_FEATURE_XXX instead.