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
d0ab13fd
Commit
d0ab13fd
authored
Feb 13, 2006
by
J"orn Rennecke
Committed by
Joern Rennecke
Feb 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* reload1.c (gen_reload): Also use find_replacement in UNARY_P case.
From-SVN: r110915
parent
3e8b0446
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/reload1.c
+4
-1
No files found.
gcc/ChangeLog
View file @
d0ab13fd
2006-02-13 J"orn Rennecke <joern.rennecke@st.com>
* reload1.c (gen_reload): Also use find_replacement in UNARY_P case.
2006-02-12 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/26222
...
...
gcc/reload1.c
View file @
d0ab13fd
...
...
@@ -7721,6 +7721,10 @@ gen_reload (rtx out, rtx in, int opnum, enum reload_type type)
rtx
out_moded
;
rtx
set
;
op1
=
find_replacement
(
&
XEXP
(
in
,
0
));
if
(
op1
!=
XEXP
(
in
,
0
))
in
=
gen_rtx_fmt_e
(
GET_CODE
(
in
),
GET_MODE
(
in
),
op1
);
/* First, try a plain SET. */
set
=
emit_insn_if_valid_for_reload
(
gen_rtx_SET
(
VOIDmode
,
out
,
in
));
if
(
set
)
...
...
@@ -7729,7 +7733,6 @@ gen_reload (rtx out, rtx in, int opnum, enum reload_type type)
/* If that failed, move the inner operand to the reload
register, and try the same unop with the inner expression
replaced with the reload register. */
op1
=
XEXP
(
in
,
0
);
if
(
GET_MODE
(
op1
)
!=
GET_MODE
(
out
))
out_moded
=
gen_rtx_REG
(
GET_MODE
(
op1
),
REGNO
(
out
));
...
...
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