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
0be8e859
Commit
0be8e859
authored
Apr 07, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r707
parent
b82fb263
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
gcc/config/sparc/sparc.h
+10
-9
No files found.
gcc/config/sparc/sparc.h
View file @
0be8e859
...
@@ -88,7 +88,11 @@ extern int target_flags;
...
@@ -88,7 +88,11 @@ extern int target_flags;
Like -dalign in Sun cc. */
Like -dalign in Sun cc. */
#define TARGET_HOPE_ALIGN (target_flags & 16)
#define TARGET_HOPE_ALIGN (target_flags & 16)
/* Nonzero means that make sure all doubles are on 8-byte boundaries. */
/* Nonzero means make sure all doubles are on 8-byte boundaries.
This option results in a calling convention that is incompatible with
every other sparc compiler in the world, and thus should only ever be
used for experimenting. Also, varargs won't work with it, but it doesn't
seem worth trying to fix. */
#define TARGET_FORCE_ALIGN (target_flags & 32)
#define TARGET_FORCE_ALIGN (target_flags & 32)
/* Macro to define tables used to set the flags.
/* Macro to define tables used to set the flags.
...
@@ -559,14 +563,11 @@ extern char leaf_reg_backmap[];
...
@@ -559,14 +563,11 @@ extern char leaf_reg_backmap[];
/* Offset of first parameter from the argument pointer register value.
/* Offset of first parameter from the argument pointer register value.
This is 64 for the ins and locals, plus 4 for the struct-return reg
This is 64 for the ins and locals, plus 4 for the struct-return reg
even if this function isn't going to use it. */
even if this function isn't going to use it.
#define FIRST_PARM_OFFSET(FNDECL) (STRUCT_VALUE_OFFSET + UNITS_PER_WORD)
If TARGET_FORCE_ALIGN, we must reserve 4 more bytes to ensure that the
stack remains aligned. */
/* Offset from top-of-stack address to location to store the
#define FIRST_PARM_OFFSET(FNDECL) \
function parameter if it can't go in a register.
(STRUCT_VALUE_OFFSET + UNITS_PER_WORD + (TARGET_FORCE_ALIGN ? 4 : 0))
Addresses for following parameters are computed relative to this one. */
#define FIRST_PARM_CALLER_OFFSET(FNDECL) \
(STRUCT_VALUE_OFFSET + UNITS_PER_WORD - STACK_POINTER_OFFSET)
/* When a parameter is passed in a register, stack space is still
/* When a parameter is passed in a register, stack space is still
allocated for it. */
allocated for it. */
...
...
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