From 1ac7a7f5e9fd9af28e1f627fd9060aec7807323c Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Thu, 15 Apr 1999 04:22:04 +0000 Subject: [PATCH] c4x.h: Tweaked comment formatting. * config/c4x/c4x.h: Tweaked comment formatting. * config/c4x/c4x.c: Likewise. From-SVN: r26470 --- gcc/ChangeLog | 5 +++++ gcc/config/c4x/c4x.c | 12 ++++++------ gcc/config/c4x/c4x.h | 44 ++++++++++++++++++++++---------------------- 3 files changed, 33 insertions(+), 28 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d70c974e397..183159ed1a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 15 23:13:35 1999 Michael Hayes + + * config/c4x/c4x.h: Tweaked comment formatting. + * config/c4x/c4x.c: Likewise. + Thu Apr 15 02:45:19 1999 Mumit Khan * aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define. diff --git a/gcc/config/c4x/c4x.c b/gcc/config/c4x/c4x.c index 61cf7b70505..0b84e02826e 100644 --- a/gcc/config/c4x/c4x.c +++ b/gcc/config/c4x/c4x.c @@ -515,7 +515,7 @@ c4x_function_arg (cum, mode, type, named) cum->maxints = (cum->ints > 6 - cum->maxfloats) ? 6 - cum->maxfloats : cum->ints; - /* If there is no prototype, assume all the arguments are integers. */ + /* If there is no prototype, assume all the arguments are integers. */ if (! cum->prototype) cum->maxints = 6; @@ -1555,7 +1555,7 @@ rtx addr; op1 = eliminate_constant_term (op1, &offset); - /* ??? These costs need rethinking... */ + /* ??? These costs need rethinking... */ if (GET_CODE (op1) == LABEL_REF) return 3; @@ -2072,7 +2072,7 @@ c4x_rptb_nop_p (insn) /* If we have a jump instruction we should insert a NOP. If we hit repeat block top we should only insert a NOP if the loop - is empty. */ + is empty. */ if (GET_CODE (insn) == JUMP_INSN) return 1; insn = previous_insn (insn); @@ -2138,7 +2138,7 @@ c4x_process_after_reload (first) continue; /* Insert the RTX for RPTB at the top of the loop - and a label at the end of the loop. */ + and a label at the end of the loop. */ if (insn_code_number == CODE_FOR_rptb_end) c4x_rptb_insert(insn); @@ -3270,7 +3270,7 @@ c4x_address_conflict (op0, op1, store0, store1) return 1; /* We can not optimize the case where op1 and op2 refer to the same - address. */ + address. */ if (base0 == base1 && disp0 == disp1 && index0 == index1) return 1; @@ -3580,7 +3580,7 @@ c4x_valid_operands (code, operands, mode, force) return 0; break; - /* Any valid memory operand screened by src_operand is OK. */ + /* Any valid memory operand screened by src_operand is OK. */ case MEM: /* After CSE, any remaining (ADDRESSOF:P reg) gets converted diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index 743e8e862fe..67ac4a0cd87 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -67,7 +67,7 @@ %{mcpu=31:--architecture c3x} \ %{mcpu=32:--architecture c3x}" -/* Define C preprocessor options. */ +/* Define C preprocessor options. */ #define CPP_SPEC "\ %{!m30:%{!m31:%{!m32:%{!mcpu=30:%{!mcpu=31:%{!mcpu=32:%{!mcpu=40:%{!mcpu=44:\ @@ -88,7 +88,7 @@ %{!msmall:%{!mbig:-D_BIGMODEL }} \ %{finline-functions:-D_INLINE }" -/* Specify the startup file to link with. */ +/* Specify the startup file to link with. */ #define STARTFILE_SPEC "\ %{!mmemparm:%{m30:%{msmall:crt0_3sr%O%s} %{!msmall:crt0_3br%O%s}}} \ @@ -256,7 +256,7 @@ /* Default target switches */ -/* Play safe, not the fastest code. */ +/* Play safe, not the fastest code. */ #define TARGET_DEFAULT ALIASES_FLAG | PARALLEL_PACK_FLAG \ | PARALLEL_MPY_FLAG | RPTB_FLAG @@ -307,7 +307,7 @@ extern int target_flags; /* -mrpts allows the use of the RPTS instruction irregardless. -mrpts=max-cycles will use RPTS if the number of cycles is constant - and less than max-cycles. */ + and less than max-cycles. */ #define TARGET_RPTS_CYCLES(CYCLES) (TARGET_RPTS || (CYCLES) < c4x_rpts_cycles) @@ -344,7 +344,7 @@ extern char *c4x_rpts_cycles_string, *c4x_cpu_version_string; on a particular target machine. You can define a macro `OVERRIDE_OPTIONS' to take account of this. This macro, if defined, is executed once just after all the command options have - been parsed. */ + been parsed. */ extern void c4x_override_options (); #define OVERRIDE_OPTIONS c4x_override_options () @@ -364,7 +364,7 @@ extern void c4x_optimization_options (); #define WORDS_BIG_ENDIAN 0 /* Technically, we are little endian, but we put the floats out as - whole longs and this makes GCC put them out in the right order. */ + whole longs and this makes GCC put them out in the right order. */ #define FLOAT_WORDS_BIG_ENDIAN 1 @@ -372,7 +372,7 @@ extern void c4x_optimization_options (); all integral and floating point data types are stored in memory as 32-bits (floating point types can be stored as 40-bits in the extended precision registers), so sizeof(char) = sizeof(short) = - sizeof(int) = sizeof(long) = sizeof(float) = sizeof(double) = 1. */ + sizeof(int) = sizeof(long) = sizeof(float) = sizeof(double) = 1. */ #define BITS_PER_UNIT 32 #define BITS_PER_WORD 32 @@ -393,7 +393,7 @@ extern void c4x_optimization_options (); #define BITS_PER_LO_SUM 16 /* Use the internal floating point stuff in the compiler and not the - host floating point stuff. */ + host floating point stuff. */ #define REAL_ARITHMETIC @@ -535,7 +535,7 @@ extern void c4x_optimization_options (); #define IS_RC_OR_PSEUDO_REGNO(op) (IS_RC_OR_PSEUDO_REG(REGNO(op))) /* 1 for registers that have pervasive standard uses - and are not available for the register allocator. */ + and are not available for the register allocator. */ #define FIXED_REGISTERS \ { \ @@ -564,7 +564,7 @@ extern void c4x_optimization_options (); 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 \ } -/* Macro to conditionally modify fixed_regs/call_used_regs. */ +/* Macro to conditionally modify fixed_regs/call_used_regs. */ #define CONDITIONAL_REGISTER_USAGE \ { \ @@ -627,7 +627,7 @@ extern void c4x_optimization_options (); ((CLASS) == INDEX_REGS) /* CCmode is wrongly defined in machmode.def It should have a size - of UNITS_PER_WORD. */ + of UNITS_PER_WORD. */ #define HARD_REGNO_NREGS(REGNO, MODE) \ (((MODE) == CCmode || (MODE) == CC_NOOVmode) ? 1 : ((MODE) == HFmode) ? 1 : \ @@ -1013,7 +1013,7 @@ c4x_secondary_memory_needed(CLASS1, CLASS2, MODE) /* Basic Stack Layout */ /* The stack grows upward, stack frame grows upward, and args grow - downward. */ + downward. */ #define STARTING_FRAME_OFFSET C4X_LOC0 #define FIRST_PARM_OFFSET(FNDECL) (C4X_ARG0 + 1) @@ -1128,7 +1128,7 @@ extern struct rtx_def *c4x_function_arg(); #define FUNCTION_ARG_PARTIAL_NREGS(CUM, MODE, TYPE, NAMED) 0 -/* 1 if N is a possible register number for function argument passing. */ +/* 1 if N is a possible register number for function argument passing. */ #define FUNCTION_ARG_REGNO_P(REGNO) \ ( ( ((REGNO) == AR2_REGNO) /* AR2 */ \ @@ -1566,7 +1566,7 @@ extern struct rtx_def *c4x_function_arg(); /* CC_NOOVmode should be used when the first operand is a PLUS, MINUS, NEG or MULT. - CCmode should be used when no special processing is needed. */ + CCmode should be used when no special processing is needed. */ #define SELECT_CC_MODE(OP,X,Y) \ ((GET_CODE (X) == PLUS || GET_CODE (X) == MINUS \ || GET_CODE (X) == NEG || GET_CODE (X) == MULT \ @@ -1841,7 +1841,7 @@ if (REG_P (OP1) && ! REG_P (OP0)) \ #define WORD_REGISTER_OPERATIONS -/* Dividing the Output into Sections */ +/* Dividing the Output into Sections. */ #define TEXT_SECTION_ASM_OP "\t.text" @@ -1852,7 +1852,7 @@ if (REG_P (OP1) && ! REG_P (OP0)) \ #define CONST_SECTION_ASM_OP "\t.sect\t\".const\"" /* Do not use .init section so __main will be called on startup. This will - call __do_global_ctors and prepare for __do_global_dtors on exit. */ + call __do_global_ctors and prepare for __do_global_dtors on exit. */ #if 0 #define INIT_SECTION_ASM_OP "\t.sect\t\".init\"" @@ -1866,7 +1866,7 @@ if (REG_P (OP1) && ! REG_P (OP0)) \ READONLY_DATA_SECTION (giving it some code which switches to the readonly data section) or else you can #define the symbols EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, and - SELECT_RTX_SECTION. We do both here just to be on the safe side. */ + SELECT_RTX_SECTION. We do both here just to be on the safe side. */ /* Define a few machine-specific details of the implementation of constructors. @@ -1892,7 +1892,7 @@ do { \ (*--p) (); \ } while (0) -/* The TI tooling uses atexit. */ +/* The TI tooling uses atexit. */ #define HAVE_ATEXIT #undef EXTRA_SECTIONS @@ -2067,7 +2067,7 @@ dtors_section () \ /* We need to have a data section we can identify so that we can set the DP register back to a data pointer in the small memory model. This is only required for ISRs if we are paranoid that someone - may have quietly changed this register on the sly. */ + may have quietly changed this register on the sly. */ #define ASM_IDENTIFY_GCC(FILE) \ if (! TARGET_TI) fputs ("gcc2_compiled.:\n", FILE); \ @@ -2283,7 +2283,7 @@ extern void c4x_print_operand (); #define PRINT_OPERAND(FILE, X, CODE) c4x_print_operand(FILE, X, CODE) /* Determine which codes are valid without a following integer. These must - not be alphabetic. */ + not be alphabetic. */ #define PRINT_OPERAND_PUNCT_VALID_P(CODE) ((CODE) == '#') @@ -2318,7 +2318,7 @@ extern int c4x_valid_type_attribute_p (); #define ASM_NO_SKIP_IN_TEXT 1 -/* I'm not sure about this one. FIXME. */ +/* I'm not sure about this one. FIXME. */ #define ASM_OUTPUT_ALIGN(FILE, LOG) \ if ((LOG) != 0) \ @@ -2515,7 +2515,7 @@ do { fprintf (asm_out_file, "\t.sdef\t"); \ #define MOVE_MAX 1 /* MOVE_RATIO is the number of move instructions that is better than a - block move. */ + block move. */ #define MOVE_RATIO 2 /* Default value */ -- 2.30.2