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
5f9dc214
Commit
5f9dc214
authored
Jun 28, 2002
by
Bob Wilson
Committed by
Bob Wilson
Jun 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
From-SVN: r55066
parent
53501a19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/ChangeLog
+4
-0
gcc/config/xtensa/xtensa.h
+7
-7
No files found.
gcc/ChangeLog
View file @
5f9dc214
2002-06-28 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.h (RETURN_IN_MEMORY): Update comment.
2001-06-08 Bernd Schmidt <bernds@redhat.com>
* emit-rtl.c (gen_lowpart_common): Don't create paradoxical FLOAT_MODE
...
...
gcc/config/xtensa/xtensa.h
View file @
5f9dc214
...
...
@@ -796,13 +796,13 @@ extern enum reg_class xtensa_char_to_class[256];
/* Don't worry about compatibility with PCC. */
#define DEFAULT_PCC_STRUCT_RETURN 0
/* For Xtensa,
we would like to be able to return up to 6 words in
memory but GCC cannot support that. The return value must be given
one of the standard MODE_INT modes, and there is no 6 word mode.
Instead, if we try to return a 6 word structure, GCC selects the
next biggest mode (OImode, 8 words) and then the register allocator
fails because there is no 8-register group beginning with a10. So
we have to fall back on the next largest size which is 4 words...
*/
/* For Xtensa,
up to 4 words can be returned in registers. (It would
have been nice to allow up to 6 words in registers but GCC cannot
support that. The return value must be given one of the standard
MODE_INT modes, and there is no 6 word mode. Instead, if we try to
return a 6 word structure, GCC selects the next biggest mode
(OImode, 8 words) and then the register allocator fails because
there is no 8-register group beginning with a10.)
*/
#define RETURN_IN_MEMORY(TYPE) \
((unsigned HOST_WIDE_INT) int_size_in_bytes (TYPE) > 4 * UNITS_PER_WORD)
...
...
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