bn/asm/x86_64-mont5.pl: comply with Win64 ABI.
authorAndy Polyakov <appro@openssl.org>
Tue, 3 Dec 2013 22:59:55 +0000 (23:59 +0100)
committerAndy Polyakov <appro@openssl.org>
Tue, 3 Dec 2013 22:59:55 +0000 (23:59 +0100)
PR: 3189
Submitted by: Oscar Ciurana

crypto/bn/asm/x86_64-mont5.pl

index 508564fbc2096ad6a92033b6888fef9e9e3ae05d..93257376ac64ca8157d152e41a3a324e10c934ce 100755 (executable)
@@ -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.=<<___;