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
1abdf5e7
Commit
1abdf5e7
authored
Mar 01, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Mar 01, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix register elimination problem
From-SVN: r40147
parent
21e4c9a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
gcc/ChangeLog
+3
-0
gcc/reload1.c
+1
-0
No files found.
gcc/ChangeLog
View file @
1abdf5e7
2001-03-01 Bernd Schmidt <bernds@redhat.com>
* reload1.c (eliminate_regs_in_insn): Restrict the special case
code not to try to optimize adds with anything but a REG destination.
* sched-int.h (struct haifa_insn_data): Add new member priority_known.
(INSN_PRIORITY_KNOWN): New accessor macro.
* haifa-sched.c (priority): Use it instead of testing priority against
...
...
gcc/reload1.c
View file @
1abdf5e7
...
...
@@ -3016,6 +3016,7 @@ eliminate_regs_in_insn (insn, replace)
currently support: a single set with the source being a PLUS of an
eliminable register and a constant. */
if
(
old_set
&&
GET_CODE
(
SET_DEST
(
old_set
))
==
REG
&&
GET_CODE
(
SET_SRC
(
old_set
))
==
PLUS
&&
GET_CODE
(
XEXP
(
SET_SRC
(
old_set
),
0
))
==
REG
&&
GET_CODE
(
XEXP
(
SET_SRC
(
old_set
),
1
))
==
CONST_INT
...
...
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