This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] h8300.[ch]: Fix formatting.
- From: Kazu Hirata <kazu at hxi dot com>
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] h8300.[ch]: Fix formatting.
Hi,
Attached is a patch to fix formatting. The patch removes spaces right
before a tab. Committed as obvious.
Kazu Hirata
2002-02-17 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.
Index: h8300.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.c,v
retrieving revision 1.116
diff -c -r1.116 h8300.c
*** h8300.c 2002/02/14 13:25:30 1.116
--- h8300.c 2002/02/17 15:36:03
***************
*** 2411,2435 ****
}
}
else if (TARGET_H8300 && 24 <= count && count <= 28)
! {
! info->remainder = count - 24;
! switch (shift_type)
! {
! case SHIFT_ASHIFT:
! info->special = "mov.b\t%w0,%z0\n\tsub.b\t%y0,%y0\n\tsub.w\t%f0,%f0";
! info->shift1 = "shll.b\t%z0";
goto end;
! case SHIFT_LSHIFTRT:
! info->special = "mov.b\t%z0,%w0\n\tsub.b\t%x0,%x0\n\tsub.w\t%e0,%e0";
! info->shift1 = "shlr.b\t%w0";
! goto end;
! 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;
! }
! }
else if ((TARGET_H8300H && count == 24)
|| (TARGET_H8300S && 24 <= count && count <= 25))
{
--- 2411,2435 ----
}
}
else if (TARGET_H8300 && 24 <= count && count <= 28)
! {
! info->remainder = count - 24;
! switch (shift_type)
! {
! case SHIFT_ASHIFT:
! info->special = "mov.b\t%w0,%z0\n\tsub.b\t%y0,%y0\n\tsub.w\t%f0,%f0";
! info->shift1 = "shll.b\t%z0";
! goto end;
! case SHIFT_LSHIFTRT:
! info->special = "mov.b\t%z0,%w0\n\tsub.b\t%x0,%x0\n\tsub.w\t%e0,%e0";
! info->shift1 = "shlr.b\t%w0";
! goto end;
! 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;
! }
! }
else if ((TARGET_H8300H && count == 24)
|| (TARGET_H8300S && 24 <= count && count <= 25))
{
Index: h8300.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.h,v
retrieving revision 1.76
diff -c -r1.76 h8300.h
*** h8300.h 2002/02/17 12:41:46 1.76
--- h8300.h 2002/02/17 15:36:04
***************
*** 121,127 ****
{"int32", 8, N_("Make integers 32 bits wide")}, \
{"addresses", 64, NULL}, \
{"quickcall", 128, \
! N_("Use registers for argument passing")}, \
{"no-quickcall", -128, \
N_("Do not use registers for argument passing")}, \
{"slowbyte", 256, \
--- 121,127 ----
{"int32", 8, N_("Make integers 32 bits wide")}, \
{"addresses", 64, NULL}, \
{"quickcall", 128, \
! N_("Use registers for argument passing")}, \
{"no-quickcall", -128, \
N_("Do not use registers for argument passing")}, \
{"slowbyte", 256, \
***************
*** 217,231 ****
See also the macro `Pmode' defined below. */
#define POINTER_SIZE (TARGET_H8300H || TARGET_H8300S ? 32 : 16)
! #define SHORT_TYPE_SIZE 16
! #define INT_TYPE_SIZE (TARGET_INT32 ? 32 : 16)
! #define LONG_TYPE_SIZE 32
#define LONG_LONG_TYPE_SIZE 32
! #define FLOAT_TYPE_SIZE 32
! #define DOUBLE_TYPE_SIZE 32
! #define LONG_DOUBLE_TYPE_SIZE DOUBLE_TYPE_SIZE
! #define MAX_FIXED_MODE_SIZE 32
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
#define PARM_BOUNDARY (TARGET_H8300H || TARGET_H8300S ? 32 : 16)
--- 217,231 ----
See also the macro `Pmode' defined below. */
#define POINTER_SIZE (TARGET_H8300H || TARGET_H8300S ? 32 : 16)
! #define SHORT_TYPE_SIZE 16
! #define INT_TYPE_SIZE (TARGET_INT32 ? 32 : 16)
! #define LONG_TYPE_SIZE 32
#define LONG_LONG_TYPE_SIZE 32
! #define FLOAT_TYPE_SIZE 32
! #define DOUBLE_TYPE_SIZE 32
! #define LONG_DOUBLE_TYPE_SIZE DOUBLE_TYPE_SIZE
! #define MAX_FIXED_MODE_SIZE 32
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
#define PARM_BOUNDARY (TARGET_H8300H || TARGET_H8300S ? 32 : 16)
***************
*** 405,415 ****
This is an initializer for a vector of HARD_REG_SET
of length N_REG_CLASSES. */
! #define REG_CLASS_CONTENTS \
{ {0}, /* No regs */ \
! {0x6ff}, /* GENERAL_REGS */ \
! {0x100}, /* MAC_REGS */ \
! {0x7ff}, /* ALL_REGS */ \
}
/* The same information, inverted:
--- 405,415 ----
This is an initializer for a vector of HARD_REG_SET
of length N_REG_CLASSES. */
! #define REG_CLASS_CONTENTS \
{ {0}, /* No regs */ \
! {0x6ff}, /* GENERAL_REGS */ \
! {0x100}, /* MAC_REGS */ \
! {0x7ff}, /* ALL_REGS */ \
}
/* The same information, inverted:
***************
*** 904,912 ****
|| (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) \
if (RTX_OK_FOR_BASE_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;
--- 904,912 ----
|| (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) \
if (RTX_OK_FOR_BASE_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;