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
6449b397
Commit
6449b397
authored
Mar 18, 1999
by
Nick Clifton
Committed by
Nick Clifton
Mar 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not perform pseudo replacements if the loop contains volatile memory
references. From-SVN: r25841
parent
9f4749b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+5
-0
gcc/loop.c
+4
-1
No files found.
gcc/ChangeLog
View file @
6449b397
Thu
Mar
18
15
:
58
:
26
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
loop
.
c
(
strength_reduce
)
:
Do
not
perform
pseudo
replacements
if
the
loop
contains
volatile
memory
references
.
Thu
Mar
18
19
:
09
:
50
1999
J
"orn Rennecke <amylaar@cygnus.co.uk>
* reload.c (find_reloads_toplev): When processing X recursively,
...
...
gcc/loop.c
View file @
6449b397
...
...
@@ -4115,8 +4115,11 @@ strength_reduce (scan_start, end, loop_top, insn_count,
first_increment_giv
=
max_reg_num
();
for
(
n_extra_increment
=
0
,
bl
=
loop_iv_list
;
bl
;
bl
=
bl
->
next
)
n_extra_increment
+=
bl
->
biv_count
-
1
;
/* If the loop contains volatile memory references do not allow any
replacements to take place, since this could loose the volatile markers. */
/* XXX Temporary. */
if
(
0
&&
n_extra_increment
)
if
(
0
&&
n_extra_increment
&&
!
loop_has_volatile
)
{
int
nregs
=
first_increment_giv
+
n_extra_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