aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-09-19 13:06:46 +0000
committerAndy Polyakov <appro@openssl.org>2005-09-19 13:06:46 +0000
commitaf2c2823a7bfcd2c5b094da14466f842913e757d (patch)
tree19fa7fa86308a35b017782437f6fe822f2218298 /crypto/md32_common.h
parentb17ecb642b11e85a6bc856c560f670c9f3615e6e (diff)
downloadopenssl-af2c2823a7bfcd2c5b094da14466f842913e757d.tar.gz
bswapl usage should be masked by I386_ONLY.
PR: 1195
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index f1c48b54da..0812a53b2f 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -286,7 +286,8 @@
#ifndef PEDANTIC
# if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
-# if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__)
+# if ((defined(__i386) || defined(__i386__)) && && !defined(I386_ONLY)) || \
+ (defined(__x86_64) || defined(__x86_64__))
/*
* This gives ~30-40% performance improvement in SHA-256 compiled
* with gcc [on P4]. Well, first macro to be frank. We can pull