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
e05a9da8
Commit
e05a9da8
authored
May 02, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(push_reload): Allow non-paradoxical SUBREGs of MEM
on machines that extend byte loads. From-SVN: r4305
parent
a3b75c07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/reload.c
+6
-2
No files found.
gcc/reload.c
View file @
e05a9da8
...
...
@@ -657,11 +657,13 @@ push_reload (in, out, inloc, outloc, class,
in_subreg_loc
=
inloc
;
inloc
=
&
SUBREG_REG
(
in
);
in
=
*
inloc
;
#if ! defined(BYTE_LOADS_ZERO_EXTEND) && ! defined(BYTE_LOADS_SIGN_EXTEND)
if
(
GET_CODE
(
in
)
==
MEM
)
/* This is supposed to happen only for paradoxical subregs made by
combine.c. (SUBREG (MEM)) isn't supposed to occur other ways. */
if
(
GET_MODE_SIZE
(
GET_MODE
(
in
))
>
GET_MODE_SIZE
(
inmode
))
abort
();
#endif
inmode
=
GET_MODE
(
in
);
}
...
...
@@ -699,10 +701,12 @@ push_reload (in, out, inloc, outloc, class,
{
out_subreg_loc
=
outloc
;
outloc
=
&
SUBREG_REG
(
out
);
out
=
*
outloc
;
if
(
GET_CODE
(
out
)
==
MEM
out
=
*
outloc
;
#if ! defined(BYTE_LOADS_ZERO_EXTEND) && ! defined(BYTE_LOADS_SIGN_EXTEND)
if
(
GET_CODE
(
out
)
==
MEM
&&
GET_MODE_SIZE
(
GET_MODE
(
out
))
>
GET_MODE_SIZE
(
outmode
))
abort
();
#endif
outmode
=
GET_MODE
(
out
);
}
...
...
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