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
ea8e4ec5
Commit
ea8e4ec5
authored
Apr 14, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_prolog): Changed stack probe at function entry.
From-SVN: r9385
parent
13aa593c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
gcc/config/alpha/alpha.c
+7
-11
No files found.
gcc/config/alpha/alpha.c
View file @
ea8e4ec5
...
...
@@ -1383,19 +1383,15 @@ output_prolog (file, size)
if
(
frame_size
>
4096
)
{
int
probed
=
4096
;
int
regnum
=
2
;
/* $1 is static chain, so start with $2. */
fprintf
(
file
,
"
\t
ldq $%d,-%d($30)
\n
"
,
regnum
++
,
probed
);
fprintf
(
file
,
"
\t
stq $31,-%d($30)
\n
"
,
probed
);
while
(
probed
+
8192
<
frame_size
)
fprintf
(
file
,
"
\t
ldq $%d,-%d($30)
\n
"
,
regnum
++
,
probed
+=
8192
);
fprintf
(
file
,
"
\t
stq $31,-%d($30)
\n
"
,
probed
+=
8192
);
/* We only have to do this probe if we aren't saving registers. */
if
(
sa_size
==
0
&&
probed
+
4096
<
frame_size
)
fprintf
(
file
,
"
\t
ldq $%d,-%d($30)
\n
"
,
regnum
++
,
probed
+=
4096
);
if
(
regnum
>
9
)
abort
();
fprintf
(
file
,
"
\t
stq $31,-%d($30)
\n
"
,
frame_size
);
}
if
(
frame_size
!=
0
)
...
...
@@ -1419,7 +1415,7 @@ output_prolog (file, size)
assemble_name
(
file
,
alpha_function_name
);
fprintf
(
file
,
"..sc:
\n
"
);
fprintf
(
file
,
"
\t
ldq $6
,-8192($4)
\n
"
);
fprintf
(
file
,
"
\t
stq $31
,-8192($4)
\n
"
);
fprintf
(
file
,
"
\t
subq $5,1,$5
\n
"
);
fprintf
(
file
,
"
\t
lda $4,-8192($4)
\n
"
);
...
...
@@ -1427,10 +1423,10 @@ output_prolog (file, size)
assemble_name
(
file
,
alpha_function_name
);
fprintf
(
file
,
"..sc
\n
"
);
fprintf
(
file
,
"
\t
lda $30,-%d($4)
\n
"
,
leftover
);
if
(
leftover
>
4096
&&
sa_size
==
0
)
fprintf
(
file
,
"
\t
ldq $2,%d($30)
\n
"
,
leftover
-
4096
);
fprintf
(
file
,
"
\t
stq $31,-%d($4)
\n
"
,
leftover
);
fprintf
(
file
,
"
\t
lda $30,-%d($4)
\n
"
,
leftover
);
}
/* Describe our frame. */
...
...
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