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
fe41a98e
Commit
fe41a98e
authored
Mar 10, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(steal_delay_list_from_target): Exit at the top if the
branch in SEQ is not a single set. From-SVN: r9158
parent
63a33c94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
gcc/reorg.c
+8
-3
No files found.
gcc/reorg.c
View file @
fe41a98e
...
@@ -1592,12 +1592,17 @@ steal_delay_list_from_target (insn, condition, seq, delay_list,
...
@@ -1592,12 +1592,17 @@ steal_delay_list_from_target (insn, condition, seq, delay_list,
/* We can't do anything if there are more delay slots in SEQ than we
/* We can't do anything if there are more delay slots in SEQ than we
can handle, or if we don't know that it will be a taken branch.
can handle, or if we don't know that it will be a taken branch.
We know that it will be a taken branch if it is either an unconditional
We know that it will be a taken branch if it is either an unconditional
branch or a conditional branch with a stricter branch condition. */
branch or a conditional branch with a stricter branch condition.
Also, exit if the branch has more than one set, since then it is computing
other results that can't be ignored, e.g. the HPPA mov&branch instruction.
??? It may be possible to move other sets into INSN in addition to
moving the instructions in the delay slots. */
if
(
XVECLEN
(
seq
,
0
)
-
1
>
slots_remaining
if
(
XVECLEN
(
seq
,
0
)
-
1
>
slots_remaining
||
!
condition_dominates_p
(
condition
,
XVECEXP
(
seq
,
0
,
0
)))
||
!
condition_dominates_p
(
condition
,
XVECEXP
(
seq
,
0
,
0
))
||
!
single_set
(
XVECEXP
(
seq
,
0
,
0
)))
return
delay_list
;
return
delay_list
;
for
(
i
=
1
;
i
<
XVECLEN
(
seq
,
0
);
i
++
)
for
(
i
=
1
;
i
<
XVECLEN
(
seq
,
0
);
i
++
)
...
...
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