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
adab4fc5
Commit
adab4fc5
authored
Jun 28, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(reloads_conflict): Handle R1_TYPE of RELOAD_OTHER.
From-SVN: r7581
parent
2f6e6d22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/reload1.c
+5
-4
No files found.
gcc/reload1.c
View file @
adab4fc5
...
@@ -4509,11 +4509,9 @@ reloads_conflict (r1, r2)
...
@@ -4509,11 +4509,9 @@ reloads_conflict (r1, r2)
int
r1_opnum
=
reload_opnum
[
r1
];
int
r1_opnum
=
reload_opnum
[
r1
];
int
r2_opnum
=
reload_opnum
[
r2
];
int
r2_opnum
=
reload_opnum
[
r2
];
/* RELOAD_OTHER conflicts with everything except
/* RELOAD_OTHER conflicts with everything except RELOAD_FOR_OTHER_ADDRESS. */
RELOAD_FOR_OTHER_ADDRESS. */
if
((
r1_type
==
RELOAD_OTHER
&&
r2_type
!=
RELOAD_FOR_OTHER_ADDRESS
)
if
(
r2_type
==
RELOAD_OTHER
&&
r1_type
!=
RELOAD_FOR_OTHER_ADDRESS
)
||
(
r2_type
==
RELOAD_OTHER
&&
r1_type
!=
RELOAD_FOR_OTHER_ADDRESS
))
return
1
;
return
1
;
/* Otherwise, check conflicts differently for each type. */
/* Otherwise, check conflicts differently for each type. */
...
@@ -4556,6 +4554,9 @@ reloads_conflict (r1, r2)
...
@@ -4556,6 +4554,9 @@ reloads_conflict (r1, r2)
case
RELOAD_FOR_OTHER_ADDRESS
:
case
RELOAD_FOR_OTHER_ADDRESS
:
return
r2_type
==
RELOAD_FOR_OTHER_ADDRESS
;
return
r2_type
==
RELOAD_FOR_OTHER_ADDRESS
;
case
RELOAD_OTHER
:
return
r2_type
!=
RELOAD_FOR_OTHER_ADDRESS
;
default
:
default
:
abort
();
abort
();
}
}
...
...
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