summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-02-26 10:22:13 +0100
committerAndy Polyakov <appro@openssl.org>2014-02-26 10:23:56 +0100
commitd00ae7cf7019847c5d35728b01b22461a01bb336 (patch)
tree983723f258af9ac3c0d7f9bc9af139af602c6041 /crypto/sha
parentf92926e33175b0ef874244ba7d66dd987a862750 (diff)
sha/asm/sha256-586.pl: don't try to compile SIMD with no-sse2.
(cherry picked from commit d49135e7ead795412a8357ff425dc99e328c53f6)
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/asm/sha256-586.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/asm/sha256-586.pl b/crypto/sha/asm/sha256-586.pl
index bd48b638c5..a3117f03d3 100644
--- a/crypto/sha/asm/sha256-586.pl
+++ b/crypto/sha/asm/sha256-586.pl
@@ -190,7 +190,7 @@ sub BODY_00_15() {
&mov (&DWP(4,"esp"),"edi"); # inp
&mov (&DWP(8,"esp"),"eax"); # inp+num*128
&mov (&DWP(12,"esp"),"ebx"); # saved sp
- if (!$i386) {
+ if (!$i386 && $xmm) {
&picmeup("edx","OPENSSL_ia32cap_P",$K256,&label("K256"));
&mov ("ecx",&DWP(0,"edx"));
&mov ("ebx",&DWP(4,"edx"));