diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2011-11-29 21:59:39 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2011-11-29 21:59:39 +0100 |
commit | 23df1f61b5f28b4bf4953acd2b069d1f09d6450f (patch) | |
tree | 90c979b4081ce64d927d15f630aff84e245652ef /mpn/x86_64/aorrlsh1_n.asm | |
parent | cdaf5d1a1e737e7db82e6509571468fa660c043b (diff) | |
download | gmp-23df1f61b5f28b4bf4953acd2b069d1f09d6450f.tar.gz |
Add DOS64 ABI support to most files.
Diffstat (limited to 'mpn/x86_64/aorrlsh1_n.asm')
-rw-r--r-- | mpn/x86_64/aorrlsh1_n.asm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mpn/x86_64/aorrlsh1_n.asm b/mpn/x86_64/aorrlsh1_n.asm index 2ea556b73..dda7d590e 100644 --- a/mpn/x86_64/aorrlsh1_n.asm +++ b/mpn/x86_64/aorrlsh1_n.asm @@ -1,7 +1,8 @@ dnl AMD64 mpn_addlsh1_n -- rp[] = up[] + (vp[] << 1) dnl AMD64 mpn_rsblsh1_n -- rp[] = (vp[] << 1) - up[] -dnl Copyright 2003, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +dnl Copyright 2003, 2005, 2006, 2007, 2008, 2009, 2011 Free Software +dnl Foundation, Inc. dnl This file is part of the GNU MP Library. @@ -54,10 +55,14 @@ ifdef(`OPERATION_rsblsh1_n', ` MULFUNC_PROLOGUE(mpn_addlsh1_n mpn_rsblsh1_n) +ABI_SUPPORT(DOS64) +ABI_SUPPORT(ELF64) + ASM_START() TEXT ALIGN(16) PROLOGUE(func) + DOS64_ENTRY(4) push %rbp mov (vp), %r8 @@ -147,5 +152,6 @@ ifdef(`OPERATION_rsblsh1_n',` movslq R32(%rbp), %rax') pop %rbp + DOS64_EXIT() ret EPILOGUE() |