diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-08-23 02:51:23 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-08-23 02:51:23 +0000 |
commit | 4375e090013d0aafced1ed1804bd155342b95b97 (patch) | |
tree | c654dfbfdb68ab670449fc8f01dff52f0515df92 /gcc | |
parent | a36b8cb8400c579cc03b9c83d031166f62b9c2a9 (diff) | |
download | gcc-4375e090013d0aafced1ed1804bd155342b95b97.zip gcc-4375e090013d0aafced1ed1804bd155342b95b97.tar.gz gcc-4375e090013d0aafced1ed1804bd155342b95b97.tar.bz2 |
iq2000.c: Follow spelling conventions.
* config/iq2000/iq2000.c: Follow spelling conventions.
* config/iq2000/iq2000.h: Likewise.
* config/mn10300/mn10300.c: Likewise.
From-SVN: r70726
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/iq2000/iq2000.c | 16 | ||||
-rw-r--r-- | gcc/config/iq2000/iq2000.h | 2 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 6 |
4 files changed, 18 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86a1995..527d14c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-08-22 Kazu Hirata <kazu@cs.umass.edu> + + * config/iq2000/iq2000.c: Follow spelling conventions. + * config/iq2000/iq2000.h: Likewise. + * config/mn10300/mn10300.c: Likewise. + 2003-08-22 Jason Eckhardt <jle@rice.edu> * config/i860/i860.c (output_move_double): Don't set latehalf diff --git a/gcc/config/iq2000/iq2000.c b/gcc/config/iq2000/iq2000.c index 08c074f..e54f495 100644 --- a/gcc/config/iq2000/iq2000.c +++ b/gcc/config/iq2000/iq2000.c @@ -420,7 +420,7 @@ iq2000_reg_mode_ok_for_base_p (rtx reg, } /* Return a nonzero value if XINSN is a legitimate address for a - memory operand of the indicated MODE. STRICT is non-zero if this + memory operand of the indicated MODE. STRICT is nonzero if this function is called during reload. */ int @@ -1195,7 +1195,7 @@ gen_conditional_branch (rtx operands[], enum rtx_code test_code) test_code = NE; } else if (GET_CODE (cmp1) == CONST_INT && INTVAL (cmp1) != 0) - /* We don't want to build a comparison against a non-zero + /* We don't want to build a comparison against a nonzero constant. */ cmp1 = force_reg (mode, cmp1); @@ -2525,7 +2525,7 @@ iq2000_can_use_return_insn (void) return compute_frame_size (get_frame_size ()) == 0; } -/* Returns non-zero if X contains a SYMBOL_REF. */ +/* Returns nonzero if X contains a SYMBOL_REF. */ static int symbolic_expression_p (rtx x) @@ -2679,11 +2679,11 @@ iq2000_adjust_insn_length (rtx insn, int length) INSN is the branch instruction. OPERANDS[0] is the condition. OPERANDS[1] is the target of the branch. OPERANDS[2] is the target of the first operand to the condition. If TWO_OPERANDS_P is - non-zero the comparison takes two operands; OPERANDS[3] will be the + nonzero the comparison takes two operands; OPERANDS[3] will be the second operand. - If INVERTED_P is non-zero we are to branch if the condition does - not hold. If FLOAT_P is non-zero this is a floating-point comparison. + If INVERTED_P is nonzero we are to branch if the condition does + not hold. If FLOAT_P is nonzero this is a floating-point comparison. LENGTH is the length (in bytes) of the sequence we are to generate. That tells us whether to generate a simple conditional branch, or a @@ -2696,7 +2696,7 @@ iq2000_output_conditional_branch (rtx insn, rtx *operands, int two_operands_p, static char buffer[200]; /* The kind of comparison we are doing. */ enum rtx_code code = GET_CODE (operands[0]); - /* Non-zero if the opcode for the comparison needs a `z' indicating + /* Nonzero if the opcode for the comparison needs a `z' indicating that it is a comparision against zero. */ int need_z_p; /* A string to use in the assembly output to represent the first @@ -2721,7 +2721,7 @@ iq2000_output_conditional_branch (rtx insn, rtx *operands, int two_operands_p, subtract B from A and then look at the sign bit. But, if we are doing an unsigned comparison, and B is zero, we don't have to do the subtraction. Instead, we can just check to - see if A is non-zero. Thus, we change the CODE here to + see if A is nonzero. Thus, we change the CODE here to reflect the simpler comparison operation. */ switch (code) { diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h index 0d9c914..677fee6 100644 --- a/gcc/config/iq2000/iq2000.h +++ b/gcc/config/iq2000/iq2000.h @@ -1250,7 +1250,7 @@ extern void sbss_section (void); /* Certain machines have the property that some registers cannot be copied to some other registers without using memory. Define this - macro on those machines to be a C expression that is non-zero if + macro on those machines to be a C expression that is nonzero if objects of mode MODE in registers of CLASS1 can only be copied to registers of class CLASS2 by storing a register of CLASS1 into memory and loading that memory location into a register of CLASS2. diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index fc22324..3e14de3 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -695,7 +695,7 @@ expand_prologue () #define SIZE_FMOV_SP(S,N) (SIZE_FMOV_SP_ ((unsigned HOST_WIDE_INT)(S), (N))) /* Consider alternative save_sp_merge only if we don't need the - frame pointer and size is non-zero. */ + frame pointer and size is nonzero. */ if (! frame_pointer_needed && size) { /* Insn: add -(size + 4 * num_regs_to_save), sp. */ @@ -750,7 +750,7 @@ expand_prologue () } /* Consider alternative save_a0_merge only if we don't need a - frame pointer, size is non-zero and the user hasn't + frame pointer, size is nonzero and the user hasn't changed the calling conventions of a0. */ if (! frame_pointer_needed && size && call_used_regs[FIRST_ADDRESS_REGNUM] @@ -1855,7 +1855,7 @@ legitimize_pic_address (orig, reg) } /* Return zero if X references a SYMBOL_REF or LABEL_REF whose symbol - isn't protected by a PIC unspec; non-zero otherwise. */ + isn't protected by a PIC unspec; nonzero otherwise. */ int legitimate_pic_operand_p (x) rtx x; |