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
b685dbae
Commit
b685dbae
authored
Jan 03, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads): If replaced a PLUS or MULT with a simple operand,
start over again. From-SVN: r13360
parent
161cca9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
gcc/reload.c
+15
-1
No files found.
gcc/reload.c
View file @
b685dbae
/* Search an insn for pseudo regs that must be in hard regs and are not.
Copyright (C) 1987, 88, 89, 92-
5, 1996
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 89, 92-
6, 1997
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -2518,6 +2518,20 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
find_reloads_address
(
VOIDmode
,
NULL_PTR
,
recog_operand
[
i
],
recog_operand_loc
[
i
],
i
,
operand_type
[
i
],
ind_levels
);
/* If we now have a simple operand where we used to have a
PLUS or MULT, re-recognize and try again. */
if
((
GET_RTX_CLASS
(
GET_CODE
(
*
recog_operand_loc
[
i
]))
==
'o'
||
GET_CODE
(
*
recog_operand_loc
[
i
])
==
SUBREG
)
&&
(
GET_CODE
(
recog_operand
[
i
])
==
MULT
||
GET_CODE
(
recog_operand
[
i
])
==
PLUS
))
{
INSN_CODE
(
insn
)
=
-
1
;
find_reloads
(
insn
,
replace
,
ind_levels
,
live_known
,
reload_reg_p
);
return
;
}
substed_operand
[
i
]
=
recog_operand
[
i
]
=
*
recog_operand_loc
[
i
];
}
else
if
(
code
==
MEM
)
...
...
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