From f411c849f0c36e909d82823c517fd6c6c9a457e2 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 26 Dec 2002 21:11:34 +0000 Subject: [PATCH] h8300-protos.h: Fix comment typos. * config/h8300/h8300-protos.h: Fix comment typos. Update copyright. * config/h8300/h8300.c: Fix comment typos. From-SVN: r60527 --- gcc/ChangeLog | 6 ++++++ gcc/config/h8300/h8300-protos.h | 2 +- gcc/config/h8300/h8300.c | 10 +++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81ad426229f..c5c66b518e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-12-26 Kazu Hirata + + * config/h8300/h8300-protos.h: Fix comment typos. + Update copyright. + * config/h8300/h8300.c: Fix comment typos. + 2002-12-26 Kazu Hirata * config/h8300/h8300.h (IDENT_ASM_OP): End with a tab. diff --git a/gcc/config/h8300/h8300-protos.h b/gcc/config/h8300/h8300-protos.h index 990fff7b0eb..9f52ea50673 100644 --- a/gcc/config/h8300/h8300-protos.h +++ b/gcc/config/h8300/h8300-protos.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. Hitachi H8/300 version generating coff - Copyright (C) 2000 Free SoftwareFoundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. Contributed by Steve Chamberlain (sac@cygnus.com), Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com). diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index deb64d048ae..b32f9c3e440 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -153,7 +153,7 @@ enum shift_type /* The shift algorithms for each machine, mode, shift type, and shift count are defined below. The three tables below correspond to QImode, HImode, and SImode, respectively. Each table is organized - by, in the order of indecies, machine, shift type, and shift count. */ + by, in the order of indices, machine, shift type, and shift count. */ static enum shift_alg shift_alg_qi[3][3][8] = { { @@ -1032,7 +1032,7 @@ bit_operand (op, mode) rtx op; enum machine_mode mode; { - /* We can except any general operand, expept that MEM operands must + /* We can accept any general operand, except that MEM operands must be limited to those that use addresses valid for the 'U' constraint. */ if (!general_operand (op, mode)) return 0; @@ -1067,7 +1067,7 @@ bit_memory_operand (op, mode) /* Handle machine specific pragmas for compatibility with existing compilers for the H8/300. - pragma saveall generates prolog/epilog code which saves and + pragma saveall generates prologue/epilogue code which saves and restores all the registers on function entry. pragma interrupt saves and restores all registers, and exits with @@ -2384,7 +2384,7 @@ compute_logical_op_cc (mode, operands) simulate a shift by 8, 16, or 24 bits. Once moved, a few inline shifts can be added if the shift count is slightly more than 8 or 16. This case also includes other oddballs that are not worth - explaning here. + explaining here. o SHIFT_LOOP: Emit a loop using one (or two on H8S) bit shifts. @@ -4143,7 +4143,7 @@ h8300_adjust_insn_length (insn, length) states += 6; } - /* We use 2-bit rotatations on the H8S. */ + /* We use 2-bit rotations on the H8S. */ if (TARGET_H8300S) amount = amount / 2 + amount % 2;