x86_64 assembler pack to comply with updated styling x86_64-xlate.pl rules.
[oweals/openssl.git] / crypto / rc4 / asm / rc4-x86_64.pl
index 2d473204854c235c9ff6c2086485956f60fb9e9d..959a67a868ad6a851ab4e1021f7fb84694694467 100755 (executable)
@@ -167,7 +167,7 @@ $code.=<<___;
        movzb   ($dat,$XX[0]),$TX[0]#d
        test    \$-8,$len
        jz      .Lcloop1
-       cmp     \$0,260($dat)
+       cmpl    \$0,260($dat)
        jnz     .Lcloop1
        push    %rbx
        jmp     .Lcloop8
@@ -336,8 +336,7 @@ RC4_set_key:
 .type  RC4_options,\@function,0
 .align 16
 RC4_options:
-       .picmeup %rax
-       lea     .Lopts-.(%rax),%rax
+       lea     .Lopts(%rip),%rax
        mov     OPENSSL_ia32cap_P(%rip),%edx
        bt      \$20,%edx
        jnc     .Ldone