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
2d1b811d
Commit
2d1b811d
authored
Mar 01, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Mar 01, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rotate bundles earlier in ia64_sched_reorder
From-SVN: r40157
parent
7a87c39c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
gcc/ChangeLog
+1
-0
gcc/config/ia64/ia64.c
+9
-9
No files found.
gcc/ChangeLog
View file @
2d1b811d
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
(gen_nop_type): New function.
(gen_nop_type): New function.
(ia64_emit_nops): New function.
(ia64_emit_nops): New function.
(ia64_reorg): Call it.
(ia64_reorg): Call it.
(ia64_sched_reorder): Move code that rotates bundles up a bit.
* reload1.c (eliminate_regs_in_insn): Restrict the special case
* reload1.c (eliminate_regs_in_insn): Restrict the special case
code not to try to optimize adds with anything but a REG destination.
code not to try to optimize adds with anything but a REG destination.
...
...
gcc/config/ia64/ia64.c
View file @
2d1b811d
...
@@ -5665,6 +5665,15 @@ ia64_sched_reorder (dump, sched_verbose, ready, pn_ready, reorder_type)
...
@@ -5665,6 +5665,15 @@ ia64_sched_reorder (dump, sched_verbose, ready, pn_ready, reorder_type)
dump_current_packet
(
dump
);
dump_current_packet
(
dump
);
}
}
if
(
reorder_type
==
0
)
{
if
(
sched_data
.
cur
==
6
)
rotate_two_bundles
(
sched_verbose
?
dump
:
NULL
);
else
if
(
sched_data
.
cur
>=
3
)
rotate_one_bundle
(
sched_verbose
?
dump
:
NULL
);
sched_data
.
first_slot
=
sched_data
.
cur
;
}
/* First, move all USEs, CLOBBERs and other crud out of the way. */
/* First, move all USEs, CLOBBERs and other crud out of the way. */
highest
=
ready
[
n_ready
-
1
];
highest
=
ready
[
n_ready
-
1
];
for
(
insnp
=
ready
;
insnp
<
e_ready
;
insnp
++
)
for
(
insnp
=
ready
;
insnp
<
e_ready
;
insnp
++
)
...
@@ -5738,15 +5747,6 @@ ia64_sched_reorder (dump, sched_verbose, ready, pn_ready, reorder_type)
...
@@ -5738,15 +5747,6 @@ ia64_sched_reorder (dump, sched_verbose, ready, pn_ready, reorder_type)
}
}
}
}
if
(
reorder_type
==
0
)
{
if
(
sched_data
.
cur
==
6
)
rotate_two_bundles
(
sched_verbose
?
dump
:
NULL
);
else
if
(
sched_data
.
cur
>=
3
)
rotate_one_bundle
(
sched_verbose
?
dump
:
NULL
);
sched_data
.
first_slot
=
sched_data
.
cur
;
}
return
itanium_reorder
(
sched_verbose
?
dump
:
NULL
,
return
itanium_reorder
(
sched_verbose
?
dump
:
NULL
,
ready
,
e_ready
,
reorder_type
==
1
);
ready
,
e_ready
,
reorder_type
==
1
);
}
}
...
...
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