diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/h8300/h8300.c | 4 | ||||
| -rw-r--r-- | gcc/config/h8300/h8300.md | 13 |
3 files changed, 13 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f637a0..a4442e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-11-27 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.c: Fix formatting. + * config/h8300/h8300.md: Likewise. + +2003-11-27 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.h (ELIMINABLE_REGS): Update a coment. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu> diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 41c7f84..f9754e4 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 ad90c92..bbdf377 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" "") |
