diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-16 15:22:54 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-16 15:22:54 +0000 |
commit | 0c2ca901f1ef2bcfe5587f805a964f059aeae5c2 (patch) | |
tree | f8e81047d10b31f470e8f472b939d397d04f03c3 /gcc | |
parent | fc5553705286d244d9cb6b6447ddb93d0ed6e5fa (diff) | |
download | gcc-0c2ca901f1ef2bcfe5587f805a964f059aeae5c2.zip gcc-0c2ca901f1ef2bcfe5587f805a964f059aeae5c2.tar.gz gcc-0c2ca901f1ef2bcfe5587f805a964f059aeae5c2.tar.bz2 |
arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
* arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
* arm.h (ROUND_UP_WORD): Likewise.
From-SVN: r61390
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 10 | ||||
-rw-r--r-- | gcc/config/arm/arm.h | 4 |
3 files changed, 10 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c31014b..5540759 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP. + * arm.h (ROUND_UP_WORD): Likewise. + * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned warning. * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos, diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 04cdec7..9f65028 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -7513,7 +7513,7 @@ arm_poke_function_name (stream, name) rtx x; length = strlen (name) + 1; - alignlength = ROUND_UP (length); + alignlength = ROUND_UP_WORD (length); ASM_OUTPUT_ASCII (stream, name, length); ASM_OUTPUT_ALIGN (stream, 2); @@ -8260,7 +8260,7 @@ arm_get_frame_size () { int regno; - int base_size = ROUND_UP (get_frame_size ()); + int base_size = ROUND_UP_WORD (get_frame_size ()); int entry_size = 0; unsigned long func_type = arm_current_func_type (); int leaf; @@ -10314,7 +10314,7 @@ thumb_get_frame_size () { int regno; - int base_size = ROUND_UP (get_frame_size ()); + int base_size = ROUND_UP_WORD (get_frame_size ()); int count_regs = 0; int entry_size = 0; int leaf; @@ -10421,7 +10421,7 @@ thumb_expand_prologue () if (amount) { - amount = ROUND_UP (amount); + amount = ROUND_UP_WORD (amount); if (amount < 512) emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx, @@ -10506,7 +10506,7 @@ thumb_expand_epilogue () emit_insn (gen_movsi (stack_pointer_rtx, hard_frame_pointer_rtx)); else if (amount) { - amount = ROUND_UP (amount); + amount = ROUND_UP_WORD (amount); if (amount < 512) emit_insn (gen_addsi3 (stack_pointer_rtx, stack_pointer_rtx, diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 7349449..48292a4 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -851,7 +851,7 @@ extern const char * structure_size_string; break; /* Round X up to the nearest word. */ -#define ROUND_UP(X) (((X) + 3) & ~3) +#define ROUND_UP_WORD(X) (((X) + 3) & ~3) /* Convert fron bytes to ints. */ #define ARM_NUM_INTS(X) (((X) + UNITS_PER_WORD - 1) / UNITS_PER_WORD) @@ -1321,7 +1321,7 @@ enum reg_class this says how many the stack pointer really advances by. */ /* The push insns do not do this rounding implicitly. So don't define this. */ -/* #define PUSH_ROUNDING(NPUSHED) ROUND_UP (NPUSHED) */ +/* #define PUSH_ROUNDING(NPUSHED) ROUND_UP_WORD (NPUSHED) */ /* Define this if the maximum size of all the outgoing args is to be accumulated and pushed during the prologue. The amount can be |