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
a7a4457e
Commit
a7a4457e
authored
Oct 15, 1996
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (strength_reduce): Avoid taking PATTERN of a label.
From-SVN: r12965
parent
0002d808
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
gcc/loop.c
+12
-6
No files found.
gcc/loop.c
View file @
a7a4457e
...
...
@@ -3952,12 +3952,18 @@ strength_reduce (scan_start, end, loop_top, insn_count,
auto_inc_opt
=
1
;
#ifdef HAVE_cc0
/* We can't put an insn immediately after one setting
cc0, or immediately before one using cc0. */
if
((
auto_inc_opt
==
1
&&
sets_cc0_p
(
PATTERN
(
v
->
insn
)))
||
(
auto_inc_opt
==
-
1
&&
sets_cc0_p
(
PATTERN
(
prev_nonnote_insn
(
v
->
insn
)))))
auto_inc_opt
=
0
;
{
rtx
prev
;
/* We can't put an insn immediately after one setting
cc0, or immediately before one using cc0. */
if
((
auto_inc_opt
==
1
&&
sets_cc0_p
(
PATTERN
(
v
->
insn
)))
||
(
auto_inc_opt
==
-
1
&&
(
prev
=
prev_nonnote_insn
(
v
->
insn
))
!=
0
&&
GET_RTX_CLASS
(
GET_CODE
(
prev
))
==
'i'
&&
sets_cc0_p
(
PATTERN
(
prev
))))
auto_inc_opt
=
0
;
}
#endif
if
(
auto_inc_opt
)
...
...
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