Commit 8d531ab9 by Kazu Hirata Committed by Kazu Hirata

i386-interix.h: Remove uses of "register" specifier in declarations of arguments and local...

	* config/i386/i386-interix.h: Remove uses of "register"
	specifier in declarations of arguments and local variables.
	* config/i386/i386.c: Likewise.
	* config/i386/i386elf.h: Likewise.
	* config/i386/ptx4-i.h: Likewise.
	* config/i386/sysv4.h: Likewise.

From-SVN: r75170
parent 632e19ec
2003-12-27 Kazu Hirata <kazu@cs.umass.edu>
* config/i386/i386-interix.h: Remove uses of "register"
specifier in declarations of arguments and local variables.
* config/i386/i386.c: Likewise.
* config/i386/i386elf.h: Likewise.
* config/i386/ptx4-i.h: Likewise.
* config/i386/sysv4.h: Likewise.
2003-12-26 Fariborz Jahanian <fjahanian@apple.com> 2003-12-26 Fariborz Jahanian <fjahanian@apple.com>
Geoffrey Keating <geoffk@apple.com> Geoffrey Keating <geoffk@apple.com>
David Edelsohn <edelsohn@gnu.org> David Edelsohn <edelsohn@gnu.org>
......
...@@ -145,13 +145,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -145,13 +145,13 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_LIMITED_STRING(FILE, STR) \ #define ASM_OUTPUT_LIMITED_STRING(FILE, STR) \
do \ do \
{ \ { \
register const unsigned char *_limited_str = \ const unsigned char *_limited_str = \
(const unsigned char *) (STR); \ (const unsigned char *) (STR); \
register unsigned ch; \ unsigned ch; \
fprintf ((FILE), "%s\"", STRING_ASM_OP); \ fprintf ((FILE), "%s\"", STRING_ASM_OP); \
for (; (ch = *_limited_str); _limited_str++) \ for (; (ch = *_limited_str); _limited_str++) \
{ \ { \
register int escape = ESCAPES[ch]; \ int escape = ESCAPES[ch]; \
switch (escape) \ switch (escape) \
{ \ { \
case 0: \ case 0: \
...@@ -181,13 +181,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -181,13 +181,13 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do \ do \
{ \ { \
register const unsigned char *_ascii_bytes = \ const unsigned char *_ascii_bytes = \
(const unsigned char *) (STR); \ (const unsigned char *) (STR); \
register const unsigned char *limit = _ascii_bytes + (LENGTH); \ const unsigned char *limit = _ascii_bytes + (LENGTH); \
register unsigned bytes_in_chunk = 0; \ unsigned bytes_in_chunk = 0; \
for (; _ascii_bytes < limit; _ascii_bytes++) \ for (; _ascii_bytes < limit; _ascii_bytes++) \
{ \ { \
register const unsigned char *p; \ const unsigned char *p; \
if (bytes_in_chunk >= 64) \ if (bytes_in_chunk >= 64) \
{ \ { \
fputc ('\n', (FILE)); \ fputc ('\n', (FILE)); \
......
...@@ -3441,7 +3441,7 @@ const_int_1_31_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3441,7 +3441,7 @@ const_int_1_31_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
reference and a constant. */ reference and a constant. */
int int
symbolic_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
switch (GET_CODE (op)) switch (GET_CODE (op))
{ {
...@@ -3485,7 +3485,7 @@ symbolic_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3485,7 +3485,7 @@ symbolic_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
/* Return true if the operand contains a @GOT or @GOTOFF reference. */ /* Return true if the operand contains a @GOT or @GOTOFF reference. */
int int
pic_symbolic_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) pic_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
if (GET_CODE (op) != CONST) if (GET_CODE (op) != CONST)
return 0; return 0;
...@@ -3548,7 +3548,7 @@ local_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3548,7 +3548,7 @@ local_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
/* Test for various thread-local symbols. */ /* Test for various thread-local symbols. */
int int
tls_symbolic_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) tls_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
if (GET_CODE (op) != SYMBOL_REF) if (GET_CODE (op) != SYMBOL_REF)
return 0; return 0;
...@@ -3564,29 +3564,27 @@ tls_symbolic_operand_1 (rtx op, enum tls_model kind) ...@@ -3564,29 +3564,27 @@ tls_symbolic_operand_1 (rtx op, enum tls_model kind)
} }
int int
global_dynamic_symbolic_operand (register rtx op, global_dynamic_symbolic_operand (rtx op,
enum machine_mode mode ATTRIBUTE_UNUSED) enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return tls_symbolic_operand_1 (op, TLS_MODEL_GLOBAL_DYNAMIC); return tls_symbolic_operand_1 (op, TLS_MODEL_GLOBAL_DYNAMIC);
} }
int int
local_dynamic_symbolic_operand (register rtx op, local_dynamic_symbolic_operand (rtx op,
enum machine_mode mode ATTRIBUTE_UNUSED) enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return tls_symbolic_operand_1 (op, TLS_MODEL_LOCAL_DYNAMIC); return tls_symbolic_operand_1 (op, TLS_MODEL_LOCAL_DYNAMIC);
} }
int int
initial_exec_symbolic_operand (register rtx op, initial_exec_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return tls_symbolic_operand_1 (op, TLS_MODEL_INITIAL_EXEC); return tls_symbolic_operand_1 (op, TLS_MODEL_INITIAL_EXEC);
} }
int int
local_exec_symbolic_operand (register rtx op, local_exec_symbolic_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return tls_symbolic_operand_1 (op, TLS_MODEL_LOCAL_EXEC); return tls_symbolic_operand_1 (op, TLS_MODEL_LOCAL_EXEC);
} }
...@@ -3657,13 +3655,13 @@ constant_call_address_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3657,13 +3655,13 @@ constant_call_address_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
/* Match exactly zero and one. */ /* Match exactly zero and one. */
int int
const0_operand (register rtx op, enum machine_mode mode) const0_operand (rtx op, enum machine_mode mode)
{ {
return op == CONST0_RTX (mode); return op == CONST0_RTX (mode);
} }
int int
const1_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) const1_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return op == const1_rtx; return op == const1_rtx;
} }
...@@ -3671,33 +3669,32 @@ const1_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3671,33 +3669,32 @@ const1_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
/* Match 2, 4, or 8. Used for leal multiplicands. */ /* Match 2, 4, or 8. Used for leal multiplicands. */
int int
const248_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) const248_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return (GET_CODE (op) == CONST_INT return (GET_CODE (op) == CONST_INT
&& (INTVAL (op) == 2 || INTVAL (op) == 4 || INTVAL (op) == 8)); && (INTVAL (op) == 2 || INTVAL (op) == 4 || INTVAL (op) == 8));
} }
int int
const_0_to_3_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) const_0_to_3_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 4); return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 4);
} }
int int
const_0_to_7_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) const_0_to_7_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 8); return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 8);
} }
int int
const_0_to_15_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) const_0_to_15_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 16); return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 16);
} }
int int
const_0_to_255_operand (register rtx op, const_0_to_255_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 256); return (GET_CODE (op) == CONST_INT && INTVAL (op) >= 0 && INTVAL (op) < 256);
} }
...@@ -3706,7 +3703,7 @@ const_0_to_255_operand (register rtx op, ...@@ -3706,7 +3703,7 @@ const_0_to_255_operand (register rtx op,
/* True if this is a constant appropriate for an increment or decrement. */ /* True if this is a constant appropriate for an increment or decrement. */
int int
incdec_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) incdec_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
/* On Pentium4, the inc and dec operations causes extra dependency on flag /* On Pentium4, the inc and dec operations causes extra dependency on flag
registers, since carry flag is not set. */ registers, since carry flag is not set. */
...@@ -3735,7 +3732,7 @@ shiftdi_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3735,7 +3732,7 @@ shiftdi_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
Which would only happen in pathological cases. */ Which would only happen in pathological cases. */
int int
reg_no_sp_operand (register rtx op, enum machine_mode mode) reg_no_sp_operand (rtx op, enum machine_mode mode)
{ {
rtx t = op; rtx t = op;
if (GET_CODE (t) == SUBREG) if (GET_CODE (t) == SUBREG)
...@@ -3747,7 +3744,7 @@ reg_no_sp_operand (register rtx op, enum machine_mode mode) ...@@ -3747,7 +3744,7 @@ reg_no_sp_operand (register rtx op, enum machine_mode mode)
} }
int int
mmx_reg_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) mmx_reg_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return MMX_REG_P (op); return MMX_REG_P (op);
} }
...@@ -3756,7 +3753,7 @@ mmx_reg_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3756,7 +3753,7 @@ mmx_reg_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
general_operand. */ general_operand. */
int int
general_no_elim_operand (register rtx op, enum machine_mode mode) general_no_elim_operand (rtx op, enum machine_mode mode)
{ {
rtx t = op; rtx t = op;
if (GET_CODE (t) == SUBREG) if (GET_CODE (t) == SUBREG)
...@@ -3777,7 +3774,7 @@ general_no_elim_operand (register rtx op, enum machine_mode mode) ...@@ -3777,7 +3774,7 @@ general_no_elim_operand (register rtx op, enum machine_mode mode)
register_operand or const_int. */ register_operand or const_int. */
int int
nonmemory_no_elim_operand (register rtx op, enum machine_mode mode) nonmemory_no_elim_operand (rtx op, enum machine_mode mode)
{ {
rtx t = op; rtx t = op;
if (GET_CODE (t) == SUBREG) if (GET_CODE (t) == SUBREG)
...@@ -3794,7 +3791,7 @@ nonmemory_no_elim_operand (register rtx op, enum machine_mode mode) ...@@ -3794,7 +3791,7 @@ nonmemory_no_elim_operand (register rtx op, enum machine_mode mode)
otherwise work like register_operand. */ otherwise work like register_operand. */
int int
index_register_operand (register rtx op, enum machine_mode mode) index_register_operand (rtx op, enum machine_mode mode)
{ {
rtx t = op; rtx t = op;
if (GET_CODE (t) == SUBREG) if (GET_CODE (t) == SUBREG)
...@@ -3815,7 +3812,7 @@ index_register_operand (register rtx op, enum machine_mode mode) ...@@ -3815,7 +3812,7 @@ index_register_operand (register rtx op, enum machine_mode mode)
/* Return true if op is a Q_REGS class register. */ /* Return true if op is a Q_REGS class register. */
int int
q_regs_operand (register rtx op, enum machine_mode mode) q_regs_operand (rtx op, enum machine_mode mode)
{ {
if (mode != VOIDmode && GET_MODE (op) != mode) if (mode != VOIDmode && GET_MODE (op) != mode)
return 0; return 0;
...@@ -3827,7 +3824,7 @@ q_regs_operand (register rtx op, enum machine_mode mode) ...@@ -3827,7 +3824,7 @@ q_regs_operand (register rtx op, enum machine_mode mode)
/* Return true if op is an flags register. */ /* Return true if op is an flags register. */
int int
flags_reg_operand (register rtx op, enum machine_mode mode) flags_reg_operand (rtx op, enum machine_mode mode)
{ {
if (mode != VOIDmode && GET_MODE (op) != mode) if (mode != VOIDmode && GET_MODE (op) != mode)
return 0; return 0;
...@@ -3837,7 +3834,7 @@ flags_reg_operand (register rtx op, enum machine_mode mode) ...@@ -3837,7 +3834,7 @@ flags_reg_operand (register rtx op, enum machine_mode mode)
/* Return true if op is a NON_Q_REGS class register. */ /* Return true if op is a NON_Q_REGS class register. */
int int
non_q_regs_operand (register rtx op, enum machine_mode mode) non_q_regs_operand (rtx op, enum machine_mode mode)
{ {
if (mode != VOIDmode && GET_MODE (op) != mode) if (mode != VOIDmode && GET_MODE (op) != mode)
return 0; return 0;
...@@ -3885,7 +3882,7 @@ vector_move_operand (rtx op, enum machine_mode mode) ...@@ -3885,7 +3882,7 @@ vector_move_operand (rtx op, enum machine_mode mode)
a segment override. */ a segment override. */
int int
no_seg_address_operand (register rtx op, enum machine_mode mode) no_seg_address_operand (rtx op, enum machine_mode mode)
{ {
struct ix86_address parts; struct ix86_address parts;
...@@ -3930,7 +3927,7 @@ sse_comparison_operator (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -3930,7 +3927,7 @@ sse_comparison_operator (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
} }
/* Return 1 if OP is a valid comparison operator in valid mode. */ /* Return 1 if OP is a valid comparison operator in valid mode. */
int int
ix86_comparison_operator (register rtx op, enum machine_mode mode) ix86_comparison_operator (rtx op, enum machine_mode mode)
{ {
enum machine_mode inmode; enum machine_mode inmode;
enum rtx_code code = GET_CODE (op); enum rtx_code code = GET_CODE (op);
...@@ -3971,7 +3968,7 @@ ix86_comparison_operator (register rtx op, enum machine_mode mode) ...@@ -3971,7 +3968,7 @@ ix86_comparison_operator (register rtx op, enum machine_mode mode)
/* Return 1 if OP is a valid comparison operator testing carry flag /* Return 1 if OP is a valid comparison operator testing carry flag
to be set. */ to be set. */
int int
ix86_carry_flag_operator (register rtx op, enum machine_mode mode) ix86_carry_flag_operator (rtx op, enum machine_mode mode)
{ {
enum machine_mode inmode; enum machine_mode inmode;
enum rtx_code code = GET_CODE (op); enum rtx_code code = GET_CODE (op);
...@@ -4003,7 +4000,7 @@ ix86_carry_flag_operator (register rtx op, enum machine_mode mode) ...@@ -4003,7 +4000,7 @@ ix86_carry_flag_operator (register rtx op, enum machine_mode mode)
/* Return 1 if OP is a comparison operator that can be issued by fcmov. */ /* Return 1 if OP is a comparison operator that can be issued by fcmov. */
int int
fcmov_comparison_operator (register rtx op, enum machine_mode mode) fcmov_comparison_operator (rtx op, enum machine_mode mode)
{ {
enum machine_mode inmode; enum machine_mode inmode;
enum rtx_code code = GET_CODE (op); enum rtx_code code = GET_CODE (op);
...@@ -4040,8 +4037,7 @@ fcmov_comparison_operator (register rtx op, enum machine_mode mode) ...@@ -4040,8 +4037,7 @@ fcmov_comparison_operator (register rtx op, enum machine_mode mode)
/* Return 1 if OP is a binary operator that can be promoted to wider mode. */ /* Return 1 if OP is a binary operator that can be promoted to wider mode. */
int int
promotable_binary_operator (register rtx op, promotable_binary_operator (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
switch (GET_CODE (op)) switch (GET_CODE (op))
{ {
...@@ -4065,7 +4061,7 @@ promotable_binary_operator (register rtx op, ...@@ -4065,7 +4061,7 @@ promotable_binary_operator (register rtx op,
into registers. */ into registers. */
int int
cmp_fp_expander_operand (register rtx op, enum machine_mode mode) cmp_fp_expander_operand (rtx op, enum machine_mode mode)
{ {
if (mode != VOIDmode && mode != GET_MODE (op)) if (mode != VOIDmode && mode != GET_MODE (op))
return 0; return 0;
...@@ -4077,7 +4073,7 @@ cmp_fp_expander_operand (register rtx op, enum machine_mode mode) ...@@ -4077,7 +4073,7 @@ cmp_fp_expander_operand (register rtx op, enum machine_mode mode)
/* Match an SI or HImode register for a zero_extract. */ /* Match an SI or HImode register for a zero_extract. */
int int
ext_register_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ext_register_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
int regno; int regno;
if ((!TARGET_64BIT || GET_MODE (op) != DImode) if ((!TARGET_64BIT || GET_MODE (op) != DImode)
...@@ -4096,7 +4092,7 @@ ext_register_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) ...@@ -4096,7 +4092,7 @@ ext_register_operand (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
OP is the expression matched, and MODE is its mode. */ OP is the expression matched, and MODE is its mode. */
int int
binary_fp_operator (register rtx op, enum machine_mode mode) binary_fp_operator (rtx op, enum machine_mode mode)
{ {
if (mode != VOIDmode && mode != GET_MODE (op)) if (mode != VOIDmode && mode != GET_MODE (op))
return 0; return 0;
...@@ -4115,13 +4111,13 @@ binary_fp_operator (register rtx op, enum machine_mode mode) ...@@ -4115,13 +4111,13 @@ binary_fp_operator (register rtx op, enum machine_mode mode)
} }
int int
mult_operator (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) mult_operator (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return GET_CODE (op) == MULT; return GET_CODE (op) == MULT;
} }
int int
div_operator (register rtx op, enum machine_mode mode ATTRIBUTE_UNUSED) div_operator (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
{ {
return GET_CODE (op) == DIV; return GET_CODE (op) == DIV;
} }
...@@ -4137,7 +4133,7 @@ arith_or_logical_operator (rtx op, enum machine_mode mode) ...@@ -4137,7 +4133,7 @@ arith_or_logical_operator (rtx op, enum machine_mode mode)
/* Returns 1 if OP is memory operand with a displacement. */ /* Returns 1 if OP is memory operand with a displacement. */
int int
memory_displacement_operand (register rtx op, enum machine_mode mode) memory_displacement_operand (rtx op, enum machine_mode mode)
{ {
struct ix86_address parts; struct ix86_address parts;
...@@ -4179,7 +4175,7 @@ cmpsi_operand (rtx op, enum machine_mode mode) ...@@ -4179,7 +4175,7 @@ cmpsi_operand (rtx op, enum machine_mode mode)
modRM array. */ modRM array. */
int int
long_memory_operand (register rtx op, enum machine_mode mode) long_memory_operand (rtx op, enum machine_mode mode)
{ {
if (! memory_operand (op, mode)) if (! memory_operand (op, mode))
return 0; return 0;
...@@ -4375,8 +4371,8 @@ standard_sse_constant_p (rtx x) ...@@ -4375,8 +4371,8 @@ standard_sse_constant_p (rtx x)
int int
symbolic_reference_mentioned_p (rtx op) symbolic_reference_mentioned_p (rtx op)
{ {
register const char *fmt; const char *fmt;
register int i; int i;
if (GET_CODE (op) == SYMBOL_REF || GET_CODE (op) == LABEL_REF) if (GET_CODE (op) == SYMBOL_REF || GET_CODE (op) == LABEL_REF)
return 1; return 1;
...@@ -4386,7 +4382,7 @@ symbolic_reference_mentioned_p (rtx op) ...@@ -4386,7 +4382,7 @@ symbolic_reference_mentioned_p (rtx op)
{ {
if (fmt[i] == 'E') if (fmt[i] == 'E')
{ {
register int j; int j;
for (j = XVECLEN (op, i) - 1; j >= 0; j--) for (j = XVECLEN (op, i) - 1; j >= 0; j--)
if (symbolic_reference_mentioned_p (XVECEXP (op, i, j))) if (symbolic_reference_mentioned_p (XVECEXP (op, i, j)))
...@@ -5052,7 +5048,7 @@ ix86_compute_frame_layout (struct ix86_frame *frame) ...@@ -5052,7 +5048,7 @@ ix86_compute_frame_layout (struct ix86_frame *frame)
static void static void
ix86_emit_save_regs (void) ix86_emit_save_regs (void)
{ {
register int regno; int regno;
rtx insn; rtx insn;
for (regno = FIRST_PSEUDO_REGISTER - 1; regno >= 0; regno--) for (regno = FIRST_PSEUDO_REGISTER - 1; regno >= 0; regno--)
...@@ -5429,7 +5425,7 @@ ix86_output_function_epilogue (FILE *file ATTRIBUTE_UNUSED, ...@@ -5429,7 +5425,7 @@ ix86_output_function_epilogue (FILE *file ATTRIBUTE_UNUSED,
strictly valid, but still used for computing length of lea instruction. */ strictly valid, but still used for computing length of lea instruction. */
static int static int
ix86_decompose_address (register rtx addr, struct ix86_address *out) ix86_decompose_address (rtx addr, struct ix86_address *out)
{ {
rtx base = NULL_RTX; rtx base = NULL_RTX;
rtx index = NULL_RTX; rtx index = NULL_RTX;
...@@ -5791,7 +5787,7 @@ legitimate_pic_operand_p (rtx x) ...@@ -5791,7 +5787,7 @@ legitimate_pic_operand_p (rtx x)
in PIC mode. */ in PIC mode. */
int int
legitimate_pic_address_disp_p (register rtx disp) legitimate_pic_address_disp_p (rtx disp)
{ {
bool saw_plus; bool saw_plus;
...@@ -5905,7 +5901,7 @@ legitimate_pic_address_disp_p (register rtx disp) ...@@ -5905,7 +5901,7 @@ legitimate_pic_address_disp_p (register rtx disp)
be recognized. */ be recognized. */
int int
legitimate_address_p (enum machine_mode mode, register rtx addr, int strict) legitimate_address_p (enum machine_mode mode, rtx addr, int strict)
{ {
struct ix86_address parts; struct ix86_address parts;
rtx base, index, disp; rtx base, index, disp;
...@@ -6473,8 +6469,7 @@ legitimize_tls_address (rtx x, enum tls_model model, int for_mov) ...@@ -6473,8 +6469,7 @@ legitimize_tls_address (rtx x, enum tls_model model, int for_mov)
See comments by legitimize_pic_address in i386.c for details. */ See comments by legitimize_pic_address in i386.c for details. */
rtx rtx
legitimize_address (register rtx x, register rtx oldx ATTRIBUTE_UNUSED, legitimize_address (rtx x, rtx oldx ATTRIBUTE_UNUSED, enum machine_mode mode)
enum machine_mode mode)
{ {
int changed = 0; int changed = 0;
unsigned log; unsigned log;
...@@ -6614,8 +6609,8 @@ legitimize_address (register rtx x, register rtx oldx ATTRIBUTE_UNUSED, ...@@ -6614,8 +6609,8 @@ legitimize_address (register rtx x, register rtx oldx ATTRIBUTE_UNUSED,
if (GET_CODE (XEXP (x, 0)) == REG) if (GET_CODE (XEXP (x, 0)) == REG)
{ {
register rtx temp = gen_reg_rtx (Pmode); rtx temp = gen_reg_rtx (Pmode);
register rtx val = force_operand (XEXP (x, 1), temp); rtx val = force_operand (XEXP (x, 1), temp);
if (val != temp) if (val != temp)
emit_move_insn (temp, val); emit_move_insn (temp, val);
...@@ -6625,8 +6620,8 @@ legitimize_address (register rtx x, register rtx oldx ATTRIBUTE_UNUSED, ...@@ -6625,8 +6620,8 @@ legitimize_address (register rtx x, register rtx oldx ATTRIBUTE_UNUSED,
else if (GET_CODE (XEXP (x, 1)) == REG) else if (GET_CODE (XEXP (x, 1)) == REG)
{ {
register rtx temp = gen_reg_rtx (Pmode); rtx temp = gen_reg_rtx (Pmode);
register rtx val = force_operand (XEXP (x, 0), temp); rtx val = force_operand (XEXP (x, 0), temp);
if (val != temp) if (val != temp)
emit_move_insn (temp, val); emit_move_insn (temp, val);
...@@ -7508,7 +7503,7 @@ print_operand (FILE *file, rtx x, int code) ...@@ -7508,7 +7503,7 @@ print_operand (FILE *file, rtx x, int code)
/* Print a memory operand whose address is ADDR. */ /* Print a memory operand whose address is ADDR. */
void void
print_operand_address (FILE *file, register rtx addr) print_operand_address (FILE *file, rtx addr)
{ {
struct ix86_address parts; struct ix86_address parts;
rtx base, index, disp; rtx base, index, disp;
......
...@@ -65,13 +65,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -65,13 +65,13 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do \ do \
{ \ { \
register const unsigned char *_ascii_bytes = \ const unsigned char *_ascii_bytes = \
(const unsigned char *) (STR); \ (const unsigned char *) (STR); \
register const unsigned char *limit = _ascii_bytes + (LENGTH); \ const unsigned char *limit = _ascii_bytes + (LENGTH); \
register unsigned bytes_in_chunk = 0; \ unsigned bytes_in_chunk = 0; \
for (; _ascii_bytes < limit; _ascii_bytes++) \ for (; _ascii_bytes < limit; _ascii_bytes++) \
{ \ { \
register const unsigned char *p; \ const unsigned char *p; \
if (bytes_in_chunk >= 64) \ if (bytes_in_chunk >= 64) \
{ \ { \
fputc ('\n', (FILE)); \ fputc ('\n', (FILE)); \
......
...@@ -57,13 +57,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -57,13 +57,13 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do \ do \
{ \ { \
register const unsigned char *_ascii_bytes = \ const unsigned char *_ascii_bytes = \
(const unsigned char *) (STR); \ (const unsigned char *) (STR); \
register const unsigned char *limit = _ascii_bytes + (LENGTH); \ const unsigned char *limit = _ascii_bytes + (LENGTH); \
register unsigned bytes_in_chunk = 0; \ unsigned bytes_in_chunk = 0; \
for (; _ascii_bytes < limit; _ascii_bytes++) \ for (; _ascii_bytes < limit; _ascii_bytes++) \
{ \ { \
register const unsigned char *p; \ const unsigned char *p; \
if (bytes_in_chunk >= 64) \ if (bytes_in_chunk >= 64) \
{ \ { \
fputc ('\n', (FILE)); \ fputc ('\n', (FILE)); \
......
...@@ -52,13 +52,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -52,13 +52,13 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \
do \ do \
{ \ { \
register const unsigned char *_ascii_bytes = \ const unsigned char *_ascii_bytes = \
(const unsigned char *) (STR); \ (const unsigned char *) (STR); \
register const unsigned char *limit = _ascii_bytes + (LENGTH); \ const unsigned char *limit = _ascii_bytes + (LENGTH); \
register unsigned bytes_in_chunk = 0; \ unsigned bytes_in_chunk = 0; \
for (; _ascii_bytes < limit; _ascii_bytes++) \ for (; _ascii_bytes < limit; _ascii_bytes++) \
{ \ { \
register const unsigned char *p; \ const unsigned char *p; \
if (bytes_in_chunk >= 64) \ if (bytes_in_chunk >= 64) \
{ \ { \
fputc ('\n', (FILE)); \ fputc ('\n', (FILE)); \
......
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