From: Yulia Koval <vaalfreja@gmail.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Cc: "H.J. Lu" <hjl.tools@gmail.com>, Uros Bizjak <ubizjak@gmail.com>
Subject: [PATCH] Tune for lakemont
Date: Thu, 01 Oct 2015 12:37:00 -0000 [thread overview]
Message-ID: <CAE0nxxjb=nUAuHt28Nt_CNq=7h0BSXT5bgm2i=iopaYc7DpODw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 299 bytes --]
Hi,
The patch below contains some tuning changes for Lakemont, introduced
by H.J. Lu. Bootstraped/regtested for Linux/x86_64. Ok for trunk?
* gcc/config/i386/x86-tune.def (X86_TUNE_USE_BT): Enable
for Lakemont.
(X86_TUNE_ZERO_EXTEND_WITH_AND): Disable for Lakemont.
Julia
[-- Attachment #2: 0001-gcc-config-i386-x86-tune.def-X86_TUNE_USE_BT-Enable.patch --]
[-- Type: application/octet-stream, Size: 1473 bytes --]
From d83c2d6943c148a1f6eb5460e347d904c4aad073 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Thu, 9 Jul 2015 18:42:45 -0700
Subject: [PATCH] * gcc/config/i386/x86-tune.def (X86_TUNE_USE_BT):
Enable for Lakemont. (X86_TUNE_ZERO_EXTEND_WITH_AND): Disable for
Lakemont.
---
gcc/config/i386/x86-tune.def | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 3b3f149..213c604 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -292,7 +292,7 @@ DEF_TUNE (X86_TUNE_USE_CLTD, "use_cltd",
/* X86_TUNE_USE_BT: Enable use of BT (bit test) instructions. */
DEF_TUNE (X86_TUNE_USE_BT, "use_bt",
m_CORE_ALL | m_BONNELL | m_SILVERMONT | m_KNL | m_INTEL
- | m_AMD_MULTIPLE | m_GENERIC)
+ | m_LAKEMONT | m_AMD_MULTIPLE | m_GENERIC)
/*****************************************************************************/
/* 387 instruction selection tuning */
@@ -448,7 +448,7 @@ DEF_TUNE (X86_TUNE_SHIFT1, "shift1", ~m_486)
/* X86_TUNE_ZERO_EXTEND_WITH_AND: Use AND instruction instead
of mozbl/movwl. */
DEF_TUNE (X86_TUNE_ZERO_EXTEND_WITH_AND, "zero_extend_with_and",
- m_486 | m_PENT | m_LAKEMONT)
+ m_486 | m_PENT)
/* X86_TUNE_PROMOTE_HIMODE_IMUL: Modern CPUs have same latency for HImode
and SImode multiply, but 386 and 486 do HImode multiply faster. */
--
1.8.3.1
next reply other threads:[~2015-10-01 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 12:37 Yulia Koval [this message]
2015-10-01 12:43 ` Uros Bizjak
2015-10-01 13:37 ` H.J. Lu
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='CAE0nxxjb=nUAuHt28Nt_CNq=7h0BSXT5bgm2i=iopaYc7DpODw@mail.gmail.com' \
--to=vaalfreja@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=hjl.tools@gmail.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).