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
4bb83350
Commit
4bb83350
authored
Jun 11, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Jun 11, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
From-SVN: r43189
parent
1552f874
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+4
-0
gcc/jump.c
+5
-4
No files found.
gcc/ChangeLog
View file @
4bb83350
Mon
Jun
11
15
:
47
:
45
CEST
2001
Jan
Hubicka
<
jh
@suse
.
cz
>
*
jump
.
c
(
duplicate_loop_exit_test
)
:
Fix
loop
header
heuristics
.
2001
-
06
-
11
Joseph
S
.
Myers
<
jsm28
@cam
.
ac
.
uk
>
2001
-
06
-
11
Joseph
S
.
Myers
<
jsm28
@cam
.
ac
.
uk
>
*
c
-
decl
.
c
(
store_parm_decls
)
:
When
comparing
types
in
an
*
c
-
decl
.
c
(
store_parm_decls
)
:
When
comparing
types
in
an
...
...
gcc/jump.c
View file @
4bb83350
...
@@ -1257,10 +1257,11 @@ duplicate_loop_exit_test (loop_start)
...
@@ -1257,10 +1257,11 @@ duplicate_loop_exit_test (loop_start)
rtx
label
=
JUMP_LABEL
(
copy
);
rtx
label
=
JUMP_LABEL
(
copy
);
if
(
label
)
if
(
label
)
{
{
if
(
PREV_INSN
(
label
)
/* The jump_insn after loop_start should be followed
&&
GET_CODE
(
PREV_INSN
(
label
))
==
NOTE
by barrier and loopback label. */
&&
(
NOTE_LINE_NUMBER
(
PREV_INSN
(
label
))
if
(
prev_nonnote_insn
(
label
)
==
NOTE_INSN_LOOP_CONT
))
&&
(
PREV_INSN
(
prev_nonnote_insn
(
label
))
==
NEXT_INSN
(
loop_start
)))
predict_insn_def
(
copy
,
PRED_LOOP_HEADER
,
TAKEN
);
predict_insn_def
(
copy
,
PRED_LOOP_HEADER
,
TAKEN
);
else
else
predict_insn_def
(
copy
,
PRED_LOOP_HEADER
,
NOT_TAKEN
);
predict_insn_def
(
copy
,
PRED_LOOP_HEADER
,
NOT_TAKEN
);
...
...
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