From: Andy Polyakov Date: Tue, 3 Dec 2013 22:59:55 +0000 (+0100) Subject: bn/asm/x86_64-mont5.pl: comply with Win64 ABI. X-Git-Tag: OpenSSL_1_0_2-beta1~141 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e5eab8a19988b03d63802d2d79779cff15f607c7;p=oweals%2Fopenssl.git bn/asm/x86_64-mont5.pl: comply with Win64 ABI. PR: 3189 Submitted by: Oscar Ciurana (cherry picked from commit c5d5f5bd0fe8b2313bec844c0f80f3d49562bfa8) --- diff --git a/crypto/bn/asm/x86_64-mont5.pl b/crypto/bn/asm/x86_64-mont5.pl index 8f8dc5a597..dae0fe2453 100755 --- a/crypto/bn/asm/x86_64-mont5.pl +++ b/crypto/bn/asm/x86_64-mont5.pl @@ -901,8 +901,8 @@ $code.=<<___; jnz .Lgather ___ $code.=<<___ if ($win64); - movaps %xmm6,(%rsp) - movaps %xmm7,0x10(%rsp) + movaps (%rsp),%xmm6 + movaps 0x10(%rsp),%xmm7 lea 0x28(%rsp),%rsp ___ $code.=<<___;