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
51ec2375
Commit
51ec2375
authored
Mar 02, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(relax_delay_slots): Delete jump around insn identical
to the insn in its delay slot. From-SVN: r3606
parent
fda792c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
gcc/reorg.c
+13
-0
No files found.
gcc/reorg.c
View file @
51ec2375
...
...
@@ -3440,6 +3440,19 @@ relax_delay_slots (first)
continue
;
}
/* See if this is an unconditional jump around a single insn which is
identical to the one in its delay slot. In this case, we can just
delete the branch and the insn in its delay slot. */
if
(
next
&&
GET_CODE
(
next
)
==
INSN
&&
prev_label
(
next_active_insn
(
next
))
==
target_label
&&
simplejump_p
(
insn
)
&&
XVECLEN
(
pat
,
0
)
==
2
&&
rtx_equal_p
(
PATTERN
(
next
),
PATTERN
(
XVECEXP
(
pat
,
0
,
1
))))
{
delete_insn
(
insn
);
continue
;
}
/* See if this jump (with its delay slots) branches around another
jump (without delay slots). If so, invert this jump and point
it to the target of the second jump. We cannot do this for
...
...
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