rc4-x86_64.pl: RC4_options fix-up.
authorAndy Polyakov <appro@openssl.org>
Fri, 27 May 2011 16:15:12 +0000 (16:15 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 27 May 2011 16:15:12 +0000 (16:15 +0000)
crypto/rc4/asm/rc4-x86_64.pl

index 44466ee..4eb0990 100755 (executable)
@@ -503,11 +503,13 @@ RC4_options:
        lea     .Lopts(%rip),%rax
        mov     OPENSSL_ia32cap_P(%rip),%edx
        bt      \$20,%edx
-       jnc     .Ldone
-       add     \$12,%rax
+       jc      .L8xchar
        bt      \$30,%edx
        jnc     .Ldone
-       add     \$13,%rax
+       add     \$25,%rax
+       ret
+.L8xchar:
+       add     \$12,%rax
 .Ldone:
        ret
 .align 64