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
05b4ec4f
Commit
05b4ec4f
authored
May 07, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(push_reload): Don't use IN as the reload reg in in-out
reload if it is set elsewhere in the insn. From-SVN: r4382
parent
1e558d35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
gcc/reload.c
+12
-0
No files found.
gcc/reload.c
View file @
05b4ec4f
...
...
@@ -1263,6 +1263,18 @@ push_reload (in, out, inloc, outloc, class,
+
HARD_REGNO_NREGS
(
regno
,
inmode
)),
PATTERN
(
this_insn
),
inloc
)
/* If this is also an output reload, IN cannot be used as
the reload register if it is set in this insn unless IN
is also OUT. */
&&
(
out
==
0
||
in
==
out
||
!
hard_reg_set_here_p
(
regno
,
(
regno
+
HARD_REGNO_NREGS
(
regno
,
inmode
)),
PATTERN
(
this_insn
)))
/* ??? Why is this code so different from the previous?
Is there any simple coherent way to describe the two together?
What's going on here. */
&&
(
in
!=
out
||
(
GET_CODE
(
in
)
==
SUBREG
&&
(((
GET_MODE_SIZE
(
GET_MODE
(
in
))
+
(
UNITS_PER_WORD
-
1
))
...
...
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