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
d4ca58b3
Commit
d4ca58b3
authored
Apr 08, 1999
by
Jeffrey A Law
Committed by
Jeff Law
Apr 08, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (strength_reduce): Re-enable Joern's loop improvements.
From-SVN: r26299
parent
cfd1324b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
gcc/ChangeLog
+4
-0
gcc/loop.c
+1
-5
No files found.
gcc/ChangeLog
View file @
d4ca58b3
Thu
Apr
8
19
:
20
:
18
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
loop
.
c
(
strength_reduce
)
:
Re
-
enable
Joern
'
s
loop
improvements
.
Thu
Apr
8
09
:
37
:
40
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
Thu
Apr
8
09
:
37
:
40
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
arm
.
c
(
arm_print_operand
)
:
Undo
previous
change
-
*
config
/
arm
/
arm
.
c
(
arm_print_operand
)
:
Undo
previous
change
-
...
...
gcc/loop.c
View file @
d4ca58b3
...
@@ -4118,8 +4118,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
...
@@ -4118,8 +4118,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
/* If the loop contains volatile memory references do not allow any
/* If the loop contains volatile memory references do not allow any
replacements to take place, since this could loose the volatile markers. */
replacements to take place, since this could loose the volatile markers. */
/* XXX Temporary. */
if
(
n_extra_increment
&&
!
loop_has_volatile
)
if
(
0
&&
n_extra_increment
&&
!
loop_has_volatile
)
{
{
int
nregs
=
first_increment_giv
+
n_extra_increment
;
int
nregs
=
first_increment_giv
+
n_extra_increment
;
...
@@ -4704,8 +4703,6 @@ strength_reduce (scan_start, end, loop_top, insn_count,
...
@@ -4704,8 +4703,6 @@ strength_reduce (scan_start, end, loop_top, insn_count,
}
}
}
}
#if 0
/* XXX Temporary. */
/* Now that we know which givs will be reduced, try to rearrange the
/* Now that we know which givs will be reduced, try to rearrange the
combinations to reduce register pressure.
combinations to reduce register pressure.
recombine_givs calls find_life_end, which needs reg_iv_type and
recombine_givs calls find_life_end, which needs reg_iv_type and
...
@@ -4724,7 +4721,6 @@ strength_reduce (scan_start, end, loop_top, insn_count,
...
@@ -4724,7 +4721,6 @@ strength_reduce (scan_start, end, loop_top, insn_count,
VARRAY_GROW
(
reg_iv_info
,
nregs
);
VARRAY_GROW
(
reg_iv_info
,
nregs
);
}
}
recombine_givs
(
bl
,
loop_start
,
loop_end
,
unroll_p
);
recombine_givs
(
bl
,
loop_start
,
loop_end
,
unroll_p
);
#endif
/* Reduce each giv that we decided to reduce. */
/* Reduce each giv that we decided to reduce. */
...
...
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