summaryrefslogtreecommitdiff
path: root/mpn/x86_64/addmul_2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'mpn/x86_64/addmul_2.asm')
-rw-r--r--mpn/x86_64/addmul_2.asm7
1 files changed, 6 insertions, 1 deletions
diff --git a/mpn/x86_64/addmul_2.asm b/mpn/x86_64/addmul_2.asm
index 107c3dafe..5c6647888 100644
--- a/mpn/x86_64/addmul_2.asm
+++ b/mpn/x86_64/addmul_2.asm
@@ -50,10 +50,14 @@ define(`w2', `%rbp')
define(`w3', `%r10')
define(`n', `%r11')
+ABI_SUPPORT(DOS64)
+ABI_SUPPORT(ELF64)
+
+ASM_START()
TEXT
ALIGN(16)
-ASM_START()
PROLOGUE(mpn_addmul_2)
+ DOS64_ENTRY(4)
mov n_param, n
push %rbx
push %rbp
@@ -164,6 +168,7 @@ L(end): xor R32(w1), R32(w1)
pop %rbp
pop %rbx
+ DOS64_EXIT()
ret
EPILOGUE()