From c5d5f5bd0fe8b2313bec844c0f80f3d49562bfa8 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 3 Dec 2013 23:59:55 +0100 Subject: [PATCH] bn/asm/x86_64-mont5.pl: comply with Win64 ABI. PR: 3189 Submitted by: Oscar Ciurana --- crypto/bn/asm/x86_64-mont5.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/bn/asm/x86_64-mont5.pl b/crypto/bn/asm/x86_64-mont5.pl index 508564fbc2..93257376ac 100755 --- a/crypto/bn/asm/x86_64-mont5.pl +++ b/crypto/bn/asm/x86_64-mont5.pl @@ -1327,8 +1327,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.=<<___; -- 2.25.1