sha256-586.pl: fix linking error.
authorAndy Polyakov <appro@openssl.org>
Tue, 19 Jun 2012 07:49:36 +0000 (07:49 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 19 Jun 2012 07:49:36 +0000 (07:49 +0000)
crypto/sha/asm/sha256-586.pl

index c6cbbabd654c0f0ea5f0722b624160e68e5b92a3..46bd92943bf72e384a627ecb3f86d191512a6293 100644 (file)
@@ -181,7 +181,7 @@ sub BODY_00_15() {
        &test   ("ecx",1<<20);          # check for P4
        &jnz    (&label("loop"));
        &test   ("edx",1<<11);          # check for XOP
        &test   ("ecx",1<<20);          # check for P4
        &jnz    (&label("loop"));
        &test   ("edx",1<<11);          # check for XOP
-       &jnz    (&label("XOP"));
+       &jnz    (&label("XOP"))         if ($ymm);
        &and    ("ecx",1<<30);          # mask "Intel CPU" bit
        &and    ("edx",1<<28);          # mask AVX bit
        &or     ("ecx","edx");
        &and    ("ecx",1<<30);          # mask "Intel CPU" bit
        &and    ("edx",1<<28);          # mask AVX bit
        &or     ("ecx","edx");