This fixes the umac test on win64.
---
 x86_64/machine.m4 |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/x86_64/machine.m4 b/x86_64/machine.m4
index d5d5b37..b9556a2 100644
--- a/x86_64/machine.m4
+++ b/x86_64/machine.m4
@@ -67,7 +67,7 @@ define(<XREG>,<ifelse(
 dnl W64_ENTRY(nargs, xmm_used)
 define(<W64_ENTRY>, <
   changequote([,])dnl
-  ifelse(<<<<<<<<<<<<<<< ignored; only for balancing)
+  ifelse(<<<<<<<<<<<<<<<< ignored; only for balancing)
   ifelse(W64_ABI,yes,[
     ifelse(eval($2 > 6), 1, [
       sub      [$]eval(8 + 16*($2 - 6)), %rsp
@@ -115,7 +115,11 @@ define(<W64_ENTRY>, <
       mov      %r9, %rcx
     ])
     ifelse(eval($1 >= 5), 1, [
-      mov      56(%rsp), %r8
+      ifelse(eval($2 > 6), 1, [
+        mov    eval(8 + 16*($2 - 6) + 56)(%rsp), %r8
+      ], [
+        mov    56(%rsp), %r8
+      ])
     ])
   ])
   changequote(<,>)dnl
-- 
1.7.9.5

_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to