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
f47f2c17
Commit
f47f2c17
authored
Jun 26, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_splittable_regs): When completely unrolling loop, check for
non-invariant initial biv values. From-SVN: r10056
parent
01842234
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/unroll.c
+4
-3
No files found.
gcc/unroll.c
View file @
f47f2c17
...
...
@@ -2397,12 +2397,13 @@ find_splittable_regs (unroll_type, loop_start, loop_end, end_insert_before,
{
/* If the initial value of the biv is itself (i.e. it is too
complicated for strength_reduce to compute), or is a hard
register,
then we must create a new pseudo reg to hold the
initial value of the biv. */
register,
or it isn't invariant, then we must create a new
pseudo reg to hold the
initial value of the biv. */
if
(
GET_CODE
(
bl
->
initial_value
)
==
REG
&&
(
REGNO
(
bl
->
initial_value
)
==
bl
->
regno
||
REGNO
(
bl
->
initial_value
)
<
FIRST_PSEUDO_REGISTER
))
||
REGNO
(
bl
->
initial_value
)
<
FIRST_PSEUDO_REGISTER
||
!
invariant_p
(
bl
->
initial_value
)))
{
rtx
tem
=
gen_reg_rtx
(
bl
->
biv
->
mode
);
...
...
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