summaryrefslogtreecommitdiff
path: root/patches/gmp/6.1.0
diff options
context:
space:
mode:
authorKirill K. Smirnov <kirill.k.smirnov@gmail.com>2016-09-17 21:57:43 (GMT)
committerKirill K. Smirnov <kirill.k.smirnov@gmail.com>2016-09-17 21:57:43 (GMT)
commitbcb6b03df97fcb96867771fbb24491b4a03449b5 (patch)
treea01d0a482db3107db8fa16f52f4c872c29005fc5 /patches/gmp/6.1.0
parent5a88b7fd2a0c24f65cf64e3d3050b0b5bdcd4e53 (diff)
patches: add patches for gmp
This changeset adds official patches published on gmp website. Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Diffstat (limited to 'patches/gmp/6.1.0')
-rw-r--r--patches/gmp/6.1.0/100-fix-broadwell-skylake.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/patches/gmp/6.1.0/100-fix-broadwell-skylake.patch b/patches/gmp/6.1.0/100-fix-broadwell-skylake.patch
new file mode 100644
index 0000000..9afd339
--- /dev/null
+++ b/patches/gmp/6.1.0/100-fix-broadwell-skylake.patch
@@ -0,0 +1,59 @@
+
+# HG changeset patch
+# User Torbjorn Granlund <torbjorng@google.com>
+# Date 1450109109 -3600
+# Node ID 67d4ee9dead1ed8b1c9f4eb320ac72208fe1a015
+# Parent 20bf21d5f600710d62b040ea9b20da22871db1f1
+Add FUNC_EXITs.
+
+diff -r 20bf21d5f600 -r 67d4ee9dead1 NEWS
+--- a/NEWS Mon Dec 14 08:37:18 2015 +0100
++++ b/NEWS Mon Dec 14 17:05:09 2015 +0100
+@@ -4,6 +4,11 @@
+ medium, provided this notice is preserved.
+
+
++Changes between GMP version 6.1.1 and 6.1.0
++
++ BUGS FIXED
++ * .
++
+ Changes between GMP version 6.0.* and 6.1.0
+
+ BUGS FIXED
+diff -r 20bf21d5f600 -r 67d4ee9dead1 mpn/x86_64/coreibwl/mul_basecase.asm
+--- a/mpn/x86_64/coreibwl/mul_basecase.asm Mon Dec 14 08:37:18 2015 +0100
++++ b/mpn/x86_64/coreibwl/mul_basecase.asm Mon Dec 14 17:05:09 2015 +0100
+@@ -94,6 +94,7 @@
+
+ L(s11): mov %rax, (rp)
+ mov %r9, 8(rp)
++ FUNC_EXIT()
+ ret
+
+ L(s2x): cmp $2, vn
+@@ -105,6 +106,7 @@
+ mov %rax, (rp)
+ mov %r9, 8(rp)
+ mov %r10, 16(rp)
++ FUNC_EXIT()
+ ret
+
+ L(s22): add %r8, %r9 C 1
+@@ -121,6 +123,7 @@
+ mov %r9, 8(rp)
+ mov %r10, 16(rp)
+ mov %rdx, 24(rp)
++ FUNC_EXIT()
+ ret
+
+ ALIGN(16)
+@@ -294,6 +297,7 @@
+ pop %r12
+ pop %rbp
+ pop %rbx
++ FUNC_EXIT()
+ ret
+
+ L(f2):
+