[Gmp-commit] /var/hg/gmp: Use a *free* register in PIC jumptable code.
mercurial at gmplib.org
mercurial at gmplib.org
Sun Apr 26 18:51:34 UTC 2015
details: /var/hg/gmp/rev/0c6b3f298b36
changeset: 16597:0c6b3f298b36
user: Torbjorn Granlund <torbjorng at google.com>
date: Sun Apr 26 20:51:31 2015 +0200
description:
Use a *free* register in PIC jumptable code.
diffstat:
mpn/x86_64/coreibwl/mul_basecase.asm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 28689674713a -r 0c6b3f298b36 mpn/x86_64/coreibwl/mul_basecase.asm
--- a/mpn/x86_64/coreibwl/mul_basecase.asm Sun Apr 26 07:59:47 2015 +0200
+++ b/mpn/x86_64/coreibwl/mul_basecase.asm Sun Apr 26 20:51:31 2015 +0200
@@ -152,8 +152,8 @@
lea L(mtab)(%rip), %r10
ifdef(`PIC',
-` movslq (%r10,%rax,4), %r14
- lea (%r14, %r10), %r10
+` movslq (%r10,%rax,4), %r11
+ lea (%r11, %r10), %r10
jmp *%r10
',`
jmp *(%r10,%rax,8)
More information about the gmp-commit
mailing list