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
3e2fdd24
Commit
3e2fdd24
authored
Apr 17, 2011
by
Revital Eres
Committed by
Revital Eres
Apr 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New flag to apply SMS when SC equals 1
From-SVN: r172610
parent
4c0f7679
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
3 deletions
+19
-3
gcc/ChangeLog
+6
-0
gcc/doc/invoke.texi
+4
-0
gcc/modulo-sched.c
+4
-3
gcc/params.def
+5
-0
No files found.
gcc/ChangeLog
View file @
3e2fdd24
2011-04-17 Revital Eres <revital.eres@linaro.org>
* params.def (sms-min-sc): New param flag.
* modulo-sched.c (sms_schedule): Use it.
* doc/invoke.texi (sms-min-sc): Document it.
2011-04-17 Jan Hubicka <jh@suse.cz>
* lto-symtab.c (lto_cgraph_replace_node): When call statement is
...
...
gcc/doc/invoke.texi
View file @
3e2fdd24
...
...
@@ -8700,6 +8700,10 @@ through which the instruction may be pipelined. The default value is 2.
The
maximum
number
of
best
instructions
in
the
ready
list
that
are
considered
for
renaming
in
the
selective
scheduler
.
The
default
value
is
2.
@
item
sms
-
min
-
sc
The
minimum
value
of
stage
count
that
swing
modulo
scheduler
will
generate
.
The
default
value
is
2.
@
item
max
-
last
-
value
-
rtl
The
maximum
size
measured
as
number
of
RTLs
that
can
be
recorded
in
an
expression
in
combiner
for
a
pseudo
register
as
last
known
value
of
that
register
.
The
default
...
...
gcc/modulo-sched.c
View file @
3e2fdd24
...
...
@@ -1162,9 +1162,10 @@ sms_schedule (void)
gcc_assert
(
stage_count
>=
1
);
}
/* Stage count of 1 means that there is no interleaving between
iterations, let the scheduling passes do the job. */
if
(
stage_count
<=
1
/* The default value of PARAM_SMS_MIN_SC is 2 as stage count of
1 means that there is no interleaving between iterations thus
we let the scheduling passes do the job in this case. */
if
(
stage_count
<
(
unsigned
)
PARAM_VALUE
(
PARAM_SMS_MIN_SC
)
||
(
count_init
&&
(
loop_count
<=
stage_count
))
||
(
flag_branch_probabilities
&&
(
trip_count
<=
stage_count
)))
{
...
...
gcc/params.def
View file @
3e2fdd24
...
...
@@ -334,6 +334,11 @@ DEFPARAM(PARAM_SMS_MAX_II_FACTOR,
"sms-max-ii-factor",
"A factor for tuning the upper bound that swing modulo scheduler uses for scheduling a loop",
100, 0, 0)
/* The minimum value of stage count that swing modulo scheduler will generate. */
DEFPARAM(PARAM_SMS_MIN_SC,
"sms-min-sc",
"The minimum value of stage count that swing modulo scheduler will generate.",
2, 1, 1)
DEFPARAM(PARAM_SMS_DFA_HISTORY,
"sms-dfa-history",
"The number of cycles the swing modulo scheduler considers when checking conflicts using DFA",
...
...
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