diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2012-03-01 17:01:02 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2012-03-01 17:01:02 +0100 |
commit | 9f9ae6251dade12679400c77d00a89e3f4c860e5 (patch) | |
tree | 782485a0c00ff59e5dbcab438395021f73498a25 /mpn/x86_64/core2 | |
parent | 3694bf57a64a9dc469a435f13145491917ca2c94 (diff) | |
download | gmp-9f9ae6251dade12679400c77d00a89e3f4c860e5.tar.gz |
Add DOS64 support.
Diffstat (limited to 'mpn/x86_64/core2')
-rw-r--r-- | mpn/x86_64/core2/rsh1aors_n.asm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mpn/x86_64/core2/rsh1aors_n.asm b/mpn/x86_64/core2/rsh1aors_n.asm index d17a4ca48..48792de90 100644 --- a/mpn/x86_64/core2/rsh1aors_n.asm +++ b/mpn/x86_64/core2/rsh1aors_n.asm @@ -19,7 +19,6 @@ dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. include(`../config.m4') - C cycles/limb C AMD K8,K9 ? C AMD K10 ? @@ -52,11 +51,15 @@ ifdef(`OPERATION_rsh1sub_n', ` MULFUNC_PROLOGUE(mpn_rsh1add_n mpn_rsh1add_nc mpn_rsh1sub_n mpn_rsh1sub_nc) +ABI_SUPPORT(DOS64) +ABI_SUPPORT(STD64) + ASM_START() TEXT - ALIGN(16) PROLOGUE(func_nc) + DOS64_ENTRY(4) +IFDOS(` mov 56(%rsp), %r8 ') push %rbx push %rbp @@ -68,6 +71,7 @@ EPILOGUE() ALIGN(16) PROLOGUE(func_n) + DOS64_ENTRY(4) push %rbx push %rbp @@ -149,5 +153,6 @@ L(end): shrd $1, %rbx, %rbp mov %rbp, -8(rp) pop %rbp pop %rbx + DOS64_EXIT() ret EPILOGUE() |