Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6d7e169e
Commit
6d7e169e
authored
Nov 02, 2017
by
Jan Hubicka
Committed by
Jan Hubicka
Nov 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* x86-tune.def (X86_TUNE_USE_INCDEC): Enable for Haswell+.
From-SVN: r254343
parent
1e8fc1ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
gcc/ChangeLog
+4
-0
gcc/config/i386/x86-tune.def
+8
-3
No files found.
gcc/ChangeLog
View file @
6d7e169e
2017
-
11
-
02
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
x86
-
tune
.
def
(
X86_TUNE_USE_INCDEC
):
Enable
for
Haswell
+.
2017
-
11
-
02
Richard
Biener
<
rguenther
@
suse
.
de
>
PR
tree
-
optimization
/
82795
gcc/config/i386/x86-tune.def
View file @
6d7e169e
...
...
@@ -220,10 +220,15 @@ DEF_TUNE (X86_TUNE_LCP_STALL, "lcp_stall", m_CORE_ALL | m_GENERIC)
as "add mem, reg". */
DEF_TUNE (X86_TUNE_READ_MODIFY, "read_modify", ~(m_PENT | m_LAKEMONT | m_PPRO))
/* X86_TUNE_USE_INCDEC: Enable use of inc/dec instructions. */
/* X86_TUNE_USE_INCDEC: Enable use of inc/dec instructions.
Core2 and nehalem has stall of 7 cycles for partial flag register stalls.
Sandy bridge and Ivy bridge generate extra uop. On Haswell this extra uop
is output only when the values needs to be really merged, which is not
done by GCC generated code. */
DEF_TUNE (X86_TUNE_USE_INCDEC, "use_incdec",
~(m_P4_NOCONA | m_CORE
_ALL | m_BONNELL | m_SILVERMONT | m_INTEL
| m_KNL | m_KNM | m_GENERIC))
~(m_P4_NOCONA | m_CORE
2 | m_NEHALEM | m_SANDYBRIDGE
| m_BONNELL | m_SILVERMONT | m_INTEL
| m_KNL | m_KNM | m_GENERIC))
/* X86_TUNE_INTEGER_DFMODE_MOVES: Enable if integer moves are preferred
for DFmode copies */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment