diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-19 10:33:31 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-19 10:33:31 +0000 |
commit | 29137c6ff7a9e370e2332d855ab46616ad4e9cc9 (patch) | |
tree | fbca7aa7cfa645df1b059aeba7e81739620b013c /mpn/x86_64/copyi.asm | |
parent | 962de8d4b353178d38c2c70e952944686b9fd47b (diff) | |
parent | 2c033efc02631f22e6e180ce737a2faf81b09ccc (diff) | |
download | gmp-29137c6ff7a9e370e2332d855ab46616ad4e9cc9.tar.gz |
Merge branch 'master' into baserock/morph
Diffstat (limited to 'mpn/x86_64/copyi.asm')
-rw-r--r-- | mpn/x86_64/copyi.asm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mpn/x86_64/copyi.asm b/mpn/x86_64/copyi.asm index d5cbdd644..1dd6c3168 100644 --- a/mpn/x86_64/copyi.asm +++ b/mpn/x86_64/copyi.asm @@ -1,6 +1,6 @@ dnl AMD64 mpn_copyi -- copy limb vector, incrementing. -dnl Copyright 2003, 2005, 2007 Free Software Foundation, Inc. +dnl Copyright 2003, 2005, 2007, 2011 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. @@ -39,10 +39,14 @@ define(`rp',`%rdi') define(`up',`%rsi') define(`n',`%rdx') +ABI_SUPPORT(DOS64) +ABI_SUPPORT(ELF64) + ASM_START() TEXT ALIGN(16) PROLOGUE(mpn_copyi) + DOS64_ENTRY(3) leaq -8(rp), rp subq $4, n jc L(end) @@ -72,5 +76,6 @@ L(end): shrl R32(%rdx) C edx = lowpart(n) movq 8(up), %r9 movq %r8, 8(rp) movq %r9, 16(rp) -1: ret +1: DOS64_EXIT() + ret EPILOGUE() |