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
57caa638
Commit
57caa638
authored
Sep 14, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r2119
parent
4cf8de9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
gcc/reload1.c
+13
-6
No files found.
gcc/reload1.c
View file @
57caa638
...
...
@@ -364,13 +364,20 @@ init_reload ()
/* See if reg+reg is a valid (and offsettable) address. */
tem
=
gen_rtx
(
PLUS
,
Pmode
,
gen_rtx
(
REG
,
Pmode
,
FRAME_POINTER_REGNUM
),
gen_rtx
(
REG
,
Pmode
,
FRAME_POINTER_REGNUM
));
/* This way, we make sure that reg+reg is an offsettable address. */
tem
=
plus_constant
(
tem
,
4
);
for
(
i
=
0
;
i
<
FIRST_PSEUDO_REGSTER
;
i
++
)
{
tem
=
gen_rtx
(
PLUS
,
Pmode
,
gen_rtx
(
REG
,
Pmode
,
FRAME_POINTER_REGNUM
),
gen_rtx
(
REG
,
Pmode
,
i
));
/* This way, we make sure that reg+reg is an offsettable address. */
tem
=
plus_constant
(
tem
,
4
);
double_reg_address_ok
=
memory_address_p
(
QImode
,
tem
);
if
(
memory_address_p
(
QImode
,
tem
))
{
double_reg_address_ok
=
1
;
break
;
}
}
/* Initialize obstack for our rtl allocation. */
gcc_obstack_init
(
&
reload_obstack
);
...
...
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