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
ef9e3c5b
Commit
ef9e3c5b
authored
Aug 24, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Aug 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
From-SVN: r21935
parent
ffa0ec71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
gcc/ChangeLog
+2
-0
gcc/loop.c
+10
-0
No files found.
gcc/ChangeLog
View file @
ef9e3c5b
Mon Aug 24 10:25:46 1998 Jeffrey A Law (law@cygnus.com)
Mon Aug 24 10:25:46 1998 Jeffrey A Law (law@cygnus.com)
* loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
* h8300.h (STRIP_NAME_ENCODING): Fix typo.
* h8300.h (STRIP_NAME_ENCODING): Fix typo.
* sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
* sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
...
...
gcc/loop.c
View file @
ef9e3c5b
...
@@ -781,6 +781,16 @@ scan_loop (loop_start, end, unroll_p)
...
@@ -781,6 +781,16 @@ scan_loop (loop_start, end, unroll_p)
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGISTER
;
i
++
)
may_not_optimize
[
i
]
=
1
,
n_times_set
[
i
]
=
1
;
may_not_optimize
[
i
]
=
1
,
n_times_set
[
i
]
=
1
;
#ifdef AVOID_CCMODE_COPIES
/* Don't try to move insns which set CC registers if we should not
create CCmode register copies. */
be
avoiding
for
(
i
=
FIRST_PSEUDO_REGISTER
;
i
<
nregs
-
loop_mems_idx
;
i
++
)
if
(
GET_MODE_CLASS
(
GET_MODE
(
regno_reg_rtx
[
i
]))
==
MODE_CC
)
may_not_optimize
[
i
]
=
1
;
#endif
bcopy
((
char
*
)
n_times_set
,
(
char
*
)
n_times_used
,
nregs
*
sizeof
(
int
));
bcopy
((
char
*
)
n_times_set
,
(
char
*
)
n_times_used
,
nregs
*
sizeof
(
int
));
if
(
loop_dump_stream
)
if
(
loop_dump_stream
)
...
...
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