* alias.c: Fix comment formatting.
* recog.c: Likewise.
* config/cris/cris.c: Likewise.
* config/cris/cris.h: Likewise.
* config/i960/i960.c: Likewise.
* config/i960/i960.h: Likewise.
From-SVN: r46640
+2001-10-30 Kazu Hirata <kazu@hxi.com>
+
+ * alias.c: Fix comment formatting.
+ * recog.c: Likewise.
+ * config/cris/cris.c: Likewise.
+ * config/cris/cris.h: Likewise.
+ * config/i960/i960.c: Likewise.
+ * config/i960/i960.h: Likewise.
+
2001-10-30 Kazu Hirata <kazu@hxi.com>
* config/arm/arm.c: Fix a comment typo.
if (decl && DECL_POINTER_ALIAS_SET_KNOWN_P (decl))
{
- /* If we haven't computed the actual alias set, do it now. */
+ /* If we haven't computed the actual alias set, do it now. */
if (DECL_POINTER_ALIAS_SET (decl) == -2)
{
/* No two restricted pointers can point at the same thing.
cfa_write_offset -= size;
/* Get a contiguous sequence of registers, starting with r0, that need
- to be saved. */
+ to be saved. */
for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
{
if ((((regs_ever_live[regno]
else
{
/* Avoid printing multiple subsequent sub:s for sp. FIXME:
- Clean up the conditional expression. */
+ Clean up the conditional expression. */
fprintf (file, "\tsub%s %d,$sp\n",
ADDITIVE_SIZE_MODIFIER ((last_movem_reg + 1) * 4 + size),
(last_movem_reg + 1) * 4 + size);
const char *fmt;
RTX_CODE code;
- /* Mainly stolen from refers_to_regno_p in rtlanal.c. */
+ /* Mainly stolen from refers_to_regno_p in rtlanal.c. */
code = GET_CODE (x);
them. */
if (pretend)
{
- /* Since srp is stored on the way, we need to restore it first. */
+ /* Since srp is stored on the way, we need to restore it first. */
if (return_address_on_stack)
{
if (*save_last && file)
ADDITIVE_SIZE_MODIFIER (pretend), pretend);
}
- /* Here's where we have a delay-slot we need to fill. */
+ /* Here's where we have a delay-slot we need to fill. */
if (file && current_function_epilogue_delay_list)
{
/* If gcc has allocated an insn for the epilogue delay slot, but
return;
case 0:
- /* No code, print as usual. */
+ /* No code, print as usual. */
break;
default:
}
}
- /* Print an operand as without a modifier letter. */
+ /* Print an operand as without a modifier letter. */
switch (GET_CODE (operand))
{
case REG:
&& toreg == STACK_POINTER_REGNUM)
return fp_sp_offset;
- /* We need to balance out the frame pointer here. */
+ /* We need to balance out the frame pointer here. */
if (fromreg == ARG_POINTER_REGNUM
&& toreg == STACK_POINTER_REGNUM)
return ap_fp_offset + fp_sp_offset - 4;
return;
/* Record CC0 changes, so we do not have to output multiple
- test insns. */
+ test insns. */
if (SET_DEST (exp) == cc0_rtx)
{
cc_status.value1 = SET_SRC (exp);
cc_status.value2 = 0;
- /* Handle flags for the special btstq on one bit. */
+ /* Handle flags for the special btstq on one bit. */
if (GET_CODE (SET_SRC (exp)) == ZERO_EXTRACT
&& XEXP (SET_SRC (exp), 1) == const1_rtx)
{
&& XEXP (SET_SRC (exp), 1) != const0_rtx)
/* For some reason gcc will not canonicalize compare
operations, reversing the sign by itself if
- operands are in wrong order. */
+ operands are in wrong order. */
/* (But NOT inverted; eq is still eq.) */
cc_status.flags = CC_REVERSED;
&& REG_P (XEXP (SET_DEST (exp), 0))))
{
/* A register is set; normally CC is set to show that no
- test insn is needed. Catch the exceptions. */
+ test insn is needed. Catch the exceptions. */
/* If not to cc0, then no "set"s in non-natural mode give
ok cc0... */
if (GET_MODE_SIZE (GET_MODE (SET_DEST (exp))) > UNITS_PER_WORD
|| GET_MODE_CLASS (GET_MODE (SET_DEST (exp))) == MODE_FLOAT)
{
- /* ... except add:s and sub:s in DImode. */
+ /* ... except add:s and sub:s in DImode. */
if (GET_MODE (SET_DEST (exp)) == DImode
&& (GET_CODE (SET_SRC (exp)) == PLUS
|| GET_CODE (SET_SRC (exp)) == MINUS))
/* If to use condition-codes generated by insns other than the
immediately preceding compare/test insn.
- Used to check for errors in notice_update_cc. */
+ Used to check for errors in notice_update_cc. */
#define TARGET_MASK_CCINIT 2
#define TARGET_CCINIT (target_flags & TARGET_MASK_CCINIT)
#define FUNCTION_BOUNDARY 16
/* Do not change BIGGEST_ALIGNMENT (when optimizing), as it will affect
- strange places, at least in 2.1. */
+ strange places, at least in 2.1. */
#define BIGGEST_ALIGNMENT 8
/* If -m16bit, -m16-bit, -malign or -mdata-align,
- align everything to 16 bit. */
+ align everything to 16 bit. */
#define DATA_ALIGNMENT(TYPE, BASIC_ALIGN) \
(TARGET_DATA_ALIGN \
? (TARGET_ALIGN_BY_32 \
0)
/* It is really simple to make up a 0.0; it is the same as int-0 in
- IEEE754. */
+ IEEE754. */
#define CONST_DOUBLE_OK_FOR_LETTER_P(VALUE, C) \
((C) == 'G' && ((VALUE) == CONST0_RTX (DFmode) \
|| (VALUE) == CONST0_RTX (SFmode)))
#define STACK_POINTER_REGNUM 14
/* Register used for frame pointer. This is also the last of the saved
- registers, when a frame pointer is not used. */
+ registers, when a frame pointer is not used. */
#define FRAME_POINTER_REGNUM 8
/* Faked register, is always eliminated. We need it to eliminate
Anyway, trampolines are rare enough that we can cope with this
somewhat lack of elegance.
(Do not be tempted to "straighten up" whitespace in the asms; the
- assembler #NO_APP state mandates strict spacing). */
+ assembler #NO_APP state mandates strict spacing). */
#define TRAMPOLINE_TEMPLATE(FILE) \
do \
{ \
/* CRIS wants instructions on word-boundary.
Note that due to a bug (reported) in 2.7.2 and earlier, this is
actually treated as alignment in _bytes_, not _bits_. (Obviously
- this is not fatal, only a slight waste of stack space). */
+ this is not fatal, only a slight waste of stack space). */
#define TRAMPOLINE_ALIGNMENT 16
#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
\
if (REGNO (XEXP (X, 1)) >= FIRST_PSEUDO_REGISTER) \
{ \
- /* Second reg is pseudo, reload it. */ \
+ /* Second reg is pseudo, reload it. */ \
push_reload (XEXP (X, 1), NULL_RTX, &XEXP (X, 1), \
NULL, \
GENERAL_REGS, GET_MODE (X), VOIDmode, 0, 0, \
&& (REGNO (XEXP (XEXP (X, 0), 0)) \
>= FIRST_PSEUDO_REGISTER)) \
{ \
- /* First one is a pseudo - reload that. */ \
+ /* First one is a pseudo - reload that. */ \
push_reload (XEXP (XEXP (X, 0), 0), NULL_RTX, \
&XEXP (XEXP (X, 0), 0), NULL, \
GENERAL_REGS, \
while (0)
/* This is what is used by gcc for 64-bit floats,
- not the "long double" one. */
+ not the "long double" one. */
#define ASM_OUTPUT_DOUBLE(FILE, VALUE) \
ASM_OUTPUT_LONG_DOUBLE (FILE, VALUE)
#define IS_ASM_LOGICAL_LINE_SEPARATOR(C) (C) == '@'
-/* FIXME: These are undocumented. */
+/* FIXME: These are undocumented. */
/* We need to define these, since the 2byte, 4byte, 8byte op:s are only
available in ELF. These "normal" pseudos do not have any alignment
constraints or side-effects. */
/* Node: DBX Options */
-/* Is this correct? Check later. */
+/* Is this correct? Check later. */
#define DBX_NO_XREFS
#define DBX_CONTIN_LENGTH 0
Return 1 if we have written out everything that needs to be done to
do the move. Otherwise, return 0 and the caller will emit the move
- normally. */
+ normally. */
int
emit_move_sequence (operands, mode)
&& (operands[1] != const0_rtx || current_function_args_size
|| current_function_varargs || current_function_stdarg
|| rtx_equal_function_value_matters))
- /* Here we use the same test as movsi+1 pattern -- see i960.md. */
+ /* Here we use the same test as movsi+1 pattern -- see i960.md. */
operands[1] = force_reg (mode, operands[1]);
/* Storing multi-word values in unaligned hard registers to memory may
leaf_proc_ok = 0;
}
- /* See if caller passes in an address to return value. */
+ /* See if caller passes in an address to return value. */
if (aggregate_value_p (DECL_RESULT (fndecl)))
{
}
/* Here register group is range of registers which can be moved by
- one i960 instruction. */
+ one i960 instruction. */
struct reg_group
{
/* The following functions forms the biggest as possible register
groups with registers in STATE. REGS contain states of the
registers in range [start, finish_reg). The function returns the
- number of groups formed. */
+ number of groups formed. */
static int
i960_form_reg_groups (start_reg, finish_reg, regs, state, reg_groups)
int start_reg;
return nw;
}
-/* We sort register winodws in descending order by length. */
+/* We sort register winodws in descending order by length. */
static int
i960_reg_group_compare (group1, group2)
const void *group1;
/* Split the first register group in REG_GROUPS on subgroups one of
which will contain SUBGROUP_LENGTH registers. The function
- returns new number of winodws. */
+ returns new number of winodws. */
static int
i960_split_reg_group (reg_groups, nw, subgroup_length)
struct reg_group *reg_groups;
/* This guarantees correct alignments of the two subgroups for
i960 (see spliting for the group length 2, 3, 4). More
generalized algorithm would require splitting the group more
- two subgroups. */
+ two subgroups. */
subgroup_length = reg_groups->length - subgroup_length;
/* More generalized algorithm would require to try merging
subgroups here. But in case i960 it always results in failure
- because of register group alignment. */
+ because of register group alignment. */
reg_groups[nw].length = reg_groups->length - subgroup_length;
reg_groups[nw].start_reg = reg_groups->start_reg + subgroup_length;
nw++;
/* -1 if reg must be saved on proc entry, 0 if available, 1 if saved
somewhere. */
int regs[FIRST_PSEUDO_REGISTER];
- /* All global registers (which must be saved) divided by groups. */
+ /* All global registers (which must be saved) divided by groups. */
struct reg_group global_reg_groups [16];
- /* All local registers (which are available) divided by groups. */
+ /* All local registers (which are available) divided by groups. */
struct reg_group local_reg_groups [16];
\f
#if 0
/* Return the most stringent alignment that we are willing to consider
- objects of size SIZE and known alignment ALIGN as having. */
+ objects of size SIZE and known alignment ALIGN as having. */
int
i960_alignment (size, align)
case SYMBOL_REF:
/* If this is a valid program, objects are guaranteed to be
- correctly aligned for whatever size the reference actually is. */
+ correctly aligned for whatever size the reference actually is. */
align = i960_object_bytes_bitalign (size) / BITS_PER_UNIT;
break;
If there are no stack arguments but there are exactly NPARM_REGS
registers, either there were no extra arguments or the caller
- allocated an argument block. */
+ allocated an argument block. */
if (cum->ca_nstackparms == 0 && first_reg < NPARM_REGS && !no_rtl)
{
that -O means FP elimination. Addressing through sp requires
negative offset and more one word addressing in the most cases
(offsets except for 0-4095 require one more word). Therefore we've
- not defined the macro. */
+ not defined the macro. */
/*#define CAN_DEBUG_WITHOUT_FP*/
/* Do leaf procedure and tail call optimizations for -O2 and higher. */
/* The following three are mainly used to provide a little sanity checking
against the -mARCH flags given. The Jx series, for the purposes of
- gcc, is a Kx with a data cache. */
+ gcc, is a Kx with a data cache. */
/* Nonzero if we should generate code for the KA and similar processors.
No FPU, no microcode instructions. */
#define POINTER_SIZE 32
/* Width in bits of a long double. Define to 96, and let
- ROUND_TYPE_ALIGN adjust the alignment for speed. */
+ ROUND_TYPE_ALIGN adjust the alignment for speed. */
#define LONG_DOUBLE_TYPE_SIZE (TARGET_LONG_DOUBLE_64 ? 64 : 96)
/* ??? This must be a constant, because real.c and real.h test it with #if. */
This is an array of structures. Each structure initializes one pair
of eliminable registers. The "from" register number is given first,
followed by "to". Eliminations of the same "from" register are listed
- in order of preference.. */
+ in order of preference.. */
#define ELIMINABLE_REGS {{FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM}}
In each case, scale can be 1, 2, 4, 8, or 16. */
-/* Returns 1 if the scale factor of an index term is valid. */
+/* Returns 1 if the scale factor of an index term is valid. */
#define SCALE_TERM_P(X) \
(GET_CODE (X) == CONST_INT \
&& (INTVAL (X) == 1 || INTVAL (X) == 2 || INTVAL (X) == 4 \
/* 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. */
/* Nonzero if access to memory by bytes is no faster than for words.
Value changed to 1 after reports of poor bitfield code with g++.
- Indications are that code is usually as good, sometimes better. */
+ Indications are that code is usually as good, sometimes better. */
#define SLOW_BYTE_ACCESS 1
#define STORE_FLAG_VALUE 1
/* Define this to be nonzero if shift instructions ignore all but the low-order
- few bits. */
+ few bits. */
#define SHIFT_COUNT_TRUNCATED 0
/* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits
#define DBX_CONTIN_LENGTH 1500
/* This is how to output a note to DBX telling it the line number
- to which the following sequence of instructions corresponds. */
+ to which the following sequence of instructions corresponds. */
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
{ if (write_symbols == SDB_DEBUG) { \
assemble_name (FILE, NAME); \
fputs ("\n", FILE); }
-/* The prefix to add to user-visible assembler symbols. */
+/* The prefix to add to user-visible assembler symbols. */
#define USER_LABEL_PREFIX "_"
XEXP (note, 0),
REG_NOTES (new_insn));
default:
- /* Discard all other reg notes. */
+ /* Discard all other reg notes. */
break;
}