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
b8f4c738
Commit
b8f4c738
authored
Mar 25, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reload): Fix error in last change; only check against group reloads
and check all reloads. From-SVN: r6866
parent
1554cdf5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
gcc/reload1.c
+12
-3
No files found.
gcc/reload1.c
View file @
b8f4c738
...
@@ -1149,12 +1149,21 @@ reload (first, global, dumpfile)
...
@@ -1149,12 +1149,21 @@ reload (first, global, dumpfile)
size
=
CLASS_MAX_NREGS
(
class
,
mode
);
size
=
CLASS_MAX_NREGS
(
class
,
mode
);
/* If this class doesn't want a group determine if
/* If this class doesn't want a group determine if
we have a nongroup need or a regular need. */
we have a nongroup need or a regular need. We have
a nongroup need if this reload conflicts with a
group reload whose class intersects with this reload's
class. */
nongroup_need
=
0
;
nongroup_need
=
0
;
if
(
size
==
1
)
if
(
size
==
1
)
for
(
j
=
i
+
1
;
j
<
n_reloads
;
j
++
)
for
(
j
=
0
;
j
<
n_reloads
;
j
++
)
if
(
reloads_conflict
(
i
,
j
)
if
((
CLASS_MAX_NREGS
(
reload_reg_class
[
j
],
(
GET_MODE_SIZE
(
reload_outmode
[
i
])
>
GET_MODE_SIZE
(
reload_inmode
[
i
]))
?
reload_outmode
[
i
]
:
reload_inmode
[
i
])
>
1
)
&&
reloads_conflict
(
i
,
j
)
&&
reg_classes_intersect_p
(
class
,
&&
reg_classes_intersect_p
(
class
,
reload_reg_class
[
j
]))
reload_reg_class
[
j
]))
{
{
...
...
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