bfin-modes.def, [...]: Follow spelling conventions.

* config/bfin/bfin-modes.def, config/bfin/bfin.c,
	config/bfin/bfin.md, config/bfin/predicates.md: Follow
	spelling conventions.

From-SVN: r121577
This commit is contained in:
Kazu Hirata 2007-02-04 16:40:30 +00:00 committed by Kazu Hirata
parent 713e3ec92f
commit 942fd98f64
5 changed files with 20 additions and 14 deletions

View File

@ -1,3 +1,9 @@
2007-02-04 Kazu Hirata <kazu@codesourcery.com>
* config/bfin/bfin-modes.def, config/bfin/bfin.c,
config/bfin/bfin.md, config/bfin/predicates.md: Follow
spelling conventions.
2007-02-04 Richard Guenther <rguenther@suse.de> 2007-02-04 Richard Guenther <rguenther@suse.de>
PR middle-end/30636 PR middle-end/30636

View File

@ -19,7 +19,7 @@
Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */ MA 02110-1301, USA. */
/* PDImode for the 40 bit accumulators. */ /* PDImode for the 40-bit accumulators. */
PARTIAL_INT_MODE (DI); PARTIAL_INT_MODE (DI);
/* Two of those - covering both accumulators for vector multiplications. */ /* Two of those - covering both accumulators for vector multiplications. */

View File

@ -576,7 +576,7 @@ add_to_reg (rtx reg, HOST_WIDE_INT value, int frame)
return; return;
/* Choose whether to use a sequence using a temporary register, or /* Choose whether to use a sequence using a temporary register, or
a sequence with multiple adds. We can add a signed 7 bit value a sequence with multiple adds. We can add a signed 7-bit value
in one instruction. */ in one instruction. */
if (value > 120 || value < -120) if (value > 120 || value < -120)
{ {
@ -1080,7 +1080,7 @@ bfin_delegitimize_address (rtx orig_x)
/* This predicate is used to compute the length of a load/store insn. /* This predicate is used to compute the length of a load/store insn.
OP is a MEM rtx, we return nonzero if its addressing mode requires a OP is a MEM rtx, we return nonzero if its addressing mode requires a
32 bit instruction. */ 32-bit instruction. */
int int
effective_address_32bit_p (rtx op, enum machine_mode mode) effective_address_32bit_p (rtx op, enum machine_mode mode)
@ -1102,7 +1102,7 @@ effective_address_32bit_p (rtx op, enum machine_mode mode)
offset = INTVAL (XEXP (op, 1)); offset = INTVAL (XEXP (op, 1));
/* All byte loads use a 16 bit offset. */ /* All byte loads use a 16-bit offset. */
if (GET_MODE_SIZE (mode) == 1) if (GET_MODE_SIZE (mode) == 1)
return 1; return 1;
@ -1889,7 +1889,7 @@ hard_regno_mode_ok (int regno, enum machine_mode mode)
if (mode == PDImode || mode == V2PDImode) if (mode == PDImode || mode == V2PDImode)
return regno == REG_A0 || regno == REG_A1; return regno == REG_A0 || regno == REG_A1;
/* Allow all normal 32 bit regs, except REG_M3, in case regclass ever comes /* Allow all normal 32-bit regs, except REG_M3, in case regclass ever comes
up with a bad register class (such as ALL_REGS) for DImode. */ up with a bad register class (such as ALL_REGS) for DImode. */
if (mode == DImode) if (mode == DImode)
return regno < REG_M3; return regno < REG_M3;
@ -2243,7 +2243,7 @@ bfin_gen_compare (rtx cmp, enum machine_mode mode ATTRIBUTE_UNUSED)
} }
/* Return nonzero iff C has exactly one bit set if it is interpreted /* Return nonzero iff C has exactly one bit set if it is interpreted
as a 32 bit constant. */ as a 32-bit constant. */
int int
log2constp (unsigned HOST_WIDE_INT c) log2constp (unsigned HOST_WIDE_INT c)
@ -3977,7 +3977,7 @@ bfin_reorg (void)
schedule_insns (); schedule_insns ();
timevar_pop (TV_SCHED2); timevar_pop (TV_SCHED2);
/* Examine the schedule and insert nops as necessary for 64 bit parallel /* Examine the schedule and insert nops as necessary for 64-bit parallel
instructions. */ instructions. */
bfin_gen_bundles (); bfin_gen_bundles ();
} }

View File

@ -136,7 +136,7 @@
(UNSPEC_MOVE_FDPIC 8) (UNSPEC_MOVE_FDPIC 8)
(UNSPEC_FUNCDESC_GOT17M4 9) (UNSPEC_FUNCDESC_GOT17M4 9)
(UNSPEC_LSETUP_END 10) (UNSPEC_LSETUP_END 10)
;; Distinguish a 32 bit version of an insn from a 16 bit version. ;; Distinguish a 32-bit version of an insn from a 16-bit version.
(UNSPEC_32BIT 11)]) (UNSPEC_32BIT 11)])
(define_constants (define_constants
@ -190,7 +190,7 @@
(define_cpu_unit "slot2" "bfin") (define_cpu_unit "slot2" "bfin")
;; Three units used to enforce parallel issue restrictions: ;; Three units used to enforce parallel issue restrictions:
;; only one of the 16 bit slots can use a P register in an address, ;; only one of the 16-bit slots can use a P register in an address,
;; and only one them can be a store. ;; and only one them can be a store.
(define_cpu_unit "store" "bfin") (define_cpu_unit "store" "bfin")
(define_cpu_unit "pregs" "bfin") (define_cpu_unit "pregs" "bfin")
@ -2675,7 +2675,7 @@
"" ""
"") "")
;; Unusual arithmetic operations on 16 bit registers. ;; Unusual arithmetic operations on 16-bit registers.
(define_insn "ssaddhi3" (define_insn "ssaddhi3"
[(set (match_operand:HI 0 "register_operand" "=d") [(set (match_operand:HI 0 "register_operand" "=d")
@ -2883,7 +2883,7 @@
;; an unspec with a const_int operand that determines which flag to use in the ;; an unspec with a const_int operand that determines which flag to use in the
;; instruction. ;; instruction.
;; There are variants for single and parallel multiplications. ;; There are variants for single and parallel multiplications.
;; There are variants which just use 16 bit lowparts as inputs, and variants ;; There are variants which just use 16-bit lowparts as inputs, and variants
;; which allow the user to choose just which halves to use as input values. ;; which allow the user to choose just which halves to use as input values.
;; There are variants which set D registers, variants which set accumulators, ;; There are variants which set D registers, variants which set accumulators,
;; variants which set both, some of them optionally using the accumulators as ;; variants which set both, some of them optionally using the accumulators as

View File

@ -96,7 +96,7 @@
(and (match_code "reg") (and (match_code "reg")
(match_test "REGNO (op) == REG_LB0 || REGNO (op) == REG_LB1"))) (match_test "REGNO (op) == REG_LB0 || REGNO (op) == REG_LB1")))
;; Return nonzero if OP is a register or a 7 bit signed constant. ;; Return nonzero if OP is a register or a 7-bit signed constant.
(define_predicate "reg_or_7bit_operand" (define_predicate "reg_or_7bit_operand"
(ior (match_operand 0 "register_operand") (ior (match_operand 0 "register_operand")
(and (match_code "const_int") (and (match_code "const_int")
@ -119,7 +119,7 @@
(ior (match_operand 0 "nondp_register_operand") (ior (match_operand 0 "nondp_register_operand")
(match_operand 0 "memory_operand"))) (match_operand 0 "memory_operand")))
;; Return nonzero if OP is a register or, when negated, a 7 bit signed ;; Return nonzero if OP is a register or, when negated, a 7-bit signed
;; constant. ;; constant.
(define_predicate "reg_or_neg7bit_operand" (define_predicate "reg_or_neg7bit_operand"
(ior (match_operand 0 "register_operand") (ior (match_operand 0 "register_operand")
@ -180,7 +180,7 @@
;; The following two are used to compute the addrtype attribute. They return ;; The following two are used to compute the addrtype attribute. They return
;; true if passed a memory address usable for a 16-bit load or store using a ;; true if passed a memory address usable for a 16-bit load or store using a
;; P or I register, respectively. If neither matches, we know we have a ;; P or I register, respectively. If neither matches, we know we have a
;; 32 bit instruction. ;; 32-bit instruction.
(define_predicate "mem_p_address_operand" (define_predicate "mem_p_address_operand"
(match_code "mem") (match_code "mem")
{ {