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
13b8df74
Commit
13b8df74
authored
May 11, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mostly_true_jump): Jump is forward if TARGET_LABEL is zero; don't try
to get INSN_CODE of zero. From-SVN: r4424
parent
344ba054
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/reorg.c
+3
-2
No files found.
gcc/reorg.c
View file @
13b8df74
/* Perform instruction reorganizations for delay slot filling.
Copyright (C) 1992 Free Software Foundation, Inc.
Copyright (C) 1992
, 1993
Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@nyu.edu).
Hacked by Michael Tiemann (tiemann@cygnus.com).
...
...
@@ -1337,7 +1337,8 @@ mostly_true_jump (jump_insn, condition)
/* Predict backward branches usually take, forward branches usually not. If
we don't know whether this is forward or backward, assume the branch
will be taken, since most are. */
return
(
INSN_UID
(
jump_insn
)
>
max_uid
||
INSN_UID
(
target_label
)
>
max_uid
return
(
target_label
==
0
||
INSN_UID
(
jump_insn
)
>
max_uid
||
INSN_UID
(
target_label
)
>
max_uid
||
(
uid_to_ruid
[
INSN_UID
(
jump_insn
)]
>
uid_to_ruid
[
INSN_UID
(
target_label
)]));;
}
...
...
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