From: Kazu Hirata Date: Mon, 14 Aug 2000 14:45:30 +0000 (+0000) Subject: invoke.texi (H8/300 Options): Fix typos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c54abce9c79f2f56c6a7c90855e980e267a8014;p=gcc.git invoke.texi (H8/300 Options): Fix typos. * invoke.texi (H8/300 Options): Fix typos. * config/h8300.c: Fix formatting. * config/h8300.h: Fix comment typos. (OVERRIDE_OPTIONS): Fix formatting. From-SVN: r35677 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b668968a4b..62ef21d3818 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2000-08-13 Kazu Hirata + * invoke.texi (H8/300 Options): Fix typos. + * config/h8300.c: Fix formatting. + * config/h8300.h: Fix comment typos. + (OVERRIDE_OPTIONS): Fix formatting. + * function.c: Fix formatting. * cse.c: Fix formatting. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 3e820883082..ec1432a1d8c 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -2825,7 +2825,7 @@ emit_a_rotate (code, operands) insn_buf = rotate_two[rotate_type][rotate_mode]; else insn_buf = rotate_one[cpu_type][rotate_type][rotate_mode]; - + for (; amount >= bits; amount -= bits) output_asm_insn (insn_buf, operands); } @@ -2834,7 +2834,7 @@ emit_a_rotate (code, operands) } /* Fix the operands of a gen_xxx so that it could become a bit - operating insn. */ + operating insn. */ int fix_bit_operand (operands, what, type) diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 17015a13263..707fb5ca6d8 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -22,7 +22,7 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Which cpu to compile for. +/* Which CPU to compile for. We use int for CPU_TYPE to avoid lots of casts. */ #if 0 /* defined in insn-attr.h, here for documentation */ enum attr_cpu { CPU_H8300, CPU_H8300H }; @@ -135,10 +135,12 @@ extern int target_flags; /* Do things that must be done once at start up. */ -#define OVERRIDE_OPTIONS \ -do { \ - h8300_init_once (); \ -} while (0) +#define OVERRIDE_OPTIONS \ + do \ + { \ + h8300_init_once (); \ + } \ + while (0) /* Default target_flags if no switches specified. */ @@ -267,7 +269,7 @@ do { \ Aside from that, you can include as many other registers as you like. - h8 destroys r0,r1,r2,r3. */ + H8 destroys r0,r1,r2,r3. */ #define CALL_USED_REGISTERS \ { 1, 1, 1, 1, 0, 0, 0, 1, 1, 1 } diff --git a/gcc/invoke.texi b/gcc/invoke.texi index 14dd1096b02..d4657a360b0 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -6632,10 +6632,11 @@ Generate code for the H8/S. Make @code{int} data 32 bits by default. @item -malign-300 -On the h8/300h, use the same alignment rules as for the h8/300. -The default for the h8/300h is to align longs and floats on 4 byte boundaries. +On the H8/300H and H8/S, use the same alignment rules as for the H8/300. +The default for the H8/300H and H8/S is to align longs and floats on 4 +byte boundaries. @samp{-malign-300} causes them to be aligned on 2 byte boundaries. -This option has no effect on the h8/300. +This option has no effect on the H8/300. @end table @node SH Options