From b44470aac393d0e535591cdce91bb3f254321d30 Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 28 Feb 2002 18:13:06 +0000 Subject: [PATCH] * config/h8300/h8300.c: Fix formatting. * config/h8300/h8300.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50150 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.c | 6 +++--- gcc/config/h8300/h8300.h | 10 +++++----- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e896c5..62cc8e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-28 Kazu Hirata + + * config/h8300/h8300.c: Fix formatting. + * config/h8300/h8300.h: Likewise. + 2002-02-28 Marek Michalkiewicz * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29 diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 1e997c8..7d98454 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -2583,9 +2583,9 @@ get_shift_alg (shift_type, shift_mode, count, info) case SHIFT_ASHIFTRT: info->special = "mov.b\t%z0,%w0\n\tbld\t#7,%w0\n\tsubx\t%x0,%x0\n\tsubx\t%x0,%x0\n\tsubx\t%x0,%x0"; info->shift1 = "shar.b\t%w0"; - goto end; - } - } + goto end; + } + } else if ((TARGET_H8300H && count == 24) || (TARGET_H8300S && 24 <= count && count <= 25)) { diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index ac7616b..cec359c 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -899,14 +899,14 @@ struct cum_arg /* Accept either REG or SUBREG where a register is valid. */ -#define RTX_OK_FOR_BASE_P(X) \ - ((REG_P (X) && REG_OK_FOR_BASE_P (X)) \ - || (GET_CODE (X) == SUBREG && REG_P (SUBREG_REG (X)) \ +#define RTX_OK_FOR_BASE_P(X) \ + ((REG_P (X) && REG_OK_FOR_BASE_P (X)) \ + || (GET_CODE (X) == SUBREG && REG_P (SUBREG_REG (X)) \ && REG_OK_FOR_BASE_P (SUBREG_REG (X)))) -#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \ +#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \ if (RTX_OK_FOR_BASE_P (X)) goto ADDR; \ - if (CONSTANT_ADDRESS_P (X)) goto ADDR; \ + if (CONSTANT_ADDRESS_P (X)) goto ADDR; \ if (GET_CODE (X) == PLUS \ && CONSTANT_ADDRESS_P (XEXP (X, 1)) \ && RTX_OK_FOR_BASE_P (XEXP (X, 0))) goto ADDR; -- 2.7.4