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
a72cb8ec
Commit
a72cb8ec
authored
Apr 07, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r705
parent
c0dad767
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
18 deletions
+1
-18
gcc/config/sparc/sparc.c
+0
-14
gcc/config/sparc/sparc.h
+1
-4
No files found.
gcc/config/sparc/sparc.c
View file @
a72cb8ec
...
...
@@ -1825,20 +1825,6 @@ compute_frame_size (size, leaf_function)
return
actual_fsize
;
}
/* If this were a leaf function, how far would we have to reach
from the stack pointer to the last arg on the stack?
If we don't know, return 4096 (i.e., "too far".) */
int
compute_last_arg_offset
()
{
if
(
GET_CODE
(
current_function_arg_offset_rtx
)
==
CONST_INT
)
return
(
compute_frame_size
(
get_frame_size
(),
1
)
+
INTVAL
(
current_function_arg_offset_rtx
));
return
4096
;
}
/* Output code for the function prologue. */
void
...
...
gcc/config/sparc/sparc.h
View file @
a72cb8ec
...
...
@@ -329,12 +329,9 @@ extern int hard_regno_mode_ok[FIRST_PSEUDO_REGISTER];
Used in flow.c, global-alloc.c, and reload1.c. */
extern
int
leaf_function
;
extern
int
compute_last_arg_offset
();
/* Return 0 if span from stack ptr to last stack arg is too far. */
#define FRAME_POINTER_REQUIRED \
(! (leaf_function_p () && only_leaf_regs_used () \
&& compute_last_arg_offset () < 4090))
(! (leaf_function_p () && only_leaf_regs_used ()))
/* C statement to store the difference between the frame pointer
and the stack pointer values immediately after the function prologue.
...
...
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