summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-04-30 15:26:06 +0200
committerAndy Polyakov <appro@openssl.org>2007-04-30 15:26:06 +0200
commitb38c0add308603b3d4d63ec68a7dbb67b3109cd1 (patch)
tree2129a1f0c7da3e57283049dff84551b8fddad986 /crypto/sha
parentEngage s390x assembler modules. (diff)
downloadopenssl-b38c0add308603b3d4d63ec68a7dbb67b3109cd1.tar.xz
openssl-b38c0add308603b3d4d63ec68a7dbb67b3109cd1.zip
s390x optimizations.
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha512.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c
index 439fa02385..c3c4008a14 100644
--- a/crypto/sha/sha512.c
+++ b/crypto/sha/sha512.c
@@ -52,7 +52,9 @@
const char SHA512_version[]="SHA-512" OPENSSL_VERSION_PTEXT;
-#if defined(_M_IX86) || defined(_M_AMD64) || defined(__i386) || defined(__x86_64)
+#if defined(__i386) || defined(__i386__) || defined(_M_IX87) || \
+ defined(__x86_64) || defined(_M_AMD64) || defined(_M_X64) || \
+ defined(__s390__) || defined(__s390x__)
#define SHA512_BLOCK_CAN_MANAGE_UNALIGNED_DATA
#endif