From 59b9a953b6338358d0346c91b43095875da7eede Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 4 Feb 2004 19:46:25 +0000 Subject: [PATCH] alpha.c, [...]: Fix comment typos. * config/alpha/alpha.c, config/arc/arc.c, config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c, config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md, config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, config/ia64/ia64.c, config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c, config/vax/vax.c: Fix comment typos. Follow spelling conventions. From-SVN: r77267 --- gcc/ChangeLog | 17 +++++++++++++++++ gcc/config/alpha/alpha.c | 14 +++++++------- gcc/config/arc/arc.c | 2 +- gcc/config/arm/arm-cores.def | 2 +- gcc/config/arm/arm.c | 16 ++++++++-------- gcc/config/arm/arm.h | 6 +++--- gcc/config/arm/arm1026ejs.md | 6 +++--- gcc/config/arm/arm1136jfs.md | 4 ++-- gcc/config/arm/arm926ejs.md | 2 +- gcc/config/arm/vfp.md | 14 +++++++------- gcc/config/avr/avr.c | 2 +- gcc/config/c4x/c4x.c | 4 ++-- gcc/config/cris/cris.c | 4 ++-- gcc/config/frv/frv.md | 10 +++++----- gcc/config/i386/i386.c | 30 +++++++++++++++--------------- gcc/config/i386/i386.h | 2 +- gcc/config/i386/i386.md | 4 ++-- gcc/config/ia64/ia64.c | 6 +++--- gcc/config/ia64/unwind-ia64.c | 2 +- gcc/config/iq2000/iq2000.c | 2 +- gcc/config/m32r/m32r.c | 2 +- gcc/config/mips/mips.c | 2 +- gcc/config/mmix/mmix.c | 2 +- gcc/config/mmix/mmix.h | 2 +- gcc/config/ns32k/ns32k.c | 2 +- gcc/config/pa/pa.c | 2 +- gcc/config/pdp11/pdp11.c | 2 +- gcc/config/rs6000/darwin-ldouble.c | 2 +- gcc/config/rs6000/rs6000.c | 4 ++-- gcc/config/rs6000/rs6000.h | 2 +- gcc/config/sparc/sparc.c | 2 +- gcc/config/vax/vax.c | 2 +- 32 files changed, 96 insertions(+), 79 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd478472396..e118bc46880 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2004-02-04 Kazu Hirata + + * config/alpha/alpha.c, config/arc/arc.c, + config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, + config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, + config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c, + config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md, + config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, + config/ia64/ia64.c, config/ia64/unwind-ia64.c, + config/iq2000/iq2000.c, config/m32r/m32r.c, + config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, + config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, + config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, + config/rs6000/rs6000.h, config/sparc/sparc.c, + config/vax/vax.c: Fix comment typos. Follow spelling + conventions. + 2004-02-04 Kazu Hirata * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h, diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index b1eb7f69b4f..10dbb7528cd 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -2112,7 +2112,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total) *total = 0; return true; } - /* FALLTHRU */ + /* Fall through. */ case CONST_DOUBLE: if (x == CONST0_RTX (mode)) @@ -2170,7 +2170,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total) *total = COSTS_N_INSNS (1); return false; } - /* FALLTHRU */ + /* Fall through. */ case ASHIFTRT: case LSHIFTRT: @@ -2206,7 +2206,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total) *total = COSTS_N_INSNS (1); return false; } - /* FALLTHRU */ + /* Fall through. */ case ABS: if (! float_mode_p) @@ -2214,7 +2214,7 @@ alpha_rtx_costs (rtx x, int code, int outer_code, int *total) *total = COSTS_N_INSNS (1) + alpha_rtx_cost_data[alpha_cpu].int_cmov; return false; } - /* FALLTHRU */ + /* Fall through. */ case FLOAT: case UNSIGNED_FLOAT: @@ -3275,7 +3275,7 @@ alpha_emit_setcc (enum rtx_code code) case NE: if (!fp_p && op1 == const0_rtx) break; - /* FALLTHRU */ + /* Fall through. */ case ORDERED: cmp_code = reverse_condition (code); @@ -3708,7 +3708,7 @@ alpha_emit_xfloating_libcall (const char *func, rtx target, rtx operands[], case VOIDmode: if (GET_CODE (operands[i]) != CONST_INT) abort (); - /* FALLTHRU */ + /* Fall through. */ case DImode: reg = gen_rtx_REG (DImode, regno); regno += 1; @@ -6081,7 +6081,7 @@ function_value (tree valtype, tree func ATTRIBUTE_UNUSED, case MODE_INT: /* Do the same thing as PROMOTE_MODE. */ mode = DImode; - /* FALLTHRU */ + /* Fall through. */ case MODE_COMPLEX_INT: case MODE_VECTOR_INT: diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index e8e40199177..4ac3e2a72d2 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -834,7 +834,7 @@ arc_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total) *total = 0; return true; } - /* FALLTHRU */ + /* Fall through. */ case CONST: case LABEL_REF: diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def index 038773c2b53..774ba6f10f2 100644 --- a/gcc/config/arm/arm-cores.def +++ b/gcc/config/arm/arm-cores.def @@ -27,7 +27,7 @@ rather than a string constant. The FLAGS are the bitwise-or of the traits that apply to that core. - If you update this table, you must update the "tune" attribue in + If you update this table, you must update the "tune" attribute in arm.md. */ ARM_CORE(arm2, FL_CO_PROC | FL_MODE26, slowmul) diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 650c74ddb76..12255d8710a 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3596,7 +3596,7 @@ arm_rtx_costs_1 (rtx x, enum rtx_code code, enum rtx_code outer) } } -/* RTX costs for cores with a slow MUL implimentation. */ +/* RTX costs for cores with a slow MUL implementation. */ static bool arm_slowmul_rtx_costs (rtx x, int code, int outer_code, int *total) @@ -4424,7 +4424,7 @@ vfp_mem_operand (rtx op) || reg_mentioned_p (virtual_stack_vars_rtx, op))) return FALSE; - /* Constants are converted into offets from labels. */ + /* Constants are converted into offsets from labels. */ if (GET_CODE (op) == MEM) { rtx ind; @@ -9186,7 +9186,7 @@ arm_output_epilogue (rtx sibling) not have base+offset addressing modes, so we use IP to hold the address. Each block requires nregs*2+1 words. */ start_reg = FIRST_VFP_REGNUM; - /* Cound how many blocks of registers need saving. */ + /* Count how many blocks of registers need saving. */ for (reg = FIRST_VFP_REGNUM; reg < LAST_VFP_REGNUM; reg += 2) { if ((!regs_ever_live[reg] || call_used_regs[reg]) @@ -12449,7 +12449,7 @@ thumb_exit (FILE *f, int reg_containing_return_addr, rtx eh_ofs) /* Emit code to push or pop registers to or from the stack. F is the assembly file. MASK is the registers to push or pop. PUSH is - non-zero if we should push, and zero if we should pop. For debugging + nonzero if we should push, and zero if we should pop. For debugging output, if pushing, adjust CFA_OFFSET by the amount of space added to the stack. REAL_REGS should have the same number of bits set as MASK, and will be used instead (in the same order) to describe which @@ -14132,7 +14132,7 @@ arm_setup_incoming_varargs (CUMULATIVE_ARGS *cum, *pretend_size = (NUM_ARG_REGS - cum->nregs) * UNITS_PER_WORD; } -/* Return non-zero if the CONSUMER instruction (a store) does not need +/* Return nonzero if the CONSUMER instruction (a store) does not need PRODUCER's value to calculate the address. */ int @@ -14155,7 +14155,7 @@ arm_no_early_store_addr_dep (rtx producer, rtx consumer) return !reg_overlap_mentioned_p (value, addr); } -/* Return non-zero if the CONSUMER instruction (an ALU op) does not +/* Return nonzero if the CONSUMER instruction (an ALU op) does not have an early register shift value or amount dependency on the result of PRODUCER. */ @@ -14187,7 +14187,7 @@ arm_no_early_alu_shift_dep (rtx producer, rtx consumer) return !reg_overlap_mentioned_p (value, early_op); } -/* Return non-zero if the CONSUMER instruction (an ALU op) does not +/* Return nonzero if the CONSUMER instruction (an ALU op) does not have an early register shift value dependency on the result of PRODUCER. */ @@ -14220,7 +14220,7 @@ arm_no_early_alu_shift_value_dep (rtx producer, rtx consumer) return !reg_overlap_mentioned_p (value, early_op); } -/* Return non-zero if the CONSUMER (a mul or mac op) does not +/* Return nonzero if the CONSUMER (a mul or mac op) does not have an early register mult dependency on the result of PRODUCER. */ diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 7b6a79cd1b5..2199ee7c5a3 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -136,7 +136,7 @@ extern GTY(()) rtx arm_target_insn; extern int target_flags; /* The floating point mode. */ extern const char *target_fpu_name; -/* For backwards compatability. */ +/* For backwards compatibility. */ extern const char *target_fpe_name; /* Whether to use floating point hardware. */ extern const char *target_float_abi_name; @@ -672,7 +672,7 @@ extern enum float_abi_type arm_float_abi; /* Default floating point architecture. Override in sub-target if necessary. - FIXME: Is this still neccessary/desirable? Do we want VFP chips to + FIXME: Is this still necessary/desirable? Do we want VFP chips to default to VFP unless overridden by a subtarget? If so it would be best to remove these definitions. It also assumes there is only one cpu model with a Maverick fpu. */ @@ -1379,7 +1379,7 @@ enum reg_class #define REGNO_REG_CLASS(REGNO) arm_regno_class (REGNO) /* FPA registers can't do subreg as all values are reformatted to internal - precision. VFP registers may only be accesed in the mode they + precision. VFP registers may only be accessed in the mode they were set. */ #define CANNOT_CHANGE_MODE_CLASS(FROM, TO, CLASS) \ (GET_MODE_SIZE (FROM) != GET_MODE_SIZE (TO) \ diff --git a/gcc/config/arm/arm1026ejs.md b/gcc/config/arm/arm1026ejs.md index 5dd433269ac..77f8fde2ccf 100644 --- a/gcc/config/arm/arm1026ejs.md +++ b/gcc/config/arm/arm1026ejs.md @@ -141,7 +141,7 @@ ;; The "umulls", "umlals", "smulls", and "smlals" instructions loop in ;; the execute stage for five iterations in order to set the flags. -;; The value result is vailable after four iterations. +;; The value result is available after four iterations. (define_insn_reservation "mult6" 4 (and (eq_attr "tune" "arm1026ejs") (eq_attr "insn" "umulls,umlals,smulls,smlals")) @@ -185,7 +185,7 @@ ;; base address is 64-bit aligned; if it is not, an additional cycle ;; is required. This model assumes that the address is always 64-bit ;; aligned. Because the processor can load two registers per cycle, -;; that assumption means that we use the same instruction rservations +;; that assumption means that we use the same instruction reservations ;; for loading 2k and 2k - 1 registers. ;; ;; The ALU pipeline is stalled until the completion of the last memory @@ -233,7 +233,7 @@ "nothing") ;; The latency for a call is not predictable. Therefore, we use 32 as -;; roughly equivalent to postive infinity. +;; roughly equivalent to positive infinity. (define_insn_reservation "call_op" 32 (and (eq_attr "tune" "arm1026ejs") diff --git a/gcc/config/arm/arm1136jfs.md b/gcc/config/arm/arm1136jfs.md index acfce1b5681..2c0638c0524 100644 --- a/gcc/config/arm/arm1136jfs.md +++ b/gcc/config/arm/arm1136jfs.md @@ -56,7 +56,7 @@ ;; ;; - A 4-stage LSU pipeline. It has address generation, data cache (1), ;; data cache (2), and writeback stages. (Note that this pipeline, -;; including the writeback stage, is independant from the ALU & LSU pipes.) +;; including the writeback stage, is independent from the ALU & LSU pipes.) (define_cpu_unit "e_1,e_2,e_3,e_wb" "arm1136jfs") ; ALU and MAC ; e_1 = Sh/Mac1, e_2 = ALU/Mac2, e_3 = SAT/Mac3 @@ -336,7 +336,7 @@ "arm_no_early_store_addr_dep") ;; An alu op can start sooner after a load, if that alu op does not -;; have an early register dependancy on the load +;; have an early register dependency on the load (define_bypass 2 "11_load1" "11_alu_op") (define_bypass 2 "11_load1" diff --git a/gcc/config/arm/arm926ejs.md b/gcc/config/arm/arm926ejs.md index e8ba17cf551..258495b7f06 100644 --- a/gcc/config/arm/arm926ejs.md +++ b/gcc/config/arm/arm926ejs.md @@ -180,7 +180,7 @@ "nothing") ;; The latency for a call is not predictable. Therefore, we use 32 as -;; roughly equivalent to postive infinity. +;; roughly equivalent to positive infinity. (define_insn_reservation "9_call_op" 32 (and (eq_attr "tune" "arm926ejs") diff --git a/gcc/config/arm/vfp.md b/gcc/config/arm/vfp.md index a4b6bfb334d..5ae6c41f75a 100644 --- a/gcc/config/arm/vfp.md +++ b/gcc/config/arm/vfp.md @@ -42,10 +42,10 @@ ;; second memory stage for loads. ;; We do not model Write-After-Read hazards. -;; We do not do write scheduling with the arm core, so it is only neccessary -;; to model the first stage of each pieline +;; We do not do write scheduling with the arm core, so it is only necessary +;; to model the first stage of each pipeline ;; ??? Need to model LS pipeline properly for load/store multiple? -;; We do not model fmstat properly. This could be done by modeiling pipelines +;; We do not model fmstat properly. This could be done by modeling pipelines ;; properly and defining an absence set between a dummy fmstat unit and all ;; other vfp units. @@ -58,7 +58,7 @@ ;; The VFP "type" attributes differ from those used in the FPA model. ;; ffarith Fast floating point insns, eg. abs, neg, cpy, cmp. ;; farith Most arithmetic insns. -;; fmul Double preision multiply. +;; fmul Double precision multiply. ;; fdivs Single precision sqrt or division. ;; fdivd Double precision sqrt or division. ;; f_load Floating point load from memory. @@ -104,12 +104,12 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Insn pattersn +;; Insn pattern ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SImode moves ;; ??? For now do not allow loading constants into vfp regs. This causes -;; problems because small sonstants get converted into adds. +;; problems because small constants get converted into adds. (define_insn "*arm_movsi_vfp" [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r ,m,!w,r,!w,!w, U") (match_operand:SI 1 "general_operand" "rI,K,mi,r,r,!w,!w,Ui,!w"))] @@ -738,7 +738,7 @@ ;; fldm* ;; fstm* ;; fmdhr et al (VFPv1) -;; Support for xD (single precisio only) variants. +;; Support for xD (single precision only) variants. ;; fmrrs, fmsrr ;; fuito* ;; ftoui* diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 331f7cdfa64..716667a2ae2 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -4825,7 +4825,7 @@ avr_rtx_costs (rtx x, int code, int outer_code, int *total) *total = 2; return true; } - /* FALLTHRU */ + /* Fall through. */ case CONST: case LABEL_REF: diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index 0d06a12a9fd..7892047c68f 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -3475,7 +3475,7 @@ c4x_S_address_parse (rtx op, int *base, int *incdec, int *index, int *disp) return; } } - /* Fallthrough. */ + /* Fall through. */ default: fatal_insn ("invalid indirect (S) memory address", op); @@ -3992,7 +3992,7 @@ legitimize_operands (enum rtx_code code, rtx *operands, enum machine_mode mode) /* When the shift count is greater than 32 then the result can be implementation dependent. We truncate the result to fit in 5 bits so that we do not emit invalid code when - optimising---such as trying to generate lhu2 with 20021124-1.c. */ + optimizing---such as trying to generate lhu2 with 20021124-1.c. */ if (((code == ASHIFTRT || code == LSHIFTRT || code == ASHIFT) && (GET_CODE (operands[2]) == CONST_INT)) && INTVAL (operands[2]) > (GET_MODE_BITSIZE (mode) - 1)) diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 1d5f1681534..84f27ebd19f 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -1308,7 +1308,7 @@ cris_print_operand (FILE *file, rtx x, int code) switch (code) { case 'b': - /* Print the unsigned supplied integer as if it was signed + /* Print the unsigned supplied integer as if it were signed and < 0, i.e print 255 or 65535 as -1, 254, 65534 as -2, etc. */ if (GET_CODE (x) != CONST_INT || ! CONST_OK_FOR_LETTER_P (INTVAL (x), 'O')) @@ -1734,7 +1734,7 @@ cris_initial_elimination_offset (int fromreg, int toreg) = regs_ever_live[CRIS_SRP_REGNUM] || cfun->machine->needs_return_address_on_stack != 0; - /* Here we act as if the frame-pointer is needed. */ + /* Here we act as if the frame-pointer were needed. */ int ap_fp_offset = 4 + (return_address_on_stack ? 4 : 0); if (fromreg == ARG_POINTER_REGNUM diff --git a/gcc/config/frv/frv.md b/gcc/config/frv/frv.md index e3c9520a1ee..a5fae615ecc 100644 --- a/gcc/config/frv/frv.md +++ b/gcc/config/frv/frv.md @@ -309,8 +309,8 @@ ;; Type: the name of the define_attr type ;; Conditions: "yes" if conditional variants are available -;; FR500: Fujitsu's categorisation for the FR500 -;; FR400: Fujitsu's categorisation for the FR400 (but see below). +;; FR500: Fujitsu's categorization for the FR500 +;; FR400: Fujitsu's categorization for the FR400 (but see below). ;; On the FR400, media instructions are divided into 2 broad categories. ;; Category 1 instructions can execute in either the M0 or M1 unit and can @@ -502,7 +502,7 @@ (define_cpu_unit "sl2_i1, sl2_fm1, sl2_b0, sl2_b1" "nodiv") (define_cpu_unit "sl3_fm1, sl3_b0, sl3_b1" "nodiv") -;; The following describes conlicts by slots +;; The following describes conflicts by slots ;; slot0 (exclusion_set "sl0_i0" "sl0_fm0,sl0_b0,sl0_c") (exclusion_set "sl0_fm0" "sl0_b0,sl0_c") @@ -523,7 +523,7 @@ (exclusion_set "sl3_fm1" "sl3_b0,sl3_b1") (exclusion_set "sl3_b0" "sl3_b1") -;; The following describes conlicts by units +;; The following describes conflicts by units ;; fm0 (exclusion_set "sl0_fm0" "sl1_fm0") @@ -3337,7 +3337,7 @@ ;; "iordi3 %0,%1,%2" ;; [(set_attr "length" "4")]) -;; Excludive OR, 64 bit integers +;; Exclusive OR, 64 bit integers ;; (define_insn "xordi3" ;; [(set (match_operand:DI 0 "register_operand" "=r") ;; (xor:DI (match_operand:DI 1 "register_operand" "%r") diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 6a0701cbfeb..13f30d23b1c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2573,7 +2573,7 @@ function_arg (CUMULATIVE_ARGS *cum, /* current arg information */ case BLKmode: if (bytes < 0) break; - /* FALLTHRU */ + /* Fall through. */ case DImode: case SImode: case HImode: @@ -5836,7 +5836,7 @@ legitimate_pic_operand_p (rtx x) default: return false; } - /* FALLTHRU */ + /* Fall through. */ case SYMBOL_REF: case LABEL_REF: @@ -6712,7 +6712,7 @@ output_pic_addr_const (FILE *file, rtx x, int code) case LABEL_REF: x = XEXP (x, 0); - /* FALLTHRU */ + /* Fall through. */ case CODE_LABEL: ASM_GENERATE_INTERNAL_LABEL (buf, "L", CODE_LABEL_NUMBER (x)); assemble_name (asm_out_file, buf); @@ -7100,13 +7100,13 @@ print_reg (rtx x, int code, FILE *file) fputs ("st(0)", file); break; } - /* FALLTHRU */ + /* Fall through. */ case 8: case 4: case 12: if (! ANY_FP_REG_P (x)) putc (code == 8 && TARGET_64BIT ? 'r' : 'e', file); - /* FALLTHRU */ + /* Fall through. */ case 16: case 2: normal: @@ -8630,15 +8630,15 @@ ix86_match_ccmode (rtx insn, enum machine_mode req_mode) case CCmode: if (req_mode == CCGCmode) return 0; - /* FALLTHRU */ + /* Fall through. */ case CCGCmode: if (req_mode == CCGOCmode || req_mode == CCNOmode) return 0; - /* FALLTHRU */ + /* Fall through. */ case CCGOCmode: if (req_mode == CCZmode) return 0; - /* FALLTHRU */ + /* Fall through. */ case CCZmode: break; @@ -14653,7 +14653,7 @@ ix86_force_to_memory (enum machine_mode mode, rtx operand) case HImode: case SImode: operand = gen_lowpart (DImode, operand); - /* FALLTHRU */ + /* Fall through. */ case DImode: emit_insn ( gen_rtx_SET (VOIDmode, @@ -14693,7 +14693,7 @@ ix86_force_to_memory (enum machine_mode mode, rtx operand) /* It is better to store HImodes as SImodes. */ if (!TARGET_PARTIAL_REG_STALL) operand = gen_lowpart (SImode, operand); - /* FALLTHRU */ + /* Fall through. */ case SImode: emit_insn ( gen_rtx_SET (VOIDmode, @@ -15058,7 +15058,7 @@ ix86_rtx_costs (rtx x, int code, int outer_code, int *total) return false; } } - /* FALLTHRU */ + /* Fall through. */ case ROTATE: case ASHIFTRT: @@ -15166,7 +15166,7 @@ ix86_rtx_costs (rtx x, int code, int outer_code, int *total) return true; } } - /* FALLTHRU */ + /* Fall through. */ case MINUS: if (FLOAT_MODE_P (mode)) @@ -15174,7 +15174,7 @@ ix86_rtx_costs (rtx x, int code, int outer_code, int *total) *total = COSTS_N_INSNS (ix86_cost->fadd); return false; } - /* FALLTHRU */ + /* Fall through. */ case AND: case IOR: @@ -15188,7 +15188,7 @@ ix86_rtx_costs (rtx x, int code, int outer_code, int *total) << (GET_MODE (XEXP (x, 1)) != DImode))); return true; } - /* FALLTHRU */ + /* Fall through. */ case NEG: if (FLOAT_MODE_P (mode)) @@ -15196,7 +15196,7 @@ ix86_rtx_costs (rtx x, int code, int outer_code, int *total) *total = COSTS_N_INSNS (ix86_cost->fchs); return false; } - /* FALLTHRU */ + /* Fall through. */ case NOT: if (!TARGET_64BIT && mode == DImode) diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index ddfbcebce2d..80d4f116fb7 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -580,7 +580,7 @@ extern int x86_prefetch_sse; { \ case '3': \ builtin_define ("__tune_pentium3__"); \ - /* FALLTHRU */ \ + /* Fall through. */ \ case '2': \ builtin_define ("__tune_pentium2__"); \ break; \ diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 2c7bbb4a1ff..b03d4a413da 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -1955,7 +1955,7 @@ case TYPE_SSEMOV: if (get_attr_mode (insn) == MODE_TI) return "movdqa\t{%1, %0|%0, %1}"; - /* FALLTHRU */ + /* Fall through. */ case TYPE_MMXMOV: /* Moves from and into integer register is done using movd opcode with REX prefix. */ @@ -2005,7 +2005,7 @@ case TYPE_SSEMOV: if (get_attr_mode (insn) == MODE_TI) return "movdqa\t{%1, %0|%0, %1}"; - /* FALLTHRU */ + /* Fall through. */ case TYPE_MMXMOV: return "movq\t{%1, %0|%0, %1}"; case TYPE_MULTI: diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index e7ad9e71301..d526098b181 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -425,7 +425,7 @@ sdata_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) || GET_CODE (XEXP (XEXP (op, 0), 0)) != SYMBOL_REF) break; op = XEXP (XEXP (op, 0), 0); - /* FALLTHRU */ + /* Fall through. */ case SYMBOL_REF: if (CONSTANT_POOL_ADDRESS_P (op)) @@ -5299,7 +5299,7 @@ rtx_needs_barrier (rtx x, struct reg_flags flags, int pred) case SUBREG: x = SUBREG_REG (x); - /* FALLTHRU */ + /* Fall through. */ case REG: if (REGNO (x) == AR_UNAT_REGNUM) { @@ -5550,7 +5550,7 @@ group_barrier_needed_p (rtx insn) need_barrier = 1; break; } - /* FALLTHRU */ + /* Fall through. */ case INSN: if (GET_CODE (PATTERN (insn)) == USE diff --git a/gcc/config/ia64/unwind-ia64.c b/gcc/config/ia64/unwind-ia64.c index 29c63fa13a7..ffb4614638c 100644 --- a/gcc/config/ia64/unwind-ia64.c +++ b/gcc/config/ia64/unwind-ia64.c @@ -1614,7 +1614,7 @@ unw_access_gr (struct _Unwind_Context *info, int regnum, *nat = 1; return; } - /* FALLTHRU */ + /* Fall through. */ case UNW_NAT_NONE: dummy_nat = 0; diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c index 4c014f35250..0490072dcbd 100644 --- a/gcc/config/iq2000/iq2000.c +++ b/gcc/config/iq2000/iq2000.c @@ -2860,7 +2860,7 @@ iq2000_output_conditional_branch (rtx insn, rtx * operands, int two_operands_p, char *c; c = strchr (buffer, '\0'); - /* Generate the reversed comparision. This takes four + /* Generate the reversed comparison. This takes four bytes. */ if (float_p) sprintf (c, "b%s\t%%Z2%s", diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index c7408edadbc..d88067bef30 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -1689,7 +1689,7 @@ m32r_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total) *total = 0; return true; } - /* FALLTHRU */ + /* Fall through. */ case CONST: case LABEL_REF: diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 9b07a0dd64e..e03d4764e46 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -1026,7 +1026,7 @@ mips_regno_mode_ok_for_base_p (int regno, enum machine_mode mode, int strict) stack pointer (which needs the restriction) or the hard frame pointer (which doesn't). - All in all, it seems more consitent to only enforce this restriction + All in all, it seems more consistent to only enforce this restriction during and after reload. */ if (TARGET_MIPS16 && regno == STACK_POINTER_REGNUM) return !strict || GET_MODE_SIZE (mode) == 4 || GET_MODE_SIZE (mode) == 8; diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index 4827c85402a..e30c433c641 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -2455,7 +2455,7 @@ mmix_symbolic_or_address_operand (rtx op, enum machine_mode mode) || (GET_CODE (XEXP (op, 1)) == CONST_DOUBLE && GET_MODE (XEXP (op, 1)) == VOIDmode))) return 1; - /* FALLTHROUGH */ + /* Fall through. */ default: return address_operand (op, mode); } diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index 19a0afecfee..f628f278cf5 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -174,7 +174,7 @@ extern int target_flags; address register) without having to know the specific register or the specific offset. The setback is that there's a limited number of registers, and you'll not find out until link time whether you - should've compiled with -mno-base-addresses. */ + should have compiled with -mno-base-addresses. */ #define TARGET_MASK_BASE_ADDRESSES 128 /* FIXME: Get rid of this one. */ diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index e6e028fdd48..85fa6815434 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -598,7 +598,7 @@ ns32k_address_cost (rtx operand) case MULT: cost += 2; - /* FALLTHRU */ + /* Fall through. */ case PLUS: cost += ns32k_address_cost (XEXP (operand, 0)); cost += ns32k_address_cost (XEXP (operand, 1)); diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 0cce6a9e376..f07e1e45d0d 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1432,7 +1432,7 @@ hppa_rtx_costs (rtx x, int code, int outer_code, int *total) *total = COSTS_N_INSNS (14); return true; } - /* FALLTHRU */ + /* Fall through. */ case UDIV: case MOD: diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c index 9102dcdd3a0..10939c5ca70 100644 --- a/gcc/config/pdp11/pdp11.c +++ b/gcc/config/pdp11/pdp11.c @@ -1084,7 +1084,7 @@ pdp11_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, int *total) *total = 0; return true; } - /* FALLTHRU */ + /* Fall through. */ case CONST: case LABEL_REF: diff --git a/gcc/config/rs6000/darwin-ldouble.c b/gcc/config/rs6000/darwin-ldouble.c index 8936722bc86..14492368178 100644 --- a/gcc/config/rs6000/darwin-ldouble.c +++ b/gcc/config/rs6000/darwin-ldouble.c @@ -103,7 +103,7 @@ _xlqadd (double a, double b, double c, double d) c = t; } - /* Thanks to commutivity, sum is invariant w.r.t. the next + /* Thanks to commutativity, sum is invariant w.r.t. the next conditional exchange. */ tau = d + c; diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 27aef803b72..b0489f6e5a6 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -8974,7 +8974,7 @@ print_operand (FILE *file, rtx x, int code) case 'Q': if (TARGET_MFCRF) fputc (',',file); - /* FALLTHRU */ + /* Fall through. */ else return; @@ -15581,7 +15581,7 @@ rs6000_rtx_costs (rtx x, int code, int outer_code ATTRIBUTE_UNUSED, *total = COSTS_N_INSNS (2); return true; } - /* FALLTHRU */ + /* Fall through. */ case UDIV: case UMOD: diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 23dd0829b62..7b87f59bdbb 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1437,7 +1437,7 @@ enum reg_class : (C) == 'Y' ? (word_offset_memref_operand (OP, GET_MODE (OP))) \ : 0) -/* Defining, which contraints are memory contraints. Tells reload, +/* Define which constraints are memory constraints. Tell reload that any memory address can be reloaded by copying the memory address into a base register if required. */ diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index c58046277c5..958cbc20e2d 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -8440,7 +8440,7 @@ sparc_rtx_costs (rtx x, int code, int outer_code, int *total) *total = 0; return true; } - /* FALLTHRU */ + /* Fall through. */ case HIGH: *total = 2; diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c index 7695d6964f8..47527a4eafc 100644 --- a/gcc/config/vax/vax.c +++ b/gcc/config/vax/vax.c @@ -557,7 +557,7 @@ vax_rtx_costs_1 (register rtx x, enum rtx_code code, enum rtx_code outer_code) return 1; if (outer_code == PLUS && (unsigned HOST_WIDE_INT) -INTVAL (x) <= 077) return 1; - /* FALLTHRU */ + /* Fall through. */ case CONST: case LABEL_REF: