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
86e5b1b9
Commit
86e5b1b9
authored
Jun 20, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jun 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* predict.c (estimate_probability): Fix loop bounds.
From-SVN: r43478
parent
097c2d51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/predict.c
+2
-2
No files found.
gcc/ChangeLog
View file @
86e5b1b9
Wed
Jun
20
21
:
53
:
35
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
predict
.
c
(
estimate_probability
)
:
Fix
loop
bounds
.
Wed
Jun
20
19
:
10
:
48
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
toplev
.
c
(
rest_of_compilation
)
:
Run
mark_constant_function
...
...
gcc/predict.c
View file @
86e5b1b9
...
...
@@ -290,7 +290,7 @@ estimate_probability (loops_info)
For each conditional jump, we try each heuristic in a fixed order.
If more than one heuristic applies to a particular branch, the first
is used as the prediction for the branch. */
for
(
i
=
0
;
i
<
n_basic_blocks
-
1
;
i
++
)
for
(
i
=
0
;
i
<
n_basic_blocks
;
i
++
)
{
basic_block
bb
=
BASIC_BLOCK
(
i
);
rtx
last_insn
=
bb
->
end
;
...
...
@@ -429,7 +429,7 @@ estimate_probability (loops_info)
}
/* Attach the combined probability to each conditional jump. */
for
(
i
=
0
;
i
<
n_basic_blocks
-
1
;
i
++
)
for
(
i
=
0
;
i
<
n_basic_blocks
;
i
++
)
{
rtx
last_insn
=
BLOCK_END
(
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