Refactor ASN1_TIME_print functions
[openssl.git] / crypto / x86_64cpuid.pl
index a9f93bb2cf442d81a52dd630ce8d128db066c0f9..f228c24ba17c694d081fb24836b996ee0f3aeab4 100644 (file)
@@ -150,7 +150,7 @@ OPENSSL_ia32_cpuid:
 .LnotP4:
        cmp     \$6,%ah
        jne     .Lnotintel
-       and     \$0x0ffff0f0,%eax
+       and     \$0x0fff0ff0,%eax
        cmp     \$0x00050670,%eax       # Knights Landing
        je      .Lknights
        cmp     \$0x00080650,%eax       # Knights Mill (according to sde)
@@ -207,7 +207,7 @@ OPENSSL_ia32_cpuid:
        mov     \$0xefffe7ff,%eax       # ~(1<<28|1<<12|1<<11)
        and     %eax,%r9d               # clear AVX, FMA and AMD XOP bits
        mov     \$0x3fdeffdf,%eax       # ~(1<<31|1<<30|1<<21|1<<16|1<<5)
-       and     %eax,8(%rdi)            # cleax AVX2 and AVX512* bits
+       and     %eax,8(%rdi)            # clear AVX2 and AVX512* bits
 .Ldone:
        shl     \$32,%r9
        mov     %r10d,%eax