linux.h: Fix comment formatting.

* config/mips/linux.h: Fix comment formatting.
	* config/mips/mips.c: Likewise.
	* config/mips/mips.h: Likewise.
	* config/mips/mips.md: Likewise.
	* config/mips/netbsd.h: Likewise.
	* config/mips/windiss.h: Likewise.

From-SVN: r75361
This commit is contained in:
Kazu Hirata 2004-01-03 18:33:14 +00:00 committed by Kazu Hirata
parent 78a816a6ec
commit 031a26c5b7
7 changed files with 49 additions and 40 deletions

View File

@ -1,3 +1,12 @@
2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
* config/mips/linux.h: Fix comment formatting.
* config/mips/mips.c: Likewise.
* config/mips/mips.h: Likewise.
* config/mips/mips.md: Likewise.
* config/mips/netbsd.h: Likewise.
* config/mips/windiss.h: Likewise.
2004-01-02 Richard Henderson <rth@redhat.com> 2004-01-02 Richard Henderson <rth@redhat.com>
* config/i386/i386.md (fp constant pool splitter): Reorg suppression * config/i386/i386.md (fp constant pool splitter): Reorg suppression

View File

@ -198,7 +198,7 @@ Boston, MA 02111-1307, USA. */
/* The third parameter to the signal handler points to something with /* The third parameter to the signal handler points to something with
* this structure defined in asm/ucontext.h, but the name clashes with * this structure defined in asm/ucontext.h, but the name clashes with
* struct ucontext from sys/ucontext.h so this private copy is used. */ * struct ucontext from sys/ucontext.h so this private copy is used. */
typedef struct _sig_ucontext { typedef struct _sig_ucontext {
unsigned long uc_flags; unsigned long uc_flags;
struct _sig_ucontext *uc_link; struct _sig_ucontext *uc_link;

View File

@ -2352,7 +2352,7 @@ mips_rtx_costs (rtx x, int code, int outer_code, int *total)
*total = COSTS_N_INSNS (36); *total = COSTS_N_INSNS (36);
return true; return true;
} }
/* FALLTHRU */ /* Fall through. */
case UDIV: case UDIV:
case UMOD: case UMOD:
@ -2822,7 +2822,7 @@ gen_int_relational (enum rtx_code test_code, rtx result, rtx cmp0,
return 0; return 0;
} }
/* allocate a pseudo to calculate the value in. */ /* Allocate a pseudo to calculate the value in. */
result = gen_reg_rtx (mode); result = gen_reg_rtx (mode);
} }
@ -3854,7 +3854,7 @@ mips_setup_incoming_varargs (const CUMULATIVE_ARGS *cum,
if (fp_saved > 0) if (fp_saved > 0)
{ {
/* We can't use move_block_from_reg, because it will use /* We can't use move_block_from_reg, because it will use
the wrong mode. */ the wrong mode. */
enum machine_mode mode; enum machine_mode mode;
int off, i; int off, i;
@ -4643,7 +4643,7 @@ override_options (void)
if (TARGET_SGI_O32_AS) if (TARGET_SGI_O32_AS)
{ {
/* They don't recognize `.[248]byte'. */ /* They don't recognize `.[248]byte'. */
targetm.asm_out.unaligned_op.hi = "\t.align 0\n\t.half\t"; targetm.asm_out.unaligned_op.hi = "\t.align 0\n\t.half\t";
targetm.asm_out.unaligned_op.si = "\t.align 0\n\t.word\t"; targetm.asm_out.unaligned_op.si = "\t.align 0\n\t.word\t";
/* The IRIX 6 O32 assembler gives an error for `align 0; .dword', /* The IRIX 6 O32 assembler gives an error for `align 0; .dword',
@ -5065,7 +5065,7 @@ mips_conditional_register_usage (void)
for (regno = FP_REG_FIRST + 20; regno < FP_REG_FIRST + 24; regno++) for (regno = FP_REG_FIRST + 20; regno < FP_REG_FIRST + 24; regno++)
call_really_used_regs[regno] = call_used_regs[regno] = 1; call_really_used_regs[regno] = call_used_regs[regno] = 1;
} }
/* odd registers from fp21 to fp31 are now caller saved. */ /* Odd registers from fp21 to fp31 are now caller saved. */
if (mips_abi == ABI_N32) if (mips_abi == ABI_N32)
{ {
int regno; int regno;
@ -5505,7 +5505,7 @@ print_operand_reloc (FILE *file, rtx op, const char **relocs)
fputc (')', file); fputc (')', file);
} }
/* Output address operand X to FILE. */ /* Output address operand X to FILE. */
void void
print_operand_address (FILE *file, rtx x) print_operand_address (FILE *file, rtx x)
@ -7415,7 +7415,7 @@ mips_secondary_reload_class (enum reg_class class,
{ {
if (GET_CODE (x) == MEM) if (GET_CODE (x) == MEM)
{ {
/* In this case we can use lwc1, swc1, ldc1 or sdc1. */ /* In this case we can use lwc1, swc1, ldc1 or sdc1. */
return NO_REGS; return NO_REGS;
} }
else if (CONSTANT_P (x) && GET_MODE_CLASS (mode) == MODE_FLOAT) else if (CONSTANT_P (x) && GET_MODE_CLASS (mode) == MODE_FLOAT)
@ -8807,7 +8807,7 @@ mips_register_move_cost (enum machine_mode mode ATTRIBUTE_UNUSED,
else else
return 6; return 6;
} }
} /* from == HI_REG, etc. */ } /* from == HI_REG, etc. */
else if (from == ST_REGS && GR_REG_CLASS_P (to)) else if (from == ST_REGS && GR_REG_CLASS_P (to))
return 4; return 4;
else if (COP_REG_CLASS_P (from)) else if (COP_REG_CLASS_P (from))
@ -8815,7 +8815,7 @@ mips_register_move_cost (enum machine_mode mode ATTRIBUTE_UNUSED,
return 5; return 5;
} /* COP_REG_CLASS_P (from) */ } /* COP_REG_CLASS_P (from) */
/* fallthru */ /* Fall through. */
return 12; return 12;
} }

View File

@ -169,7 +169,7 @@ extern const struct mips_cpu_info *mips_tune_info;
#define MASK_UNINIT_CONST_IN_RODATA \ #define MASK_UNINIT_CONST_IN_RODATA \
0x00800000 /* Store uninitialized 0x00800000 /* Store uninitialized
consts in rodata */ consts in rodata */
#define MASK_FIX_SB1 0x01000000 /* Work around SB-1 errata. */ #define MASK_FIX_SB1 0x01000000 /* Work around SB-1 errata. */
/* Debug switches, not documented */ /* Debug switches, not documented */
#define MASK_DEBUG 0 /* unused */ #define MASK_DEBUG 0 /* unused */
@ -2661,7 +2661,7 @@ typedef struct mips_args {
/* Specify the machine mode that this machine uses /* Specify the machine mode that this machine uses
for the index in the tablejump instruction. for the index in the tablejump instruction.
??? Using HImode in mips16 mode can cause overflow. */ ??? Using HImode in mips16 mode can cause overflow. */
#define CASE_VECTOR_MODE \ #define CASE_VECTOR_MODE \
(TARGET_MIPS16 ? HImode : ptr_mode) (TARGET_MIPS16 ? HImode : ptr_mode)
@ -2735,7 +2735,7 @@ typedef struct mips_args {
that the constraints of the insn are met. Setting a cost of that the constraints of the insn are met. Setting a cost of
other than 2 will allow reload to verify that the constraints are other than 2 will allow reload to verify that the constraints are
met. You should do this if the `movM' pattern's constraints do met. You should do this if the `movM' pattern's constraints do
not allow such copying. */ not allow such copying. */
#define REGISTER_MOVE_COST(MODE, FROM, TO) \ #define REGISTER_MOVE_COST(MODE, FROM, TO) \
mips_register_move_cost (MODE, FROM, TO) mips_register_move_cost (MODE, FROM, TO)

View File

@ -3841,7 +3841,7 @@ dsrl\t%3,%3,1\n\
real_2expN (&offset, 31); real_2expN (&offset, 31);
if (reg1) /* turn off complaints about unreached code */ if (reg1) /* Turn off complaints about unreached code. */
{ {
emit_move_insn (reg1, CONST_DOUBLE_FROM_REAL_VALUE (offset, DFmode)); emit_move_insn (reg1, CONST_DOUBLE_FROM_REAL_VALUE (offset, DFmode));
do_pending_stack_adjust (); do_pending_stack_adjust ();
@ -3864,7 +3864,7 @@ dsrl\t%3,%3,1\n\
emit_label (label2); emit_label (label2);
/* allow REG_NOTES to be set on last insn (labels don't have enough /* Allow REG_NOTES to be set on last insn (labels don't have enough
fields, and can't be used for REG_NOTES anyway). */ fields, and can't be used for REG_NOTES anyway). */
emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx)); emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx));
DONE; DONE;
@ -3907,7 +3907,7 @@ dsrl\t%3,%3,1\n\
emit_label (label2); emit_label (label2);
/* allow REG_NOTES to be set on last insn (labels don't have enough /* Allow REG_NOTES to be set on last insn (labels don't have enough
fields, and can't be used for REG_NOTES anyway). */ fields, and can't be used for REG_NOTES anyway). */
emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx)); emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx));
DONE; DONE;
@ -3949,7 +3949,7 @@ dsrl\t%3,%3,1\n\
emit_label (label2); emit_label (label2);
/* allow REG_NOTES to be set on last insn (labels don't have enough /* Allow REG_NOTES to be set on last insn (labels don't have enough
fields, and can't be used for REG_NOTES anyway). */ fields, and can't be used for REG_NOTES anyway). */
emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx)); emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx));
DONE; DONE;
@ -3991,7 +3991,7 @@ dsrl\t%3,%3,1\n\
emit_label (label2); emit_label (label2);
/* allow REG_NOTES to be set on last insn (labels don't have enough /* Allow REG_NOTES to be set on last insn (labels don't have enough
fields, and can't be used for REG_NOTES anyway). */ fields, and can't be used for REG_NOTES anyway). */
emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx)); emit_insn (gen_rtx_USE (VOIDmode, stack_pointer_rtx));
DONE; DONE;
@ -6868,7 +6868,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -6881,7 +6881,7 @@ srl\t%M0,%M1,%2\n\
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) < 0) if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) < 0)
operands[2] = force_reg (SImode, operands[2]); operands[2] = force_reg (SImode, operands[2]);
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
@ -6985,7 +6985,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -6998,7 +6998,7 @@ srl\t%M0,%M1,%2\n\
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) < 0) if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) < 0)
operands[2] = force_reg (SImode, operands[2]); operands[2] = force_reg (SImode, operands[2]);
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sne_si_zero" (define_insn "sne_si_zero"
@ -7081,7 +7081,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7094,7 +7094,7 @@ srl\t%M0,%M1,%2\n\
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) != 0) if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) != 0)
operands[2] = force_reg (SImode, operands[2]); operands[2] = force_reg (SImode, operands[2]);
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sgt_si" (define_insn "sgt_si"
@ -7142,7 +7142,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7152,7 +7152,7 @@ srl\t%M0,%M1,%2\n\
DONE; DONE;
} }
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sge_si" (define_insn "sge_si"
@ -7211,7 +7211,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7221,7 +7221,7 @@ srl\t%M0,%M1,%2\n\
DONE; DONE;
} }
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "slt_si" (define_insn "slt_si"
@ -7279,7 +7279,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7292,7 +7292,7 @@ srl\t%M0,%M1,%2\n\
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 32767) if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 32767)
operands[2] = force_reg (SImode, operands[2]); operands[2] = force_reg (SImode, operands[2]);
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sle_si_const" (define_insn "sle_si_const"
@ -7405,7 +7405,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7418,7 +7418,7 @@ srl\t%M0,%M1,%2\n\
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) != 0) if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) != 0)
operands[2] = force_reg (SImode, operands[2]); operands[2] = force_reg (SImode, operands[2]);
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sgtu_si" (define_insn "sgtu_si"
@ -7466,7 +7466,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7476,7 +7476,7 @@ srl\t%M0,%M1,%2\n\
DONE; DONE;
} }
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sgeu_si" (define_insn "sgeu_si"
@ -7535,7 +7535,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7545,7 +7545,7 @@ srl\t%M0,%M1,%2\n\
DONE; DONE;
} }
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sltu_si" (define_insn "sltu_si"
@ -7603,7 +7603,7 @@ srl\t%M0,%M1,%2\n\
if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI)) if (branch_type != CMP_SI && (!TARGET_64BIT || branch_type != CMP_DI))
FAIL; FAIL;
/* set up operands from compare. */ /* Set up operands from compare. */
operands[1] = branch_cmp[0]; operands[1] = branch_cmp[0];
operands[2] = branch_cmp[1]; operands[2] = branch_cmp[1];
@ -7616,7 +7616,7 @@ srl\t%M0,%M1,%2\n\
if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 32767) if (GET_CODE (operands[2]) == CONST_INT && INTVAL (operands[2]) >= 32767)
operands[2] = force_reg (SImode, operands[2]); operands[2] = force_reg (SImode, operands[2]);
/* fall through and generate default code */ /* Fall through and generate default code. */
}) })
(define_insn "sleu_si_const" (define_insn "sleu_si_const"

View File

@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* Define default target values. */ /* Define default target values. */
#undef MACHINE_TYPE #undef MACHINE_TYPE
#if TARGET_ENDIAN_DEFAULT != 0 #if TARGET_ENDIAN_DEFAULT != 0

View File

@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA. */
#undef ENDFILE_SPEC #undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s" #define ENDFILE_SPEC "crtend.o%s"
/* We have no shared libraries. These two shouldn't be necessary. */ /* We have no shared libraries. These two shouldn't be necessary. */
#undef LINK_SHLIB_SPEC #undef LINK_SHLIB_SPEC
#define LINK_SHLIB_SPEC "" #define LINK_SHLIB_SPEC ""
#undef LINK_EH_SPEC #undef LINK_EH_SPEC