From 7306ab29bcaa5cc4c7c69b0315055dfb29558002 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 19 Sep 2005 13:17:07 +0000 Subject: [PATCH] bswapl usage should be masked by I386_ONLY. PR: 1195 --- crypto/md32_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/md32_common.h b/crypto/md32_common.h index f1c48b54da..0e625a8e55 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 -- 2.25.1