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
This commit is contained in:
parent
fc55537052
commit
0c2ca901f1
3 changed files with 10 additions and 7 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue