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
5aa14fee
Commit
5aa14fee
authored
Nov 27, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(find_reloads) [SMALL_REGISTER_CLASSES]:
Don't use preferred_class for a multiword register. From-SVN: r2815
parent
33f3c4c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gcc/reload.c
+7
-0
No files found.
gcc/reload.c
View file @
5aa14fee
...
@@ -2685,11 +2685,18 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
...
@@ -2685,11 +2685,18 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
Don't bother with this if this alternative will accept this
Don't bother with this if this alternative will accept this
operand.
operand.
Don't do this for a multiword operand, if
we have to worry about small classes, because making reg groups
harder to allocate is asking for trouble.
Don't do this if the preferred class has only one register
Don't do this if the preferred class has only one register
because we might otherwise exhaust the class. */
because we might otherwise exhaust the class. */
if
(
!
win
&&
this_alternative
[
i
]
!=
(
int
)
NO_REGS
if
(
!
win
&&
this_alternative
[
i
]
!=
(
int
)
NO_REGS
#ifdef SMALL_REGISTER_CLASSES
&&
GET_MODE_SIZE
(
operand_mode
[
i
])
<=
UNITS_PER_WORD
#endif
&&
reg_class_size
[(
int
)
preferred_class
[
i
]]
>
1
)
&&
reg_class_size
[(
int
)
preferred_class
[
i
]]
>
1
)
{
{
if
(
!
reg_class_subset_p
(
this_alternative
[
i
],
if
(
!
reg_class_subset_p
(
this_alternative
[
i
],
...
...
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