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
d9a4ee00
Commit
d9a4ee00
authored
Dec 24, 1997
by
Jeffrey A Law
Committed by
Jeff Law
Dec 24, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expr.h (MUST_PASS_IN_STACK): Allow target port to override.
From-SVN: r17230
parent
04bd620d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
gcc/ChangeLog
+4
-0
gcc/expr.h
+2
-0
gcc/tm.texi
+7
-0
No files found.
gcc/ChangeLog
View file @
d9a4ee00
Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
* expr.h (MUST_PASS_IN_STACK): Allow target port to override.
Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
* abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
...
...
gcc/expr.h
View file @
d9a4ee00
...
...
@@ -216,6 +216,7 @@ 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.
For a little-endian machine, the reverse is true. */
#ifndef MUST_PASS_IN_STACK
#define MUST_PASS_IN_STACK(MODE,TYPE) \
((TYPE) != 0 \
&& (TREE_CODE (TYPE_SIZE (TYPE)) != INTEGER_CST \
...
...
@@ -226,6 +227,7 @@ enum direction {none, upward, downward}; /* Value has this type. */
% (PARM_BOUNDARY / BITS_PER_UNIT))) \
&& (FUNCTION_ARG_PADDING (MODE, TYPE) \
== (BYTES_BIG_ENDIAN ? upward : downward)))))
#endif
/* Nonzero if type TYPE should be returned in memory.
Most machines can use the following default definition. */
...
...
gcc/tm.texi
View file @
d9a4ee00
...
...
@@ -2696,6 +2696,13 @@ argument, the compiler will abort. If @code{REG_PARM_STACK_SPACE} is
defined
,
the
argument
will
be
computed
in
the
stack
and
then
loaded
into
a
register
.
@findex
MUST_PASS_IN_STACK
@item
MUST_PASS_IN_STACK
(
@var{
mode
}
,
@var{
type
}
)
Define
as
a
C
expression
that
evaluates
to
nonzero
if
we
do
not
know
how
to
pass
TYPE
solely
in
registers
.
The
file
@file{
expr
.
h
}
defines
a
definition
that
is
usually
appropriate
,
refer
to
@file{
expr
.
h
}
for
additional
documentation
.
@findex
FUNCTION_INCOMING_ARG
@item
FUNCTION_INCOMING_ARG
(
@var{
cum
}
,
@var{
mode
}
,
@var{
type
}
,
@var{
named
}
)
Define
this
macro
if
the
target
machine
has
``
register
windows
''
,
so
...
...
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