From 80e585192efdd038fb905bfbad2dad9697bb42d7 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 27 Nov 2003 17:40:10 +0000 Subject: [PATCH] h8300.c: Fix formatting. * config/h8300/h8300.c: Fix formatting. * config/h8300/h8300.md: Likewise. From-SVN: r73997 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.c | 4 ++-- gcc/config/h8300/h8300.md | 13 ++++++------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f637a0bc3a..a4442e0c2b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-11-27 Kazu Hirata + + * config/h8300/h8300.c: Fix formatting. + * config/h8300/h8300.md: Likewise. + 2003-11-27 Kazu Hirata * config/h8300/h8300.h (ELIMINABLE_REGS): Update a coment. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 41c7f843a70..f9754e415c4 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -1981,7 +1981,7 @@ compute_mov_length (rtx *operands) if (val == (val & 0x00ff) || val == (val & 0xff00)) return 4; - + switch (val & 0xffffffff) { case 0xffffffff: @@ -4550,7 +4550,7 @@ h8300_hard_regno_rename_ok (unsigned int old_reg ATTRIBUTE_UNUSED, && !regs_ever_live[new_reg]) return 0; - return 1; + return 1; } /* Perform target dependent optabs initialization. */ diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index ad90c92abdb..bbdf3778846 100644 --- a/gcc/config/h8300/h8300.md +++ b/gcc/config/h8300/h8300.md @@ -1768,12 +1768,12 @@ (set_attr "length" "2")]) (define_insn "*tablejump_h8300hs_normal" - [(set (pc) (match_operand:HI 0 "register_operand" "r")) - (use (label_ref (match_operand 1 "" "")))] - "(TARGET_H8300H || TARGET_H8300S) && TARGET_NORMAL_MODE" - "jmp @%S0" - [(set_attr "cc" "none") - (set_attr "length" "2")]) + [(set (pc) (match_operand:HI 0 "register_operand" "r")) + (use (label_ref (match_operand 1 "" "")))] + "(TARGET_H8300H || TARGET_H8300S) && TARGET_NORMAL_MODE" + "jmp @%S0" + [(set_attr "cc" "none") + (set_attr "length" "2")]) ;; This is a define expand, because pointers may be either 16 or 32 bits. @@ -1863,7 +1863,6 @@ (define_expand "push_h8300" [(set (mem:HI (pre_dec:HI (reg:HI SP_REG))) (match_operand:HI 0 "register_operand" ""))] - "TARGET_H8300" "") -- 2.30.2