diff options
author | Torbjorn Granlund <torbjorng@google.com> | 2015-06-11 22:36:42 +0200 |
---|---|---|
committer | Torbjorn Granlund <torbjorng@google.com> | 2015-06-11 22:36:42 +0200 |
commit | 672b1632e2a97eb2f8d21e442c18835e60f92456 (patch) | |
tree | b60896486f30890a782729da3b0d48dd9116a6c3 /mpn/x86 | |
parent | 30dd19b5a92df33a01cef085db1527d8adb34765 (diff) | |
download | gmp-672b1632e2a97eb2f8d21e442c18835e60f92456.tar.gz |
Amend last change: align for PIC and non-PIC.
Diffstat (limited to 'mpn/x86')
-rw-r--r-- | mpn/x86/p6/gcd_1.asm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mpn/x86/p6/gcd_1.asm b/mpn/x86/p6/gcd_1.asm index c546d02a9..eafbf4a79 100644 --- a/mpn/x86/p6/gcd_1.asm +++ b/mpn/x86/p6/gcd_1.asm @@ -97,10 +97,10 @@ L(reduce_nby1): jl L(bmod) ifdef(`PIC_WITH_EBX',`dnl push %ebx + add $-4, %esp call L(movl_eip_to_ebx) add $_GLOBAL_OFFSET_TABLE_, %ebx ') - add $-4, %esp push v0 C param 3 push n C param 2 push up C param 1 @@ -110,19 +110,21 @@ ifdef(`PIC_WITH_EBX',`dnl L(bmod): ifdef(`PIC_WITH_EBX',`dnl push %ebx + add $-4, %esp call L(movl_eip_to_ebx) add $_GLOBAL_OFFSET_TABLE_, %ebx ') - add $-4, %esp push v0 C param 3 push n C param 2 push up C param 1 CALL( mpn_modexact_1_odd) L(called): - add $16, %esp C deallocate params ifdef(`PIC_WITH_EBX',`dnl + add $16, %esp C deallocate params pop %ebx +',` + add $12, %esp C deallocate params ') L(reduced): pop %edx |