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
3abe6f90
Commit
3abe6f90
authored
Jul 05, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(emit_reload_insns): Don't use gen_lowpart_common to get reload
register into proper mode. From-SVN: r4855
parent
26f1a00e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
gcc/reload1.c
+6
-3
No files found.
gcc/reload1.c
View file @
3abe6f90
...
...
@@ -5516,10 +5516,13 @@ emit_reload_insns (insn)
oldequiv_reg
=
SUBREG_REG
(
oldequiv
);
/* Encapsulate both RELOADREG and OLDEQUIV into that mode,
then load RELOADREG from OLDEQUIV. */
then load RELOADREG from OLDEQUIV. Note that we cannot use
gen_lowpart_common since it can do the wrong thing when
RELOADREG has a multi-word mode. Note that RELOADREG
must always be a REG here. */
if
(
GET_MODE
(
reloadreg
)
!=
mode
)
reloadreg
=
gen_
lowpart_common
(
mode
,
reloadreg
);
reloadreg
=
gen_
rtx
(
REG
,
mode
,
REGNO
(
reloadreg
)
);
while
(
GET_CODE
(
oldequiv
)
==
SUBREG
&&
GET_MODE
(
oldequiv
)
!=
mode
)
oldequiv
=
SUBREG_REG
(
oldequiv
);
if
(
GET_MODE
(
oldequiv
)
!=
VOIDmode
...
...
@@ -5981,7 +5984,7 @@ emit_reload_insns (insn)
}
if
(
GET_MODE
(
reloadreg
)
!=
mode
)
reloadreg
=
gen_
lowpart_common
(
mode
,
reloadreg
);
reloadreg
=
gen_
rtx
(
REG
,
mode
,
REGNO
(
reloadreg
)
);
#ifdef SECONDARY_OUTPUT_RELOAD_CLASS
...
...
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