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
014830a5
Commit
014830a5
authored
Oct 09, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mark_target_live_regs): Fix bug in last change.
From-SVN: r2385
parent
9d790a4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
gcc/reorg.c
+3
-13
No files found.
gcc/reorg.c
View file @
014830a5
...
@@ -2171,20 +2171,10 @@ mark_target_live_regs (target, res)
...
@@ -2171,20 +2171,10 @@ mark_target_live_regs (target, res)
if
(
GET_CODE
(
PATTERN
(
insn
))
==
USE
)
if
(
GET_CODE
(
PATTERN
(
insn
))
==
USE
)
{
{
/* If INSN is a USE made by update_block, we care about the
/* If INSN is a USE made by update_block, we care about the
underlying insn. Any registers set or referenced by the
underlying insn. Any registers set by the underlying insn
underlying insn should be treated as if the insn were
are live since the insn is being done somewhere else. */
located here without the USE. */
if
(
GET_RTX_CLASS
(
GET_CODE
(
XEXP
(
PATTERN
(
insn
),
0
)))
==
'i'
)
if
(
GET_RTX_CLASS
(
GET_CODE
(
XEXP
(
PATTERN
(
insn
),
0
)))
==
'i'
)
{
mark_set_resources
(
XEXP
(
PATTERN
(
insn
),
0
),
res
,
0
,
1
);
rtx
inner
=
XEXP
(
PATTERN
(
insn
),
0
);
mark_referenced_resources
(
inner
,
&
needed
,
1
);
mark_set_resources
(
inner
,
&
set
,
0
,
1
);
COPY_HARD_REG_SET
(
scratch
,
set
.
regs
);
AND_COMPL_HARD_REG_SET
(
scratch
,
needed
.
regs
);
AND_COMPL_HARD_REG_SET
(
res
->
regs
,
scratch
);
}
/* All other USE insns are to be ignored. */
/* All other USE insns are to be ignored. */
continue
;
continue
;
...
...
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