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
978e8952
Commit
978e8952
authored
Mar 31, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(INITIAL_ELIMINATION_OFFSET): Subtract
current_function_pretend_args_size from OFFSET for AP. From-SVN: r3961
parent
2700ac93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
gcc/config/alpha/alpha.h
+8
-3
No files found.
gcc/config/alpha/alpha.h
View file @
978e8952
...
@@ -601,7 +601,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
...
@@ -601,7 +601,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
/* Definitions for register eliminations.
/* Definitions for register eliminations.
We have two registers that can be eliminated on the
i386
. First, the
We have two registers that can be eliminated on the
Alpha
. First, the
frame pointer register can often be eliminated in favor of the stack
frame pointer register can often be eliminated in favor of the stack
pointer register. Secondly, the argument pointer register can always be
pointer register. Secondly, the argument pointer register can always be
eliminated; it is replaced with either the stack or frame pointer. */
eliminated; it is replaced with either the stack or frame pointer. */
...
@@ -630,9 +630,14 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
...
@@ -630,9 +630,14 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
{ if ((FROM) == FRAME_POINTER_REGNUM && (TO) == STACK_POINTER_REGNUM) \
{ if ((FROM) == FRAME_POINTER_REGNUM && (TO) == STACK_POINTER_REGNUM) \
(OFFSET) = 0; \
(OFFSET) = 0; \
else \
else \
(OFFSET) = (get_frame_size () + current_function_outgoing_args_size \
{ \
(OFFSET) = ((get_frame_size () + current_function_outgoing_args_size \
+ current_function_pretend_args_size \
+ current_function_pretend_args_size \
+ alpha_sa_size () + 15) & ~ 15; \
+ alpha_sa_size () + 15) \
& ~ 15); \
if ((FROM) == ARG_POINTER_REGNUM) \
(OFFSET) -= current_function_pretend_args_size; \
} \
}
}
/* Define this if stack space is still allocated for a parameter passed
/* Define this if stack space is still allocated for a parameter passed
...
...
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