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
f83ed238
Commit
f83ed238
authored
May 28, 2000
by
Richard Henderson
Committed by
Richard Henderson
May 28, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
From-SVN: r34237
parent
97b0694a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
gcc/ChangeLog
+4
-0
gcc/loop.c
+7
-4
No files found.
gcc/ChangeLog
View file @
f83ed238
2000
-
05
-
28
Richard
Henderson
<
rth
@cygnus
.
com
>
*
loop
.
c
(
instrument_loop_bct
)
:
Set
JUMP_LABEL
on
the
new
insn
.
2000
-
05
-
28
Richard
Henderson
<
rth
@cygnus
.
com
>
*
function
.
c
(
diddle_return_value
)
:
A
pcc
-
style
struct
return
returns
a
pointer
.
gcc/loop.c
View file @
f83ed238
...
...
@@ -9503,12 +9503,15 @@ instrument_loop_bct (loop_start, loop_end, loop_num_iterations)
/* Insert new comparison on the count register instead of the
old one, generating the needed BCT pattern (that will be
later recognized by assembly generation phase). */
emit_jump_insn_before
(
gen_decrement_and_branch_on_count
(
counter_reg
,
start_label
),
loop_end
);
sequence
=
emit_jump_insn_before
(
gen_decrement_and_branch_on_count
(
counter_reg
,
start_label
),
loop_end
);
if
(
GET_CODE
(
sequence
)
!=
JUMP_INSN
)
abort
();
JUMP_LABEL
(
sequence
)
=
start_label
;
LABEL_NUSES
(
start_label
)
++
;
}
}
#endif
/* HAVE_decrement_and_branch_on_count */
...
...
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