aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-10-25 15:55:06 +0000
committerAndy Polyakov <appro@openssl.org>2005-10-25 15:55:06 +0000
commit6c1fc273f3b470ca4aff313ea9abaaab4e41f7b8 (patch)
tree107f916cba09ef2c61efad98c23b9e77df50a518 /crypto/md32_common.h
parentaa8b03b415d20c0863f44c211486f881c6689383 (diff)
downloadopenssl-6c1fc273f3b470ca4aff313ea9abaaab4e41f7b8.tar.gz
Eliminate false preprocessor dependencies introduced with VOS support.
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index 0e625a8e55..2afe045c5d 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -288,6 +288,7 @@
# if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
# if ((defined(__i386) || defined(__i386__)) && !defined(I386_ONLY)) || \
(defined(__x86_64) || defined(__x86_64__))
+# if !defined(B_ENDIAN)
/*
* This gives ~30-40% performance improvement in SHA-256 compiled
* with gcc [on P4]. Well, first macro to be frank. We can pull
@@ -300,6 +301,7 @@
# define HOST_l2c(l,c) ({ unsigned int r=(l); \
asm ("bswapl %0":"=r"(r):"0"(r)); \
*((unsigned int *)(c))=r; (c)+=4; r; })
+# endif
# endif
# endif
#endif