URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 522 |
Rev 548 |
Line 704... |
Line 704... |
#define OR32_ROUND_ADVANCE_ARG(mode, type) \
|
#define OR32_ROUND_ADVANCE_ARG(mode, type) \
|
((mode) == BLKmode \
|
((mode) == BLKmode \
|
? OR32_ROUND_ADVANCE (int_size_in_bytes (type)) \
|
? OR32_ROUND_ADVANCE (int_size_in_bytes (type)) \
|
: OR32_ROUND_ADVANCE (GET_MODE_SIZE (mode)))
|
: OR32_ROUND_ADVANCE (GET_MODE_SIZE (mode)))
|
|
|
/* Round "cum" up to the necessary point for argument "mode"/"type". This is
|
/* The ABI says that no rounding to even or odd words takes place. */
|
either rounded to nearest reg or nearest double-reg boundary */
|
#define OR32_ROUND_ADVANCE_CUM(cum, mode, type) (cum)
|
#define OR32_ROUND_ADVANCE_CUM(cum, mode, type) \
|
|
((((mode) == BLKmode ? TYPE_ALIGN (type) : GET_MODE_BITSIZE (mode)) \
|
|
> BITS_PER_WORD) \
|
|
? (((cum) + 1) & ~1) \
|
|
: (cum))
|
|
|
|
/* Update the data in "cum" to advance over an argument of mode "mode" and
|
/* Update the data in "cum" to advance over an argument of mode "mode" and
|
data type "type". ("type" is null for libcalls where that information may
|
data type "type". ("type" is null for libcalls where that information may
|
not be available.) */
|
not be available.) */
|
#define FUNCTION_ARG_ADVANCE(cum, mode, type, named) \
|
#define FUNCTION_ARG_ADVANCE(cum, mode, type, named) \
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.