From 986289604e6c8b1b9956b215efb1a72145765c27 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 27 May 2011 16:15:12 +0000 Subject: [PATCH] rc4-x86_64.pl: RC4_options fix-up. --- crypto/rc4/asm/rc4-x86_64.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crypto/rc4/asm/rc4-x86_64.pl b/crypto/rc4/asm/rc4-x86_64.pl index 44466ee97a..4eb0990302 100755 --- a/crypto/rc4/asm/rc4-x86_64.pl +++ b/crypto/rc4/asm/rc4-x86_64.pl @@ -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