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
bb64c987
Commit
bb64c987
authored
Mar 22, 1993
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* (MUST_PASS_IN_STACK): Make machine parameter.
From-SVN: r3831
parent
0fcad513
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/expr.h
+6
-0
No files found.
gcc/expr.h
View file @
bb64c987
...
@@ -211,6 +211,11 @@ enum direction {none, upward, downward}; /* Value has this type. */
...
@@ -211,6 +211,11 @@ enum direction {none, upward, downward}; /* Value has this type. */
So a value padded in memory at the upper end can't go in a register.
So a value padded in memory at the upper end can't go in a register.
For a little-endian machine, the reverse is true. */
For a little-endian machine, the reverse is true. */
/* ??? Perhaps later rename this to FUNCTION_ARG_MUST_PASS_IN_STACK?
(although it is a little long). */
#ifndef MUST_PASS_IN_STACK
#if BYTES_BIG_ENDIAN
#if BYTES_BIG_ENDIAN
#define MUST_PASS_IN_STACK_BAD_PADDING upward
#define MUST_PASS_IN_STACK_BAD_PADDING upward
#else
#else
...
@@ -224,6 +229,7 @@ enum direction {none, upward, downward}; /* Value has this type. */
...
@@ -224,6 +229,7 @@ enum direction {none, upward, downward}; /* Value has this type. */
|| ((MODE) == BLKmode \
|| ((MODE) == BLKmode \
&& (FUNCTION_ARG_PADDING (MODE, TYPE) \
&& (FUNCTION_ARG_PADDING (MODE, TYPE) \
== MUST_PASS_IN_STACK_BAD_PADDING))))
== MUST_PASS_IN_STACK_BAD_PADDING))))
#endif
/* Nonzero if type TYPE should be returned in memory.
/* Nonzero if type TYPE should be returned in memory.
Most machines can use the following default definition. */
Most machines can use the following default definition. */
...
...
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