summaryrefslogtreecommitdiff
path: root/sysdeps/i386/rshift.S
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-02-22 16:34:12 +0100
committerAndreas Schwab <schwab@redhat.com>2010-02-22 16:41:22 +0100
commit2b6e16c5e2fa8ad12b02a218ba32d63a4dffda18 (patch)
treeb931e143f212d5b656497bb0c3f3e3a413fc78e1 /sysdeps/i386/rshift.S
parent0c3f133ed106996172dd2c106b22e38ce695e63d (diff)
parent199428c19774c12b3c4b6e6486ea9d4a021288af (diff)
Merge remote branch 'origin/master' into fedora/master
Diffstat (limited to 'sysdeps/i386/rshift.S')
-rw-r--r--sysdeps/i386/rshift.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/i386/rshift.S b/sysdeps/i386/rshift.S
index 3fd0afe822..332c4d09e7 100644
--- a/sysdeps/i386/rshift.S
+++ b/sysdeps/i386/rshift.S
@@ -1,5 +1,5 @@
/* i80386 __mpn_rshift --
- Copyright (C) 1992,1994,1997-2000,2005 Free Software Foundation, Inc.
+ Copyright (C) 1992,1994,1997-2000,2005,2010 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
@@ -57,6 +57,7 @@ ENTRY (BP_SYM (__mpn_rshift))
movl (%esi,%edx,4),%ebx /* read least significant limb */
cfi_rel_offset (ebx, 0)
+ cfi_remember_state
xorl %eax,%eax
shrdl %cl,%ebx,%eax /* compute carry limb */
incl %edx
@@ -97,10 +98,7 @@ L(1): movl (%esi,%edx,4),%eax
LEAVE
ret
- cfi_adjust_cfa_offset (12)
- cfi_rel_offset (edi, 8)
- cfi_rel_offset (esi, 4)
- cfi_rel_offset (ebx, 0)
+ cfi_restore_state
L(end): shrl %cl,%ebx /* compute most significant limb */
movl %ebx,(%edi) /* store it */