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
9831d640
Commit
9831d640
authored
Sep 08, 1999
by
Richard Henderson
Committed by
Richard Henderson
Sep 08, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
From-SVN: r29217
parent
b6b4c6c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/ChangeLog
+4
-0
gcc/flow.c
+13
-0
No files found.
gcc/ChangeLog
View file @
9831d640
Wed
Sep
8
16
:
41
:
27
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
flow
.
c
(
new_insn_dead_notes
)
:
Don
'
t
early
out
for
preexisting
regs
.
Wed
Sep
8
16
:
07
:
52
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
gengenrtl
.
c
(
CONST_DOUBLE_FORMAT
)
:
Take
the
size
REAL_ARITHMETIC
...
...
gcc/flow.c
View file @
9831d640
...
...
@@ -5351,6 +5351,7 @@ new_insn_dead_notes (pat, insn, first, last, orig_first_insn, orig_last_insn)
if
(
GET_CODE
(
dest
)
==
REG
)
{
#if 0
/* If the original insns already used this register, we may not
add new notes for it. One example for a replacement that
needs this test is when a multi-word memory access with
...
...
@@ -5370,6 +5371,17 @@ new_insn_dead_notes (pat, insn, first, last, orig_first_insn, orig_last_insn)
REG_DEAD notes. This can probably be accurately done by
calling mark_referenced_resources() on the old stream before
replacing the old insns. */
/* ??? The conclusion reached here -- that we can't add DEAD notes
when the register is preexisting -- is false. I can't envision
a sequence postulated above that wouldn't be properly handled
by the code below. In the meantime, consider the 1->2 split
(set (reg:SI 100) (ne:SI (reg:SI 100) (const_int 0)))
to
(set (reg:CC icc) (compare:CC (reg:SI 100) (const_int 0)))
(set (reg:SI 100) (ne:SI (reg:CC icc) (const_int 0)))
We do in fact need a new DEAD note on the first insn for reg 100. */
for (tem = orig_first_insn; tem != NULL_RTX; tem = NEXT_INSN (tem))
{
...
...
@@ -5379,6 +5391,7 @@ new_insn_dead_notes (pat, insn, first, last, orig_first_insn, orig_last_insn)
if (tem == orig_last_insn)
break;
}
#endif
/* So it's a new register, presumably only used within this
group of insns. Find the last insn in the set of new insns
...
...
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