From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 11.0.0/gentoo/
Date: Wed, 26 Aug 2020 06:54:07 +0000 (UTC) [thread overview]
Message-ID: <1598424810.fbda64e161da0049d14583b0126fe4d7e0aec805.slyfox@gentoo> (raw)
commit: fbda64e161da0049d14583b0126fe4d7e0aec805
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 26 06:53:30 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Aug 26 06:53:30 2020 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=fbda64e1
11.0.0: cup 4 patchset
One patch dropped:
- 25_all_hppa-faster-synth_mult.patch: upstream got better fix
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11.0.0/gentoo/25_all_hppa-faster-synth_mult.patch | 44 -----------------------
11.0.0/gentoo/README.history | 3 ++
2 files changed, 3 insertions(+), 44 deletions(-)
diff --git a/11.0.0/gentoo/25_all_hppa-faster-synth_mult.patch b/11.0.0/gentoo/25_all_hppa-faster-synth_mult.patch
deleted file mode 100644
index e93aa40..0000000
--- a/11.0.0/gentoo/25_all_hppa-faster-synth_mult.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 73a841928cc1b86f43108d2383a6242e7e61a785 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyfox@gentoo.org>
-Date: Tue, 31 Mar 2020 23:58:05 +0100
-Subject: [PATCH] gcc/expmed.h: increase cache size from 10^3 to 10^6
-
-Without this patch is takes dev-libs/xxhash 1-2 hours
-to compile. With this patch - TODO measurements.
-
-It workarounds deficiency of synth_mult() which evics
-cache entries as it calculates optimal multiplication
-algorithm. xxhash is especially hevyweight as it's a
-64-bit multiplication of large prime constants.
-
-Bug: https://gcc.gnu.org/PR87256
-Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
----
- gcc/expmed.h | 13 ++++++++-----
- 1 file changed, 8 insertions(+), 5 deletions(-)
-
---- a/gcc/expmed.h
-+++ b/gcc/expmed.h
-@@ -127,11 +127,14 @@ struct alg_hash_entry {
- };
-
- /* The number of cache/hash entries. */
--#if HOST_BITS_PER_WIDE_INT == 64
--#define NUM_ALG_HASH_ENTRIES 1031
--#else
--#define NUM_ALG_HASH_ENTRIES 307
--#endif
-+/*
-+ * Workaround hppa2.0 synth_mult deficiency
-+ * and allocate ~1 million slots:
-+ * https://gcc.gnu.org/PR87256
-+ * That should increase RAM usage up to ~24MB
-+ * per process.
-+ */
-+#define NUM_ALG_HASH_ENTRIES 1000003
-
- #define NUM_MODE_INT \
- (MAX_MODE_INT - MIN_MODE_INT + 1)
---
-2.26.0
-
diff --git a/11.0.0/gentoo/README.history b/11.0.0/gentoo/README.history
index 6083777..b3e6ea1 100644
--- a/11.0.0/gentoo/README.history
+++ b/11.0.0/gentoo/README.history
@@ -1,3 +1,6 @@
+4 26 Aug 2020
+ - 25_all_hppa-faster-synth_mult.patch
+
3 23 Aug 2020
- 16_all_libgfortran-Werror.patch
next reply other threads:[~2020-08-26 6:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 6:54 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-09 22:10 [gentoo-commits] proj/gcc-patches:master commit in: 11.0.0/gentoo/ Sergei Trofimovich
2021-01-28 18:17 Sergei Trofimovich
2020-12-17 17:04 Sergei Trofimovich
2020-08-23 9:18 Sergei Trofimovich
2020-07-20 22:31 Sergei Trofimovich
2020-07-04 7:57 Sergei Trofimovich
2020-07-04 7:56 Sergei Trofimovich
2020-07-04 7:56 Sergei Trofimovich
2020-07-03 22:13 Sergei Trofimovich
2020-06-11 22:50 Sergei Trofimovich
2020-06-11 22:49 Sergei Trofimovich
2020-05-28 23:02 Sergei Trofimovich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1598424810.fbda64e161da0049d14583b0126fe4d7e0aec805.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox