aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-01-14 01:31:56 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-01-14 01:31:56 +0000
commit81ad9dedffa81736fb0370607eb98f54b8d5ee90 (patch)
tree1d4b99e84aa449ce25a055c77235fa16e35f9413 /gcc
parent3f0063abae285ac9ded360063ab0e89aea375da9 (diff)
downloadgcc-81ad9dedffa81736fb0370607eb98f54b8d5ee90.zip
gcc-81ad9dedffa81736fb0370607eb98f54b8d5ee90.tar.gz
gcc-81ad9dedffa81736fb0370607eb98f54b8d5ee90.tar.bz2
h8300.c (dosize): Change to h8300_emit_stack_adjustment.
* config/h8300/h8300.c (dosize): Change to h8300_emit_stack_adjustment. Update callers. From-SVN: r75835
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d4a70f1..79c8f22 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
+ * config/h8300/h8300.c (dosize): Change to
+ h8300_emit_stack_adjustment. Update callers.
+
+2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
+
* config/h8300/h8300.md (movstrictqi): Add an alternative with
the source being post_inc. Tighten the predicate for the
destination to register_operand.
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index ed3cc08..020738d 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -52,7 +52,7 @@ static int h8300_interrupt_function_p (tree);
static int h8300_saveall_function_p (tree);
static int h8300_monitor_function_p (tree);
static int h8300_os_task_function_p (tree);
-static void dosize (int, unsigned int);
+static void h8300_emit_stack_adjustment (int, unsigned int);
static int round_frame_size (int);
static unsigned int compute_saved_regs (void);
static void push (int);
@@ -365,7 +365,7 @@ byte_reg (rtx x, int b)
SIZE to adjust the stack pointer. */
static void
-dosize (int sign, unsigned int size)
+h8300_emit_stack_adjustment (int sign, unsigned int size)
{
/* H8/300 cannot add/subtract a large constant with a single
instruction. If a temporary register is available, load the
@@ -506,7 +506,7 @@ h8300_expand_prologue (void)
}
/* Leave room for locals. */
- dosize (-1, round_frame_size (get_frame_size ()));
+ h8300_emit_stack_adjustment (-1, round_frame_size (get_frame_size ()));
/* Push the rest of the registers in ascending order. */
saved_regs = compute_saved_regs ();
@@ -631,7 +631,7 @@ h8300_expand_epilogue (void)
}
/* Deallocate locals. */
- dosize (1, round_frame_size (get_frame_size ()));
+ h8300_emit_stack_adjustment (1, round_frame_size (get_frame_size ()));
/* Pop frame pointer if we had one. */
if (frame_pointer_needed)