From b1c9bc51b6470f2e94891d4938294eb148bafb76 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 2 Jan 2002 06:47:47 +0000 Subject: [PATCH] romp.c: Fix comment formatting. * config/romp/romp.c: Fix comment formatting. * config/romp/romp.h: Likewise. * config/romp/romp.md: Likewise. * config/s390/s390.c: Likewise. * config/stormy16/stormy16.c: Likewise. * config/stormy16/stormy16.h: Likewise. From-SVN: r48459 --- gcc/ChangeLog | 9 ++++++++ gcc/config/romp/romp.c | 40 +++++++++++++++++----------------- gcc/config/romp/romp.h | 24 ++++++++++---------- gcc/config/romp/romp.md | 4 ++-- gcc/config/s390/s390.c | 2 +- gcc/config/stormy16/stormy16.c | 2 +- gcc/config/stormy16/stormy16.h | 34 ++++++++++++++--------------- 7 files changed, 62 insertions(+), 53 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4f7c950878..1a3a88e49e3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2002-01-02 Kazu Hirata + + * config/romp/romp.c: Fix comment formatting. + * config/romp/romp.h: Likewise. + * config/romp/romp.md: Likewise. + * config/s390/s390.c: Likewise. + * config/stormy16/stormy16.c: Likewise. + * config/stormy16/stormy16.h: Likewise. + 2002-01-02 Alexandre Oliva * c-common.h (genrtl_expr_stmt_value): Declare. diff --git a/gcc/config/romp/romp.c b/gcc/config/romp/romp.c index 6ded1f7d538..a961ad3d335 100644 --- a/gcc/config/romp/romp.c +++ b/gcc/config/romp/romp.c @@ -190,7 +190,7 @@ update_cc (body, insn) break; case CC_CLOBBER: - /* Insn clobbers CC. */ + /* Insn clobbers CC. */ CC_STATUS_INIT; break; @@ -221,7 +221,7 @@ update_cc (body, insn) break; case CC_TBIT: - /* Insn sets T bit if result is non-zero. Next insn must be branch. */ + /* Insn sets T bit if result is non-zero. Next insn must be branch. */ CC_STATUS_INIT; cc_status.flags = CC_IN_TB | CC_NOT_NEGATIVE; break; @@ -323,7 +323,7 @@ zero_memory_operand (op, mode) return memory_offset_in_range_p (op, mode, 0, 0); } -/* Return 1 if OP is a valid operand for a `short' memory reference insn. */ +/* Return 1 if OP is a valid operand for a `short' memory reference insn. */ int short_memory_operand (op, mode) @@ -339,7 +339,7 @@ short_memory_operand (op, mode) } /* Returns 1 if OP is a memory reference involving a symbolic constant - that is not in the constant pool. */ + that is not in the constant pool. */ int symbolic_memory_operand (op, mode) @@ -479,7 +479,7 @@ reg_or_any_cint_operand (op, mode) return GET_CODE (op) == CONST_INT || register_operand (op, mode); } -/* Return 1 if the operand is either a register or a valid D-type operand. */ +/* Return 1 if the operand is either a register or a valid D-type operand. */ int reg_or_D_operand (op, mode) @@ -693,7 +693,7 @@ print_operand (file, x, code) break; case 's': - /* Null or "16" depending on whether the constant is greater than 16. */ + /* Null or "16" depending on whether the constant is greater than 16. */ if (GET_CODE (x) != CONST_INT) output_operand_lossage ("invalid %%s value"); @@ -1169,10 +1169,10 @@ output_encoded_offset (file, reg_offset) FILE *file; unsigned reg_offset; { - /* Convert the offset value to 4-byte words rather than bytes. */ + /* Convert the offset value to 4-byte words rather than bytes. */ reg_offset = (reg_offset + 3) / 4; - /* Now output 1-4 bytes in encoded form. */ + /* Now output 1-4 bytes in encoded form. */ if (reg_offset < (1 << 6)) /* Fits into one byte */ fprintf (file, "\t.byte %d\n", reg_offset); @@ -1413,12 +1413,12 @@ check_precision (opmode, op1, op2) /* Structure to describe a floating-point operation. */ struct fp_op { - struct fp_op *next_same_hash; /* Next op with same hash code. */ - struct fp_op *next_in_mem; /* Next op in memory. */ + struct fp_op *next_same_hash; /* Next op with same hash code. */ + struct fp_op *next_in_mem; /* Next op in memory. */ int mem_offset; /* Offset from data area. */ short size; /* Size of block in bytes. */ short noperands; /* Number of operands in block. */ - rtx ops[3]; /* RTL for operands. */ + rtx ops[3]; /* RTL for operands. */ enum rtx_code opcode; /* Operation being performed. */ }; @@ -1437,7 +1437,7 @@ static struct fp_op *last_fpop_in_mem; /* Subroutine number in file, to get unique "LF" labels. */ static int subr_number = 0; -/* Current word offset in data area (includes header and any constant pool). */ +/* Current word offset in data area (includes header and any constant pool). */ int data_offset; /* Compute hash code for an RTX used in floating-point. */ @@ -1557,7 +1557,7 @@ output_fpop (code, op0, op1, op2, insn) /* Compute the size using the rules in Appendix A of the RT Linkage Convention (4.3/RT-PSD:5) manual. These rules are a bit ambiguous, - but if we guess wrong, it will effect only efficiency, not correctness. */ + but if we guess wrong, it will effect only efficiency, not correctness. */ /* Size = 24 + 32 for each non-fp (or fr7) */ size = 24; @@ -1588,11 +1588,11 @@ output_fpop (code, op0, op1, op2, insn) if (op2 && GET_MODE (op2) != opmode) size += 12; - /* 12 more if first and third operand types not the same. */ + /* 12 more if first and third operand types not the same. */ if (op2 && GET_MODE (op0) != GET_MODE (op2)) size += 12; - /* CMP and CMPT need additional. Also, compute size of save/restore here. */ + /* CMP and CMPT need additional. Also, compute size of save/restore here. */ if (code == EQ) size += 32; else if (code == GE) @@ -1641,7 +1641,7 @@ output_fpop (code, op0, op1, op2, insn) { if (REGNO (op0) == REGNO (op2)) #if 1 - /* This triggers a bug on the RT. */ + /* This triggers a bug on the RT. */ abort (); #else size += fr0_avail ? 0 : 64; @@ -1699,7 +1699,7 @@ output_fpop (code, op0, op1, op2, insn) size += 4; } - /* Done with size computation! Chain this in. */ + /* Done with size computation! Chain this in. */ fpop->size = size; data_offset += size / UNITS_PER_WORD; fpop->next_in_mem = 0; @@ -2015,20 +2015,20 @@ romp_debugger_auto_correction(offset) /* We really want to go from STACK_POINTER_REGNUM to FRAME_POINTER_REGNUM, but this isn't defined. So go the other - direction and negate. */ + direction and negate. */ INITIAL_ELIMINATION_OFFSET (FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM, fp_to_sp); /* The offset value points somewhere between the frame pointer and the stack pointer. What is up from the frame pointer is down from the - stack pointer. Therefore the negation in the offset value too. */ + stack pointer. Therefore the negation in the offset value too. */ return -(offset+fp_to_sp+4); } /* Return the offset value of an argument having the given offset. Basically, we correct by going from a arg pointer to - stack pointer value. */ + stack pointer value. */ int romp_debugger_arg_correction (offset) diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h index 4f820781d08..76cdc86d834 100644 --- a/gcc/config/romp/romp.h +++ b/gcc/config/romp/romp.h @@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ /* Flag to pass and return floating point values in floating point registers. Since this violates the linkage convention, we feel free to destroy fr2 and fr3 on function calls. - fr1-fr3 are used to pass the arguments. */ + fr1-fr3 are used to pass the arguments. */ #define TARGET_FP_REGS (target_flags & 4) /* Flag to return structures of more than one word in memory. This is for @@ -75,8 +75,8 @@ extern int target_flags; /* target machine storage layout */ /* Define this if most significant bit is lowest numbered - in instructions that operate on numbered bit-fields. */ -/* That is true on ROMP. */ + in instructions that operate on numbered bit-fields. */ +/* That is true on ROMP. */ #define BITS_BIG_ENDIAN 1 /* Define this if most significant byte of a word is the lowest numbered. */ @@ -87,7 +87,7 @@ extern int target_flags; numbered. For ROMP we can decide arbitrarily since there are no machine instructions - for them. Might as well be consistent with bits and bytes. */ + for them. Might as well be consistent with bits and bytes. */ #define WORDS_BIG_ENDIAN 1 /* number of bits in an addressable storage unit */ @@ -226,7 +226,7 @@ extern int target_flags; /* Value is 1 if hard register REGNO can hold a value of machine-mode MODE. On ROMP, the cpu registers can hold any mode but the float registers - can hold only floating point. */ + can hold only floating point. */ #define HARD_REGNO_MODE_OK(REGNO, MODE) \ (! FP_REGNO_P (REGNO) || GET_MODE_CLASS (MODE) == MODE_FLOAT \ || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT) @@ -396,7 +396,7 @@ enum reg_class { NO_REGS, R0_REGS, R15_REGS, BASE_REGS, GENERAL_REGS, just in move insns as that is the only place it is likely to occur. `S' means that this is the address of a constant pool location. This is - equal to r14 plus a constant. We also only check for this in move insns. */ + equal to r14 plus a constant. We also only check for this in move insns. */ #define EXTRA_CONSTRAINT(OP, C) \ ((C) == 'Q' ? \ @@ -474,7 +474,7 @@ enum reg_class { NO_REGS, R0_REGS, R15_REGS, BASE_REGS, GENERAL_REGS, of the first local allocated. On the ROMP, if we set the frame pointer to 15 words below the highest address of the highest local variable, the first 16 words will be - addressable via D-short insns. */ + addressable via D-short insns. */ #define STARTING_FRAME_OFFSET 64 /* If we generate an insn to push BYTES bytes, @@ -1092,7 +1092,7 @@ struct rt_cargs {int gregs, fregs; }; /* Define as C expression which evaluates to nonzero if the tablejump instruction expects the table to contain offsets from the address of the table. - Do not define this if the table should contain absolute addresses. */ + Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ /* Specify the tree operation to be used to convert reals to integers. */ @@ -1293,7 +1293,7 @@ struct rt_cargs {int gregs, fregs; }; /* Set if condition code (really not-Z) is stored in `test bit'. */ #define CC_IN_TB 01000 -/* Set if condition code is set by an unsigned compare. */ +/* Set if condition code is set by an unsigned compare. */ #define CC_UNSIGNED 02000 /* Store in cc_status the expressions @@ -1359,7 +1359,7 @@ struct rt_cargs {int gregs, fregs; }; #define ASM_GLOBALIZE_LABEL(FILE,NAME) \ do { fputs ("\t.globl ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0) -/* The prefix to add to user-visible assembler symbols. */ +/* The prefix to add to user-visible assembler symbols. */ #define USER_LABEL_PREFIX "_" @@ -1371,7 +1371,7 @@ struct rt_cargs {int gregs, fregs; }; /* This is how to output a label for a jump table. Arguments are the same as for ASM_OUTPUT_INTERNAL_LABEL, except the insn for the jump table is - passed. */ + passed. */ #define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,TABLEINSN) \ { ASM_OUTPUT_ALIGN (FILE, 2); ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); } @@ -1402,7 +1402,7 @@ struct rt_cargs {int gregs, fregs; }; fprintf (FILE, "\t.long L%d\n", VALUE) /* This is how to output an element of a case-vector that is relative. - Don't define this if it is not supported. */ + Don't define this if it is not supported. */ /* #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) */ diff --git a/gcc/config/romp/romp.md b/gcc/config/romp/romp.md index 010f00976d2..07da5f0748e 100644 --- a/gcc/config/romp/romp.md +++ b/gcc/config/romp/romp.md @@ -180,7 +180,7 @@ || ((- const_val) & 0xffff0000) == 0 || (unsigned) ((- const_val) + 0x8000) < 0x10000) { - /* Can do this by loading the negative constant and then negating. */ + /* Can do this by loading the negative constant and then negating. */ emit_move_insn (operands[0], GEN_INT (- const_val)); emit_insn (gen_negsi2 (operands[0], operands[0])); DONE; @@ -1130,7 +1130,7 @@ } else if (INTVAL (operands[1]) == 8 && (INTVAL (operands[2]) % 8 == 0)) - ; /* Accept aligned byte-wide field. */ + ; /* Accept aligned byte-wide field. */ else FAIL; }") diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 83e02a8a845..cc409e3aafa 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2993,7 +2993,7 @@ s390_emit_prologue () } } -/* Expand the epilogue into a bunch of separate insns. */ +/* Expand the epilogue into a bunch of separate insns. */ void s390_emit_epilogue () diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c index a8906c63828..dfb757b21ee 100644 --- a/gcc/config/stormy16/stormy16.c +++ b/gcc/config/stormy16/stormy16.c @@ -976,7 +976,7 @@ xstormy16_expand_prologue () } /* It's just possible that the SP here might be what we need for - the new FP... */ + the new FP... */ if (frame_pointer_needed && layout.sp_minus_fp == layout.locals_size) { insn = emit_move_insn (hard_frame_pointer_rtx, stack_pointer_rtx); diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index ac000e46036..640cab39bcf 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -211,12 +211,12 @@ Boston, MA 02111-1307, USA. */ /* #define MULTILIB_DEFAULTS {} */ /* Define this macro to tell `gcc' that it should only translate a `-B' prefix - into a `-L' linker option if the prefix indicates an absolute file name. */ + into a `-L' linker option if the prefix indicates an absolute file name. */ /* #define RELATIVE_PREFIX_NOT_LINKDIR */ /* Define this macro as a C string constant if you wish to override the standard choice of `/usr/local/lib/gcc-lib/' as the default prefix to try - when searching for the executable files of the compiler. */ + when searching for the executable files of the compiler. */ /* #define STANDARD_EXEC_PREFIX "" */ /* If defined, this macro is an additional prefix to try after @@ -228,7 +228,7 @@ Boston, MA 02111-1307, USA. */ /* Define this macro as a C string constant if you wish to override the standard choice of `/usr/local/lib/' as the default prefix to try when - searching for startup files such as `crt0.o'. */ + searching for startup files such as `crt0.o'. */ /* #define STANDARD_STARTFILE_PREFIX "" */ /* If defined, this macro supplies an additional prefix to try after the @@ -240,13 +240,13 @@ Boston, MA 02111-1307, USA. */ /* If defined, this macro supplies yet another prefix to try after the standard prefixes. It is not searched when the `-b' option is used, or when the - compiler is built as a cross compiler. */ + compiler is built as a cross compiler. */ /* #define MD_STARTFILE_PREFIX_1 "" */ /* Define this macro as a C string constant if you with to set environment variables for programs called by the driver, such as the assembler and loader. The driver passes the value of this macro to `putenv' to initialize - the necessary environment variables. */ + the necessary environment variables. */ /* #define INIT_ENVIRONMENT "" */ /* Define this macro as a C string constant if you wish to override the @@ -264,7 +264,7 @@ Boston, MA 02111-1307, USA. */ search order. Cross compilers do not use this macro and do not search the directory - specified. */ + specified. */ /* #define SYSTEM_INCLUDE_DIR "" */ /* Define this macro as a C string constant if you wish to override the @@ -272,7 +272,7 @@ Boston, MA 02111-1307, USA. */ searching for header files. Cross compilers do not use this macro and do not search either - `/usr/include' or its replacement. */ + `/usr/include' or its replacement. */ /* #define STANDARD_INCLUDE_DIR "" */ /* Define this macro if you wish to override the entire default search path for @@ -376,7 +376,7 @@ extern int target_flags; instruction patterns. Note how `TARGET_68020' appears frequently in the 68000 machine description file, `m68k.md'. Another place they are used is in the definitions of the other macros in the `MACHINE.h' file. */ -/* #define TARGET_... */ +/* #define TARGET_... */ /* This macro defines names of command options to set and clear bits in `target_flags'. Its definition is an initializer with a subgrouping for @@ -2802,7 +2802,7 @@ typedef int CUMULATIVE_ARGS; On most machines, you don't need to define any of these macros, because the C compiler that comes with the system takes care of doing them. */ -/* #define perform_... */ +/* #define perform_... */ /* Define this macro to generate code for Objective C message sending using the calling convention of the NeXT system. This calling convention involves @@ -4574,7 +4574,7 @@ do { \ This does nothing if the expected type does not exist. See the function `init_decl_processing' in `c-decl.c' to find the names to - use for all the built-in C types. */ + use for all the built-in C types. */ /* #define DBX_OUTPUT_STANDARD_TYPES(SYMS) */ /* Some stabs encapsulation formats (in particular ECOFF), cannot @@ -4673,7 +4673,7 @@ do { \ assembler directives. See `sdbout.c' for a list of these macros and their arguments. If the standard syntax is used, you need not define them yourself. */ -/* #define PUT_SDB_... */ +/* #define PUT_SDB_... */ /* Some assemblers do not support a semicolon as a delimiter, even between SDB assembler directives. In that case, define this macro to be the delimiter @@ -4734,7 +4734,7 @@ do { \ /* Define as C expression which evaluates to nonzero if the tablejump instruction expects the table to contain offsets from the address of the table. - Do not define this if the table should contain absolute addresses. */ + Do not define this if the table should contain absolute addresses. */ /* #define CASE_VECTOR_PC_RELATIVE 1 */ /* Define this if control falls through a `case' insn when the index value is @@ -4978,7 +4978,7 @@ do { \ #define HANDLE_SYSV_PRAGMA /* Define this macro if you want to support the Win32 style pragmas - #pragma pack(push,) and #pragma pack(pop). */ + #pragma pack(push,) and #pragma pack(pop). */ /* HANDLE_PRAGMA_PACK_PUSH_POP 1 */ /* Define this macro to control use of the character `$' in identifier names. @@ -5063,7 +5063,7 @@ do { \ /* #define MAX_CONDITIONAL_EXECUTE */ /* A C statement that adds to tree CLOBBERS a set of STRING_CST trees for any - hard regs the port wishes to automatically clobber for all asms. */ + hard regs the port wishes to automatically clobber for all asms. */ /* #define MD_ASM_CLOBBERS(CLOBBERS) */ /* Indicate how many instructions can be issued at the same time. */ @@ -5072,7 +5072,7 @@ do { \ /* A C statement which is executed by the Haifa scheduler at the beginning of each block of instructions that are to be scheduled. FILE is either a null pointer, or a stdio stream to write any debug output to. VERBOSE is the - verbose level provided by -fsched-verbose-. */ + verbose level provided by -fsched-verbose-. */ /* #define MD_SCHED_INIT (FILE, VERBOSE) */ /* A C statement which is executed by the Haifa scheduler after it has scheduled @@ -5093,7 +5093,7 @@ do { \ to write any debug output to. VERBOSE is the verbose level provided by -fsched-verbose-. INSN is the instruction that was scheduled. MORE is the number of instructions that can be issued in the current cycle. This macro - is responsible for updating the value of MORE (typically by (MORE)--). */ + is responsible for updating the value of MORE (typically by (MORE)--). */ /* #define MD_SCHED_VARIABLE_ISSUE (FILE, VERBOSE, INSN, MORE) */ /* Define this to the largest integer machine mode which can be used for @@ -5104,7 +5104,7 @@ do { \ /* Define this macro as a C string constant for the linker argument to link in the system math library, or "" if the target does not have a separate math library. - You need only define this macro if the default of "-lm" is wrong. */ + You need only define this macro if the default of "-lm" is wrong. */ /* #define MATH_LIBRARY */ /* Define the information needed to generate branch and scc insns. This is