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/rshift.asm | |
parent | 962de8d4b353178d38c2c70e952944686b9fd47b (diff) | |
parent | 2c033efc02631f22e6e180ce737a2faf81b09ccc (diff) | |
download | gmp-29137c6ff7a9e370e2332d855ab46616ad4e9cc9.tar.gz |
Merge branch 'master' into baserock/morph
Diffstat (limited to 'mpn/x86_64/rshift.asm')
-rw-r--r-- | mpn/x86_64/rshift.asm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mpn/x86_64/rshift.asm b/mpn/x86_64/rshift.asm index 0f822a4a0..57a4ab093 100644 --- a/mpn/x86_64/rshift.asm +++ b/mpn/x86_64/rshift.asm @@ -1,6 +1,6 @@ dnl AMD64 mpn_rshift -- mpn right shift. -dnl Copyright 2003, 2005, 2009 Free Software Foundation, Inc. +dnl Copyright 2003, 2005, 2009, 2011 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl @@ -36,10 +36,14 @@ define(`up', `%rsi') define(`n', `%rdx') define(`cnt', `%rcx') +ABI_SUPPORT(DOS64) +ABI_SUPPORT(ELF64) + ASM_START() TEXT ALIGN(32) PROLOGUE(mpn_rshift) + DOS64_ENTRY(4) neg R32(%rcx) C put rsh count in cl mov (up), %rax shl R8(%rcx), %rax C function return value @@ -156,5 +160,6 @@ L(end): L(ast): mov (up), %r10 shr R8(%rcx), %r10 mov %r10, (rp) + DOS64_EXIT() ret EPILOGUE() |