Commit d001241c by Jan-Benedict Glaw Committed by John David Anglin

vax.c: (override_options) Remove 'register' keyword.

	* config/vax/vax.c: (override_options) Remove 'register' keyword.
	(split_quadword_operands) Likewise. (rev_cond_name) Likewise.
	(vax_float_literal) Likewise. (vax_rtx_costs) Remove trailing
	whitespace.
	* config/vax/vax.h: Remove 'register' keyword. Misc. whitespace fixes,
	mostly removal of trailing spaces...
	* config/vax/vax-modes.def: Remove trailing whitespace.

From-SVN: r99701
parent 0b55eafa
2005-05-14 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config/vax/vax.c: (override_options) Remove 'register' keyword.
(split_quadword_operands) Likewise. (rev_cond_name) Likewise.
(vax_float_literal) Likewise. (vax_rtx_costs) Remove trailing
whitespace.
* config/vax/vax.h: Remove 'register' keyword. Misc. whitespace fixes,
mostly removal of trailing spaces...
* config/vax/vax-modes.def: Remove trailing whitespace.
* config/vax/elf.h: Update whitespace.
2005-05-14 Richard Guenther <rguenth@gcc.gnu.org>
......
......@@ -112,8 +112,8 @@ override_options (void)
static void
vax_output_function_prologue (FILE * file, HOST_WIDE_INT size)
{
register int regno;
register int mask = 0;
int regno;
int mask = 0;
for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
if (regs_ever_live[regno] && !call_used_regs[regno])
......@@ -199,9 +199,9 @@ split_quadword_operands (rtx * operands, rtx * low, int n ATTRIBUTE_UNUSED)
}
void
print_operand_address (FILE * file, register rtx addr)
print_operand_address (FILE * file, rtx addr)
{
register rtx reg1, breg, ireg;
rtx reg1, breg, ireg;
rtx offset;
retry:
......@@ -411,9 +411,9 @@ rev_cond_name (rtx op)
}
int
vax_float_literal(register rtx c)
vax_float_literal(rtx c)
{
register enum machine_mode mode;
enum machine_mode mode;
REAL_VALUE_TYPE r, s;
int i;
......@@ -457,7 +457,7 @@ vax_float_literal(register rtx c)
static int
vax_address_cost_1 (register rtx addr)
vax_address_cost_1 (rtx addr)
{
int reg = 0, indexed = 0, indir = 0, offset = 0, predec = 0;
rtx plus_op0 = 0, plus_op1 = 0;
......
......@@ -226,7 +226,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
/* Give names of register classes as strings for dump file. */
#define REG_CLASS_NAMES \
{"NO_REGS", "ALL_REGS" }
{ "NO_REGS", "ALL_REGS" }
/* Define which registers fit in which classes.
This is an initializer for a vector of HARD_REG_SET
......@@ -349,7 +349,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
On the VAX, the RET insn pops a maximum of 255 args for any function. */
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
((SIZE) > 255*4 ? 0 : (SIZE))
((SIZE) > 255 * 4 ? 0 : (SIZE))
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
......@@ -531,9 +531,9 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
has been allocated, which happens in local-alloc.c. */
#define REGNO_OK_FOR_INDEX_P(regno) \
((regno) < FIRST_PSEUDO_REGISTER || reg_renumber[regno] >= 0)
((regno) < FIRST_PSEUDO_REGISTER || reg_renumber[regno] >= 0)
#define REGNO_OK_FOR_BASE_P(regno) \
((regno) < FIRST_PSEUDO_REGISTER || reg_renumber[regno] >= 0)
((regno) < FIRST_PSEUDO_REGISTER || reg_renumber[regno] >= 0)
/* Maximum number of registers that can appear in a valid memory address. */
......@@ -574,7 +574,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
/* GO_IF_LEGITIMATE_ADDRESS recognizes an RTL expression
that is a valid memory address for an instruction. */
#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \
{ if (legitimate_address_p ((MODE), (X), 0)) goto ADDR; }
{ if (legitimate_address_p ((MODE), (X), 0)) goto ADDR; }
#else
......@@ -587,7 +587,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
/* GO_IF_LEGITIMATE_ADDRESS recognizes an RTL expression
that is a valid memory address for an instruction. */
#define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \
{ if (legitimate_address_p ((MODE), (X), 1)) goto ADDR; }
{ if (legitimate_address_p ((MODE), (X), 1)) goto ADDR; }
#endif
......@@ -669,9 +669,10 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
vax_notice_update_cc ((EXP), (INSN))
#define OUTPUT_JUMP(NORMAL, FLOAT, NO_OV) \
{ if (cc_status.flags & CC_NO_OVERFLOW) \
{ if (cc_status.flags & CC_NO_OVERFLOW) \
return NO_OV; \
return NORMAL; }
return NORMAL; \
}
/* Control the assembler format that we output. */
......@@ -705,8 +706,8 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
#define REGISTER_PREFIX ""
#define REGISTER_NAMES \
{"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", \
"r9", "r10", "r11", "ap", "fp", "sp", "pc"}
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
"r8", "r9", "r10", "r11", "ap", "fp", "sp", "pc", }
/* This is BSD, so it wants DBX format. */
......@@ -812,7 +813,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
to define a global common symbol. */
#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
( fputs (".comm ", (FILE)), \
( fputs (".comm ", (FILE)), \
assemble_name ((FILE), (NAME)), \
fprintf ((FILE), ",%u\n", (int)(ROUNDED)))
......@@ -820,7 +821,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
to define a local common symbol. */
#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \
( fputs (".lcomm ", (FILE)), \
( fputs (".lcomm ", (FILE)), \
assemble_name ((FILE), (NAME)), \
fprintf ((FILE), ",%u\n", (int)(ROUNDED)))
......@@ -829,7 +830,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
LABELNO is an integer which is different for each call. */
#define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \
( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \
( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \
sprintf ((OUTPUT), "%s.%d", (NAME), (LABELNO)))
/* Print an instruction operand X on file FILE.
......@@ -916,3 +917,4 @@ VAX operand formatting codes:
actually have any code whatsoever for which this isn't overridden
by the proper FDE definition. */
#define INCOMING_RETURN_ADDR_RTX gen_rtx_REG (Pmode, PC_REGNUM)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment