modexp512-x86_64.pl: make it work with ml64.
authorAndy Polyakov <appro@openssl.org>
Fri, 19 Aug 2011 06:30:32 +0000 (06:30 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 19 Aug 2011 06:30:32 +0000 (06:30 +0000)
crypto/bn/asm/modexp512-x86_64.pl

index 2788fc5bd9736e434acf5dea5db30e7e955a0353..06290ca009512a20d204523f99e2bb36a6308d15 100644 (file)
@@ -1117,7 +1117,7 @@ mod_exp_512:
        # adjust stack down and then align it with cache boundary
         mov    %rsp, %r8
         sub    \$($mem_size), %rsp
-        and    \$~63, %rsp
+        and    \$-64, %rsp
 
        # store previous stack pointer and arguments
         mov    %r8, (+$rsp_offset)(%rsp)