URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 282 |
Rev 378 |
Line 5556... |
Line 5556... |
|
|
void
|
void
|
function_arg_advance (struct sparc_args *cum, enum machine_mode mode,
|
function_arg_advance (struct sparc_args *cum, enum machine_mode mode,
|
tree type, int named)
|
tree type, int named)
|
{
|
{
|
int slotno, regno, padding;
|
int regno, padding;
|
|
|
/* We pass 0 for incoming_p here, it doesn't matter. */
|
/* We pass 0 for incoming_p here, it doesn't matter. */
|
slotno = function_arg_slotno (cum, mode, type, named, 0, ®no, &padding);
|
function_arg_slotno (cum, mode, type, named, 0, ®no, &padding);
|
|
|
/* If register required leading padding, add it. */
|
/* If argument requires leading padding, add it. */
|
if (slotno != -1)
|
|
cum->words += padding;
|
cum->words += padding;
|
|
|
if (TARGET_ARCH32)
|
if (TARGET_ARCH32)
|
{
|
{
|
cum->words += (mode != BLKmode
|
cum->words += (mode != BLKmode
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.