sha/asm/sha256-586.pl: don't try to compile SIMD with no-sse2.
authorAndy Polyakov <appro@openssl.org>
Wed, 26 Feb 2014 09:22:13 +0000 (10:22 +0100)
committerAndy Polyakov <appro@openssl.org>
Wed, 26 Feb 2014 09:22:13 +0000 (10:22 +0100)
crypto/sha/asm/sha256-586.pl

index bd48b63..a3117f0 100644 (file)
@@ -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"));