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
71641c15
Commit
71641c15
authored
Feb 18, 2001
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
structure shift insns. From-SVN: r39848
parent
69a59a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
gcc/ChangeLog
+6
-1
gcc/config/mips/mips.c
+12
-3
No files found.
gcc/ChangeLog
View file @
71641c15
2001-02-17 Mark Mitchell <mark@codesourcery.com>
2001-02-18 Shane Nay <shane@agendacomputing.com>
* mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
structure shift insns.
2001-02-18 Mark Mitchell <mark@codesourcery.com>
* invoke.texi (-fsquangle): Remove documentation.
(-fname-mangling-version): Likewise.
...
...
gcc/config/mips/mips.c
View file @
71641c15
...
...
@@ -7115,13 +7115,22 @@ mips_expand_prologue ()
for
(
i
=
0
;
i
<
num
;
i
++
)
{
rtx
pattern
=
RTVEC_ELT
(
adjust
,
i
);
rtx
insn
,
pattern
;
pattern
=
RTVEC_ELT
(
adjust
,
i
);
if
(
GET_CODE
(
pattern
)
!=
SET
||
GET_CODE
(
SET_SRC
(
pattern
))
!=
ASHIFT
)
abort_with_insn
(
pattern
,
"Insn is not a shift"
);
PUT_CODE
(
SET_SRC
(
pattern
),
ASHIFTRT
);
emit_insn
(
pattern
);
insn
=
emit_insn
(
pattern
);
/* Global life information isn't valid at this point, so we
can't check whether these shifts are actually used. Mark
them MAYBE_DEAD so that flow2 will remove them, and not
complain about dead code in the prologue. */
REG_NOTES
(
insn
)
=
gen_rtx_EXPR_LIST
(
REG_MAYBE_DEAD
,
NULL_RTX
,
REG_NOTES
(
insn
));
}
}
...
...
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