URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 282 |
Rev 378 |
Line 323... |
Line 323... |
|
|
/* No data type wants to be aligned rounder than this. */
|
/* No data type wants to be aligned rounder than this. */
|
#define BIGGEST_ALIGNMENT (2 * BITS_PER_WORD)
|
#define BIGGEST_ALIGNMENT (2 * BITS_PER_WORD)
|
|
|
/* Get around hp-ux assembler bug, and make strcpy of constants fast. */
|
/* Get around hp-ux assembler bug, and make strcpy of constants fast. */
|
#define CONSTANT_ALIGNMENT(CODE, TYPEALIGN) \
|
#define CONSTANT_ALIGNMENT(EXP, ALIGN) \
|
((TYPEALIGN) < 32 ? 32 : (TYPEALIGN))
|
(TREE_CODE (EXP) == STRING_CST \
|
|
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
|
|
|
/* Make arrays of chars word-aligned for the same reasons. */
|
/* Make arrays of chars word-aligned for the same reasons. */
|
#define DATA_ALIGNMENT(TYPE, ALIGN) \
|
#define DATA_ALIGNMENT(TYPE, ALIGN) \
|
(TREE_CODE (TYPE) == ARRAY_TYPE \
|
(TREE_CODE (TYPE) == ARRAY_TYPE \
|
&& TYPE_MODE (TREE_TYPE (TYPE)) == QImode \
|
&& TYPE_MODE (TREE_TYPE (TYPE)) == QImode \
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.