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