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
de82c453
Commit
de82c453
authored
Feb 19, 2008
by
Revital Eres
Committed by
Revital Eres
Feb 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SMS: Minor misc fixes
From-SVN: r132423
parent
80fa012e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
gcc/ChangeLog
+7
-0
gcc/modulo-sched.c
+6
-6
No files found.
gcc/ChangeLog
View file @
de82c453
2008-02-19 Revital Eres <eres@il.ibm.com>
* modulo-sched.c (sms_schedule): Change dump message when
create_ddg function fails.
(try_scheduling_node_in_cycle): Rename row to cycle.
(print_partial_schedule): Rename CYCLE to ROW.
2008-02-19 Christian Bruel <christian.bruel@st.com>
2008-02-19 Christian Bruel <christian.bruel@st.com>
Zdenek Dvorak <ook@ucw.cz>
Zdenek Dvorak <ook@ucw.cz>
...
...
gcc/modulo-sched.c
View file @
de82c453
...
@@ -1045,7 +1045,7 @@ sms_schedule (void)
...
@@ -1045,7 +1045,7 @@ sms_schedule (void)
if
(
!
(
g
=
create_ddg
(
bb
,
0
)))
if
(
!
(
g
=
create_ddg
(
bb
,
0
)))
{
{
if
(
dump_file
)
if
(
dump_file
)
fprintf
(
dump_file
,
"SMS
doloop
\n
"
);
fprintf
(
dump_file
,
"SMS
create_ddg failed
\n
"
);
continue
;
continue
;
}
}
...
@@ -1669,7 +1669,7 @@ calculate_must_precede_follow (ddg_node_ptr u_node, int start, int end,
...
@@ -1669,7 +1669,7 @@ calculate_must_precede_follow (ddg_node_ptr u_node, int start, int end,
static
bool
static
bool
try_scheduling_node_in_cycle
(
partial_schedule_ptr
ps
,
ddg_node_ptr
u_node
,
try_scheduling_node_in_cycle
(
partial_schedule_ptr
ps
,
ddg_node_ptr
u_node
,
int
u
,
int
row
,
sbitmap
sched_nodes
,
int
u
,
int
cycle
,
sbitmap
sched_nodes
,
int
*
num_splits
,
sbitmap
must_precede
,
int
*
num_splits
,
sbitmap
must_precede
,
sbitmap
must_follow
)
sbitmap
must_follow
)
{
{
...
@@ -1677,16 +1677,16 @@ try_scheduling_node_in_cycle (partial_schedule_ptr ps, ddg_node_ptr u_node,
...
@@ -1677,16 +1677,16 @@ try_scheduling_node_in_cycle (partial_schedule_ptr ps, ddg_node_ptr u_node,
bool
success
=
0
;
bool
success
=
0
;
verify_partial_schedule
(
ps
,
sched_nodes
);
verify_partial_schedule
(
ps
,
sched_nodes
);
psi
=
ps_add_node_check_conflicts
(
ps
,
u_node
,
row
,
psi
=
ps_add_node_check_conflicts
(
ps
,
u_node
,
cycle
,
must_precede
,
must_follow
);
must_precede
,
must_follow
);
if
(
psi
)
if
(
psi
)
{
{
SCHED_TIME
(
u_node
)
=
row
;
SCHED_TIME
(
u_node
)
=
cycle
;
SET_BIT
(
sched_nodes
,
u
);
SET_BIT
(
sched_nodes
,
u
);
success
=
1
;
success
=
1
;
*
num_splits
=
0
;
*
num_splits
=
0
;
if
(
dump_file
)
if
(
dump_file
)
fprintf
(
dump_file
,
"Scheduled w/o split in %d
\n
"
,
row
);
fprintf
(
dump_file
,
"Scheduled w/o split in %d
\n
"
,
cycle
);
}
}
...
@@ -2472,7 +2472,7 @@ print_partial_schedule (partial_schedule_ptr ps, FILE *dump)
...
@@ -2472,7 +2472,7 @@ print_partial_schedule (partial_schedule_ptr ps, FILE *dump)
{
{
ps_insn_ptr
ps_i
=
ps
->
rows
[
i
];
ps_insn_ptr
ps_i
=
ps
->
rows
[
i
];
fprintf
(
dump
,
"
\n
[
CYCLE
%d ]: "
,
i
);
fprintf
(
dump
,
"
\n
[
ROW
%d ]: "
,
i
);
while
(
ps_i
)
while
(
ps_i
)
{
{
fprintf
(
dump
,
"%d, "
,
fprintf
(
dump
,
"%d, "
,
...
...
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