public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: lili.cui@intel.com
To: ubizjak@gmail.com
Cc: gcc-patches@gcc.gnu.org, hongtao.liu@intel.com,
	hjl.tools@gmail.com, "Cui,Lili" <lili.cui@intel.com>
Subject: [PATCH 0/4] Update mtune=tremont
Date: Wed, 15 Sep 2021 16:09:47 +0800	[thread overview]
Message-ID: <20210915080951.10362-1-lili.cui@intel.com> (raw)

From: "Cui,Lili" <lili.cui@intel.com>

Hi,

I have four patches for tremont tuning, With all patches applied,
performance impacts on SPEC CPU 2017 are:

    500.perlbench_r         1.81%
    502.gcc_r               0.57%
    505.mcf_r               1.16%
    520.omnetpp_r           0.00%
    523.xalancbmk_r         0.00%
    525.x264_r              4.55%
    531.deepsjeng_r         0.00%
    541.leela_r             0.39%
    548.exchange2_r         1.13%
    557.xz_r                0.00%
    geomean for intrate     0.95%
    503.bwaves_r            0.00%
    507.cactuBSSN_r         6.94%
    508.namd_r              12.37%
    510.parest_r            1.01%
    511.povray_r            3.70%
    519.lbm_r               36.61%
    521.wrf_r               8.79%
    526.blender_r           2.91%
    527.cam4_r              6.23%
    538.imagick_r           0.28%
    544.nab_r               21.99%
    549.fotonik3d_r         3.63%
    554.roms_r              -1.20%
    geomean for fprate      7.50%
	
Bootstrapped and regtested on x86_64-linux-gnu{-m32,-m64}.
Ok for master?

  x86: Update -mtune=tremont
  x86: Update memcpy/memset inline strategies for -mtune=tremont
  x86: Properly handle USE_VECTOR_FP_CONVERTS/USE_VECTOR_CONVERTS
  x86: Add TARGET_SSE_PARTIAL_REG_[FP_]CONVERTS_DEPENDENCY

 gcc/common/config/i386/i386-common.c          |   2 +-
 gcc/config/i386/i386-features.c               |  23 +++-
 gcc/config/i386/i386-options.c                |   2 +-
 gcc/config/i386/i386.c                        |   1 +
 gcc/config/i386/i386.h                        |   4 +
 gcc/config/i386/i386.md                       |   9 +-
 gcc/config/i386/x86-tune-costs.h              | 124 ++++++++++++++++++
 gcc/config/i386/x86-tune-sched.c              |   2 +
 gcc/config/i386/x86-tune.def                  |  52 +++++---
 gcc/testsuite/gcc.target/i386/avx-covert-1.c  |  19 +++
 .../gcc.target/i386/avx-fp-covert-1.c         |  15 +++
 .../gcc.target/i386/avx-int-covert-1.c        |  14 ++
 gcc/testsuite/gcc.target/i386/pr101900-1.c    |  18 +++
 gcc/testsuite/gcc.target/i386/pr101900-2.c    |  18 +++
 gcc/testsuite/gcc.target/i386/pr101900-3.c    |  19 +++
 gcc/testsuite/gcc.target/i386/sse-covert-1.c  |  19 +++
 .../gcc.target/i386/sse-fp-covert-1.c         |  15 +++
 .../gcc.target/i386/sse-int-covert-1.c        |  14 ++
 18 files changed, 344 insertions(+), 26 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/i386/avx-covert-1.c
 create mode 100644 gcc/testsuite/gcc.target/i386/avx-fp-covert-1.c
 create mode 100644 gcc/testsuite/gcc.target/i386/avx-int-covert-1.c
 create mode 100644 gcc/testsuite/gcc.target/i386/pr101900-1.c
 create mode 100644 gcc/testsuite/gcc.target/i386/pr101900-2.c
 create mode 100644 gcc/testsuite/gcc.target/i386/pr101900-3.c
 create mode 100644 gcc/testsuite/gcc.target/i386/sse-covert-1.c
 create mode 100644 gcc/testsuite/gcc.target/i386/sse-fp-covert-1.c
 create mode 100644 gcc/testsuite/gcc.target/i386/sse-int-covert-1.c

-- 
2.17.1

Thanks,
Lili.

             reply	other threads:[~2021-09-15  8:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15  8:09 lili.cui [this message]
2021-09-15  8:09 ` [PATCH 1/4] [PATCH 1/4] x86: Update -mtune=tremont lili.cui
2021-09-16  6:35   ` Uros Bizjak
2021-09-15  8:09 ` [PATCH 2/4] [PATCH 2/4] x86: Update memcpy/memset inline strategies for -mtune=tremont lili.cui
2021-09-16  6:36   ` Uros Bizjak
2021-09-15  8:09 ` [PATCH 3/4] [PATCH 3/4] x86: Properly handle USE_VECTOR_FP_CONVERTS/USE_VECTOR_CONVERTS lili.cui
2021-09-16  6:27   ` Uros Bizjak
2021-09-17  3:15     ` Cui, Lili
2021-09-17  6:35       ` Uros Bizjak
2021-09-17 23:50         ` Jakub Jelinek
2021-09-18  2:25           ` Hongtao Liu
2021-09-15  8:09 ` [PATCH 4/4] [PATCH 4/4] x86: Add TARGET_SSE_PARTIAL_REG_[FP_]CONVERTS_DEPENDENCY lili.cui
2021-09-15 14:13   ` H.J. Lu
2021-09-15 23:54     ` Cui, Lili
2021-09-16  2:21       ` H.J. Lu
2021-09-16  6:34   ` Uros Bizjak

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=20210915080951.10362-1-lili.cui@intel.com \
    --to=lili.cui@intel.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hjl.tools@gmail.com \
    --cc=hongtao.liu@intel.com \
    --cc=ubizjak@gmail.com \
    /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).