Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737774

Re: [PATCH] lib/lz4: make arrays static const, reduces object code size

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] lib/lz4: make arrays static const, reduces object code size
Date Fri, 22 Sep 2017 21:40:01 +0200
Message-ID <usBXP-1C1-1@gated-at.bofh.it> (permalink)
References <ushZ7-6CP-5@gated-at.bofh.it> <usiLv-77w-11@gated-at.bofh.it> <usiVb-7aA-5@gated-at.bofh.it> <usqSK-3or-13@gated-at.bofh.it> <uszW1-rP-1@gated-at.bofh.it> <usBEt-1vD-13@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=PCKjNaO62bzO5o7uWGsOv/umUY/p+HcdeG7o9Hg1UmE=; b=F8Hoz1RctQvE+G5WhQBcGavTVyghnKcEuu/KQLcAz2kHfCnf312yBlHvzCdEZa3iht mRl2DeI8A92huNJzHiLCsLobsdp4L9qdl6mf6qd4PgZ6xXVVIsVCA67MWA9tsYjkzI3t EdlzC8Swi7nOVsjDw86JpEUHnAjnZG301hGvJgsjjRxQDHkLWu/Iox91+ckQlLI3/Its PHmgqKGNdpSHoiYMZ/w5qyn4+Fvt3QA4H6JKO6qrFR0NWCd07kKGdofDY7KIstVIp3K0 9ax/ZnzEmGNE1A3zbzuSnb1TM4zXHkHzWGjQ4Lw/iQofoNOeI2+Fd+1wgjMQLbTT5Zuq UslQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=PCKjNaO62bzO5o7uWGsOv/umUY/p+HcdeG7o9Hg1UmE=; b=nnLimNbvPkQX4aUjjEM1Y2M4wedDEamP84jrCUBbBTpVG46xOK+dZpYwkpb0N2joZ0 N4aiX8R70bbJaFfDC1kcHzxai8xUaXv4VTrAAUxauBfToOBRN05KKInxgOSTyXF95mnl iyj0HKKlX5j0w5c+aR8OvbktVLqnyU4w/a+Gq5j4knW6UyNsc8YJXeUkWF1LyGCzgyRD CNu5u7HWSp5qts8o5IsS6gKho84PQLl6H2X0KvUZ+ly9FHlMD5TQciri1OwLL/9M+MGV a/HEbDn1YX4yjiUKcemNuTuDuFeOQpQSBx6WKZDs7VOO2C9t1I8hX548jzNunrjL3b8n +vUw==
X-Gm-Message-State AHPjjUhjpnPQP2i+9Hw9lP7Q4piEiVx1rxA85R/w3/fret9J2KNpdxK7 Wt00Bq5TC7YYi21+sIyJXjp+n5nHViO7wjeoE/Q=
X-Google-SMTP-Source AOwi7QBsN16uhampngynh4EaztDu5EwVUg5Q0VFbUJAdpba1vT14+3dY7IgrkkseA93aFVA9aLYR7JRUNaPdS/ynCH8=
X-Received by 10.202.224.138 with SMTP id x132mr271576oig.227.1506109088586; Fri, 22 Sep 2017 12:38:08 -0700 (PDT)
MIME-Version 1.0
X-Google-Sender-Auth iSnTU4zO90KDvIMu9-Jy2Lt0-j8
Content-Type text/plain; charset="UTF-8"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
X-Original-Cc Colin Ian King <colin.king@canonical.com>, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, Sven Schmidt <4sschmid@informatik.uni-hamburg.de>, Andrew Morton <akpm@linux-foundation.org>, kernel-janitors@vger.kernel.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
X-Original-Date Fri, 22 Sep 2017 21:38:08 +0200
X-Original-Message-ID <CAK8P3a3=zDN6pK8+yGO509kSZWBqccVp949PGwS=anfA8Xq5mw@mail.gmail.com>
X-Original-References <20170921221939.20820-1-colin.king@canonical.com> <5aab65d9-6da6-c770-b5aa-9edbdda31dec@wanadoo.fr> <250fe35e-77d3-a9c0-5613-ce1c65f4cb7f@canonical.com> <CAK8P3a1ryR2oXnqrMt+L0_v1G+NggvejX+L31V=QtCBt1cfZWg@mail.gmail.com> <1506100881.12311.41.camel@perches.com> <CAK8P3a3KLjuntMkJW3xkgO5a-nTBVZm8LJVnX-RwsWJ084kuOw@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1737774

Show key headers only | View raw


On Fri, Sep 22, 2017 at 9:17 PM, Arnd Bergmann <arnd@arndb.de> wrote:

>              after    before
> gcc-3.4.6 10855 12977
> gcc-4.0.4 11088 11088
> gcc-4.1.3 10973 10973
> gcc-4.2.5 11183 11183
> gcc-4.3.6 15501 17724
> gcc-4.4.7 13337 15693
> gcc-4.5.4 13162 15491
> gcc-4.6.4 14846 17302
> gcc-4.7.4 14187 16294
> gcc-4.8.5 16591 18730
> gcc-4.9.4 19582 21995
> gcc-5.4.1 18294 22510
> gcc-6.1.1 20487 25172
> gcc-6.3.1 20487 25172
> gcc-7.0.0 20351 31789
> gcc-7.0.1 20351 24966
> gcc-7.1.1 20383 24982
> gcc-8.0.0 20686 25065

Here is the same table for 32-bit ARM, showing results that roughly
match my expectations of what we should see here

4.3.6 15318 16574
4.4.7 13364 14388
4.5.4 12856 13912
4.6.4 14596 15124
4.7.4 14942 15850
4.8.5 15454 16074
4.9.4 15994 16742
5.4.1 15930 16686
6.3.1 17302 18154
7.0.0 18042 18958
7.0.1 18278 19098
7.1.1 18302 19106
8.0.0 19710 20490

      Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] lib/lz4: make arrays static const, reduces object code size Colin King <colin.king@canonical.com> - 2017-09-22 00:20 +0200
  Re: [PATCH] lib/lz4: make arrays static const, reduces object code  size Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-09-22 01:10 +0200
    Re: [PATCH] lib/lz4: make arrays static const, reduces object code  size Colin Ian King <colin.king@canonical.com> - 2017-09-22 01:20 +0200
      Re: [PATCH] lib/lz4: make arrays static const, reduces object code size Arnd Bergmann <arnd@arndb.de> - 2017-09-22 09:50 +0200
        Re: [PATCH] lib/lz4: make arrays static const, reduces object code  size Joe Perches <joe@perches.com> - 2017-09-22 19:30 +0200
          Re: [PATCH] lib/lz4: make arrays static const, reduces object code size Arnd Bergmann <arnd@arndb.de> - 2017-09-22 21:20 +0200
            Re: [PATCH] lib/lz4: make arrays static const, reduces object code size Arnd Bergmann <arnd@arndb.de> - 2017-09-22 21:40 +0200
            Re: [PATCH] lib/lz4: make arrays static const, reduces object code size Arnd Bergmann <arnd@arndb.de> - 2017-09-22 23:40 +0200
              Re: [PATCH] lib/lz4: make arrays static const, reduces object code  size Colin Ian King <colin.king@canonical.com> - 2017-09-22 23:50 +0200
              Re: [PATCH] lib/lz4: make arrays static const, reduces object code  size Joe Perches <joe@perches.com> - 2017-09-23 03:40 +0200
            Re: [PATCH] lib/lz4: make arrays static const, reduces object code  size Joe Perches <joe@perches.com> - 2017-09-23 03:40 +0200

csiph-web