From: Jeff Law <law@redhat.com>
To: "Martin Liška" <mliska@suse.cz>,
"Richard Biener" <richard.guenther@gmail.com>
Cc: Jan Hubicka <hubicka@ucw.cz>,
Thomas Koenig <tkoenig@netcologne.de>,
Andrew Pinski <pinskia@gmail.com>,
GCC Development <gcc@gcc.gnu.org>,
GCC Patches <gcc-patches@gcc.gnu.org>,
Joseph Myers <joseph@codesourcery.com>
Subject: Re: [PATCH 2/2] Add zstd support for LTO bytecode compression.
Date: Tue, 02 Jul 2019 20:50:00 -0000 [thread overview]
Message-ID: <1066a262-e6f4-fabc-1687-fdf035eb70b9@redhat.com> (raw)
In-Reply-To: <34d9f819-ace5-6746-39fc-ee591b56a86b@suse.cz>
On 7/1/19 5:00 AM, Martin Liška wrote:
> Hi.
>
> This is updated version of the zstd patch that should handle all what Joseph
> pointed out.
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be installed?
> Thanks,
> Martin
>
>
> 0002-Add-zstd-support-for-LTO-bytecode-compression.patch
>
> From 5d2006c9c4d481f4083d5a591327ee64847b0bf7 Mon Sep 17 00:00:00 2001
> From: Martin Liska <mliska@suse.cz>
> Date: Thu, 20 Jun 2019 10:08:17 +0200
> Subject: [PATCH 2/2] Add zstd support for LTO bytecode compression.
>
> gcc/ChangeLog:
>
> 2019-07-01 Martin Liska <mliska@suse.cz>
>
> * Makefile.in: Define ZSTD_LIB.
> * common.opt: Adjust compression level
> to support also zstd levels.
> * config.in: Regenerate.
> * configure: Likewise.
> * configure.ac: Add --with-zstd and --with-zstd-include options
> and detect ZSTD.
> * doc/install.texi: Mention zstd dependency.
> * gcc.c: Print supported LTO compression algorithms.
> * lto-compress.c (lto_normalized_zstd_level): Likewise.
> (lto_compression_zstd): Likewise.
> (lto_uncompression_zstd): Likewise.
> (lto_end_compression): Dispatch in between zlib and zstd.
> (lto_compression_zlib): Mark with ATTRIBUTE_UNUSED.
> (lto_uncompression_zlib): Make it static.
> * lto-compress.h (lto_end_uncompression): Fix GNU coding style.
> * lto-section-in.c (lto_get_section_data): Pass info
> about used compression.
> * lto-streamer-out.c: By default use zstd when possible.
> * timevar.def (TV_IPA_LTO_DECOMPRESS): Rename to decompression
> (TV_IPA_LTO_COMPRESS): Likewise for compression.
OK
jeff
next prev parent reply other threads:[~2019-07-02 20:50 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-19 9:21 [RFC] zstd as a compression algorithm for LTO Martin Liška
2019-06-19 16:03 ` Jeff Law
2019-06-19 18:55 ` Richard Biener
2019-06-19 19:26 ` Andrew Pinski
2019-06-19 19:29 ` Jan Hubicka
2019-06-19 19:34 ` Andrew Pinski
2019-06-20 9:08 ` Martin Liška
2019-06-20 10:59 ` Thomas Koenig
2019-06-20 11:42 ` Martin Liška
2019-06-20 12:02 ` Jan Hubicka
2019-06-21 10:20 ` [PATCH] Add .gnu.lto_.meta section Martin Liška
2019-06-21 12:34 ` Richard Biener
2019-06-21 12:49 ` Martin Liška
2019-06-21 12:57 ` Jan Hubicka
2019-06-21 14:01 ` Martin Liška
2019-06-24 12:02 ` Richard Biener
2019-06-24 12:12 ` Martin Liška
2019-06-24 12:44 ` Richard Biener
2019-06-24 13:31 ` Martin Liška
2019-06-24 14:25 ` Iain Sandoe
2019-06-24 18:05 ` Richard Biener
2019-06-25 8:14 ` Martin Liška
2019-06-25 14:15 ` Richard Biener
2019-06-27 12:28 ` [PATCH] Add .gnu.lto_.lto section Martin Liška
2019-07-01 10:59 ` Martin Liška
2019-07-01 11:01 ` [PATCH 2/2] Add zstd support for LTO bytecode compression Martin Liška
2019-07-02 20:50 ` Jeff Law [this message]
2019-07-02 20:49 ` [PATCH] Add .gnu.lto_.lto section Jeff Law
2019-06-20 12:12 ` [RFC] zstd as a compression algorithm for LTO Thomas Koenig
2019-06-20 17:02 ` Joseph Myers
2019-06-20 10:46 ` Segher Boessenkool
2019-06-20 11:44 ` Martin Liška
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=1066a262-e6f4-fabc-1687-fdf035eb70b9@redhat.com \
--to=law@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=hubicka@ucw.cz \
--cc=joseph@codesourcery.com \
--cc=mliska@suse.cz \
--cc=pinskia@gmail.com \
--cc=richard.guenther@gmail.com \
--cc=tkoenig@netcologne.de \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).