Revert random changes from commit#22606.
authorAndy Polyakov <appro@openssl.org>
Mon, 4 Jun 2012 22:12:10 +0000 (22:12 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 4 Jun 2012 22:12:10 +0000 (22:12 +0000)
crypto/evp/e_rc4_hmac_md5.c
crypto/modes/gcm128.c
crypto/x86cpuid.pl

index 5656319..649fcad 100644 (file)
@@ -103,8 +103,7 @@ static int rc4_hmac_md5_init_key(EVP_CIPHER_CTX *ctx,
 #if    !defined(OPENSSL_NO_ASM) &&     ( \
        defined(__x86_64)       || defined(__x86_64__)  || \
        defined(_M_AMD64)       || defined(_M_X64)      || \
-       defined(__INTEL__)              ) && \
-       !(defined(__APPLE__) && defined(__MACH__))
+       defined(__INTEL__)              )
 #define        STITCHED_CALL
 #endif
 
index f52d22f..025c7f8 100644 (file)
@@ -1752,7 +1752,7 @@ int main()
 
        GHASH((&ctx),buf.c,sizeof(buf));
        start = OPENSSL_rdtsc();
-       for (i=0;i<100;++i) GHASH(&ctx,buf.c,sizeof(buf));
+       for (i=0;i<100;++i) GHASH((&ctx),buf.c,sizeof(buf));
        gcm_t = OPENSSL_rdtsc() - start;
        printf("%.2f\n",gcm_t/(double)sizeof(buf)/(double)i);
        }
index 9b097fc..808049a 100644 (file)
@@ -196,7 +196,7 @@ for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
 
 &function_begin_B("OPENSSL_far_spin");
        &pushf  ();
-       &pop    ("eax")
+       &pop    ("eax");
        &bt     ("eax",9);
        &jnc    (&label("nospin"));     # interrupts are disabled