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
cabcf079
Commit
cabcf079
authored
Feb 05, 1997
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't always align reload stack slots to BIGGEST_ALIGNMENT
From-SVN: r13609
parent
4757e6a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
gcc/reload1.c
+4
-2
No files found.
gcc/reload1.c
View file @
cabcf079
...
@@ -2465,7 +2465,8 @@ alter_reg (i, from_reg)
...
@@ -2465,7 +2465,8 @@ alter_reg (i, from_reg)
if
(
from_reg
==
-
1
)
if
(
from_reg
==
-
1
)
{
{
/* No known place to spill from => no slot to reuse. */
/* No known place to spill from => no slot to reuse. */
x
=
assign_stack_local
(
GET_MODE
(
regno_reg_rtx
[
i
]),
total_size
,
-
1
);
x
=
assign_stack_local
(
GET_MODE
(
regno_reg_rtx
[
i
]),
total_size
,
inherent_size
==
total_size
?
0
:
-
1
);
if
(
BYTES_BIG_ENDIAN
)
if
(
BYTES_BIG_ENDIAN
)
/* Cancel the big-endian correction done in assign_stack_local.
/* Cancel the big-endian correction done in assign_stack_local.
Get the address of the beginning of the slot.
Get the address of the beginning of the slot.
...
@@ -2497,7 +2498,8 @@ alter_reg (i, from_reg)
...
@@ -2497,7 +2498,8 @@ alter_reg (i, from_reg)
total_size
=
spill_stack_slot_width
[
from_reg
];
total_size
=
spill_stack_slot_width
[
from_reg
];
}
}
/* Make a slot with that size. */
/* Make a slot with that size. */
x
=
assign_stack_local
(
mode
,
total_size
,
-
1
);
x
=
assign_stack_local
(
mode
,
total_size
,
inherent_size
==
total_size
?
0
:
-
1
);
stack_slot
=
x
;
stack_slot
=
x
;
if
(
BYTES_BIG_ENDIAN
)
if
(
BYTES_BIG_ENDIAN
)
{
{
...
...
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