diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-08-18 04:31:49 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-08-18 04:31:49 -0400 |
commit | 06cf2ede9e043b4c25eb3521cf67fcebb41b7629 (patch) | |
tree | 9daa145f9dc1f1204c3c718d3a97f751e1e6ca8e /config.h | |
parent | 48f2d95b0f75ba9e90b6fb83705383cc86c3a156 (diff) | |
download | cryptopp-git-06cf2ede9e043b4c25eb3521cf67fcebb41b7629.tar.gz |
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
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -593,6 +593,12 @@ NAMESPACE_END // ***************** ARM CPU features ********************
#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 GCC 4.3, Clang 2.8 or Visual Studio 2012
|