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
e4b68ced
Commit
e4b68ced
authored
Jan 19, 2000
by
Michael Hayes
Committed by
Michael Hayes
Jan 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loop.c
From-SVN: r31500
parent
d29c259b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
gcc/ChangeLog
+11
-0
gcc/unroll.c
+8
-4
No files found.
gcc/ChangeLog
View file @
e4b68ced
2000
-
01
-
20
Michael
Hayes
<
m
.
hayes
@elec
.
canterbury
.
ac
.
nz
>
*
loop
.
c
(
current_loop_info
)
:
Renamed
from
loop_info_data
and
changed
to
a
pointer
.
(
loop_optimize
)
:
Allocate
loop_info
structure
for
each
loop
and
initialise
to
zero
.
(
scan_loop
)
:
Set
current_loop_info
.
*
unroll
.
c
(
loop_iterations
)
:
Don
'
t
abort
if
REG_USERVAR_P
set
on
iteration_var
.
2000
-
01
-
19
Richard
Henderson
<
rth
@cygnus
.
com
>
*
stupid
.
c
:
Die
die
die
.
...
...
gcc/unroll.c
View file @
e4b68ced
...
...
@@ -3702,10 +3702,14 @@ loop_iterations (loop)
return
0
;
}
/* The only new registers that care created before loop iterations are
givs made from biv increments, so this should never occur. */
if
((
unsigned
)
REGNO
(
iteration_var
)
>=
reg_iv_type
->
num_elements
)
/* The only new registers that are created before loop iterations
are givs made from biv increments or registers created by
load_mems. In the latter case, it is possible that try_copy_prop
will propagate a new pseudo into the old iteration register but
this will be marked by having the REG_USERVAR_P bit set. */
if
((
unsigned
)
REGNO
(
iteration_var
)
>=
reg_iv_type
->
num_elements
&&
!
REG_USERVAR_P
(
iteration_var
))
abort
();
iteration_info
(
iteration_var
,
&
initial_value
,
&
increment
,
...
...
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