Commit f4f4d0f8 by Kazu Hirata Committed by Kazu Hirata

read-rtl.c: Fix formatting.

	* read-rtl.c: Fix formatting.
	* real.c: Likewise.
	* regclass.c: Likewise.
	* regrename.c: Likewise.
	* reg-stack.c: Likewise.
	* reload1.c: Likewise.
	* reload.c: Likewise.
	* rtl.c: Likewise.

From-SVN: r48704
parent 54a8a50f
2002-01-09 Kazu Hirata <kazu@hxi.com> 2002-01-09 Kazu Hirata <kazu@hxi.com>
* read-rtl.c: Fix formatting.
* real.c: Likewise.
* regclass.c: Likewise.
* regrename.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* rtl.c: Likewise.
2002-01-09 Kazu Hirata <kazu@hxi.com>
* rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
to extract items in the expr_list chain. to extract items in the expr_list chain.
......
/* RTL reader for GNU C Compiler. /* RTL reader for GNU C Compiler.
Copyright (C) 1987, 1988, 1991, 1994, 1997, 1998, 1999, 2000, 2001 Copyright (C) 1987, 1988, 1991, 1994, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -396,7 +396,7 @@ atoll(p) ...@@ -396,7 +396,7 @@ atoll(p)
if (new_wide < tmp_wide) if (new_wide < tmp_wide)
{ {
/* Return INT_MAX equiv on overflow. */ /* Return INT_MAX equiv on overflow. */
tmp_wide = (~(unsigned HOST_WIDE_INT)0) >> 1; tmp_wide = (~(unsigned HOST_WIDE_INT) 0) >> 1;
break; break;
} }
tmp_wide = new_wide; tmp_wide = new_wide;
......
/* real.c - implementation of REAL_ARITHMETIC, REAL_VALUE_ATOF, /* real.c - implementation of REAL_ARITHMETIC, REAL_VALUE_ATOF,
and support for XFmode IEEE extended real floating point arithmetic. and support for XFmode IEEE extended real floating point arithmetic.
Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000 Free Software Foundation, Inc. 1999, 2000, 2002 Free Software Foundation, Inc.
Contributed by Stephen L. Moshier (moshier@world.std.com). Contributed by Stephen L. Moshier (moshier@world.std.com).
This file is part of GCC. This file is part of GCC.
...@@ -272,7 +272,7 @@ typedef unsigned int UHItype __attribute__ ((mode (HI))); ...@@ -272,7 +272,7 @@ typedef unsigned int UHItype __attribute__ ((mode (HI)));
do { \ do { \
memcpy ((r), (e), 2*NE); \ memcpy ((r), (e), 2*NE); \
if (2*NE < sizeof(*r)) \ if (2*NE < sizeof(*r)) \
memset ((char *)(r) + 2*NE, 0, sizeof(*r) - 2*NE); \ memset ((char *) (r) + 2*NE, 0, sizeof(*r) - 2*NE); \
} while (0) } while (0)
# else /* no XFmode */ # else /* no XFmode */
# if MAX_LONG_DOUBLE_TYPE_SIZE == 128 # if MAX_LONG_DOUBLE_TYPE_SIZE == 128
...@@ -284,7 +284,7 @@ typedef unsigned int UHItype __attribute__ ((mode (HI))); ...@@ -284,7 +284,7 @@ typedef unsigned int UHItype __attribute__ ((mode (HI)));
do { \ do { \
memcpy ((r), (e), 2*NE); \ memcpy ((r), (e), 2*NE); \
if (2*NE < sizeof(*r)) \ if (2*NE < sizeof(*r)) \
memset ((char *)(r) + 2*NE, 0, sizeof(*r) - 2*NE); \ memset ((char *) (r) + 2*NE, 0, sizeof(*r) - 2*NE); \
} while (0) } while (0)
#else #else
#define NE 6 #define NE 6
...@@ -2423,7 +2423,7 @@ edivm (den, num) ...@@ -2423,7 +2423,7 @@ edivm (den, num)
tnum = (((unsigned EMULONG) num[M]) << 16) + num[M+1]; tnum = (((unsigned EMULONG) num[M]) << 16) + num[M+1];
/* Do not execute the divide instruction if it will overflow. */ /* Do not execute the divide instruction if it will overflow. */
if ((tdenm * (unsigned long)0xffff) < tnum) if ((tdenm * (unsigned long) 0xffff) < tnum)
tquot = 0xffff; tquot = 0xffff;
else else
tquot = tnum / tdenm; tquot = tnum / tdenm;
......
/* Register to Stack convert for GNU compiler. /* Register to Stack convert for GNU compiler.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001 Free Software Foundation, Inc. 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -226,7 +226,7 @@ static rtx ...@@ -226,7 +226,7 @@ static rtx
FP_mode_reg[LAST_STACK_REG+1-FIRST_STACK_REG][(int) MAX_MACHINE_MODE]; FP_mode_reg[LAST_STACK_REG+1-FIRST_STACK_REG][(int) MAX_MACHINE_MODE];
#define FP_MODE_REG(regno,mode) \ #define FP_MODE_REG(regno,mode) \
(FP_mode_reg[(regno)-FIRST_STACK_REG][(int)(mode)]) (FP_mode_reg[(regno)-FIRST_STACK_REG][(int) (mode)])
/* Used to initialize uninitialized registers. */ /* Used to initialize uninitialized registers. */
static rtx nan; static rtx nan;
...@@ -1438,7 +1438,7 @@ subst_stack_regs_pat (insn, regstack, pat) ...@@ -1438,7 +1438,7 @@ subst_stack_regs_pat (insn, regstack, pat)
} }
/* ??? Uninitialized USE should not happen. */ /* ??? Uninitialized USE should not happen. */
else if (get_hard_regnum (regstack, *src) == -1) else if (get_hard_regnum (regstack, *src) == -1)
abort(); abort ();
break; break;
case CLOBBER: case CLOBBER:
......
/* Compute register class preferences for pseudo-registers. /* Compute register class preferences for pseudo-registers.
Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996 Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996
1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -2305,9 +2305,9 @@ free_reg_info () ...@@ -2305,9 +2305,9 @@ free_reg_info ()
} }
free (reg_pref_buffer); free (reg_pref_buffer);
reg_pref_buffer = (struct reg_pref *)0; reg_pref_buffer = (struct reg_pref *) 0;
reg_info_head = (struct reg_info_data *)0; reg_info_head = (struct reg_info_data *) 0;
renumber = (short *)0; renumber = (short *) 0;
} }
regno_allocated = 0; regno_allocated = 0;
reg_n_max = 0; reg_n_max = 0;
......
/* Register renaming for the GNU compiler. /* Register renaming for the GNU compiler.
Copyright (C) 2000, 2001 Free Software Foundation, Inc. Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
......
/* Search an insn for pseudo regs that must be in hard regs and are not. /* Search an insn for pseudo regs that must be in hard regs and are not.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001 Free Software Foundation, Inc. 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -642,7 +642,7 @@ get_secondary_mem (x, mode, opnum, type) ...@@ -642,7 +642,7 @@ get_secondary_mem (x, mode, opnum, type)
: type == RELOAD_FOR_OUTPUT ? RELOAD_FOR_OUTPUT_ADDRESS : type == RELOAD_FOR_OUTPUT ? RELOAD_FOR_OUTPUT_ADDRESS
: RELOAD_OTHER); : RELOAD_OTHER);
find_reloads_address (mode, (rtx*)0, XEXP (loc, 0), &XEXP (loc, 0), find_reloads_address (mode, (rtx*) 0, XEXP (loc, 0), &XEXP (loc, 0),
opnum, type, 0, 0); opnum, type, 0, 0);
} }
...@@ -913,7 +913,7 @@ push_reload (in, out, inloc, outloc, class, ...@@ -913,7 +913,7 @@ push_reload (in, out, inloc, outloc, class,
default: default:
break; break;
} }
/* If we are reloading a (SUBREG constant ...), really reload just the /* If we are reloading a (SUBREG constant ...), really reload just the
inside expression in its own mode. Similarly for (SUBREG (PLUS ...)). inside expression in its own mode. Similarly for (SUBREG (PLUS ...)).
...@@ -1047,7 +1047,7 @@ push_reload (in, out, inloc, outloc, class, ...@@ -1047,7 +1047,7 @@ push_reload (in, out, inloc, outloc, class,
order as the reloads. Thus if the outer reload is also of type order as the reloads. Thus if the outer reload is also of type
RELOAD_OTHER, we are guaranteed that this inner reload will be RELOAD_OTHER, we are guaranteed that this inner reload will be
output before the outer reload. */ output before the outer reload. */
push_reload (SUBREG_REG (in), NULL_RTX, &SUBREG_REG (in), (rtx *)0, push_reload (SUBREG_REG (in), NULL_RTX, &SUBREG_REG (in), (rtx *) 0,
in_class, VOIDmode, VOIDmode, 0, 0, opnum, type); in_class, VOIDmode, VOIDmode, 0, 0, opnum, type);
dont_remove_subreg = 1; dont_remove_subreg = 1;
} }
...@@ -1925,7 +1925,7 @@ find_dummy_reload (real_in, real_out, inloc, outloc, ...@@ -1925,7 +1925,7 @@ find_dummy_reload (real_in, real_out, inloc, outloc,
unsigned int regno = REGNO (in) + in_offset; unsigned int regno = REGNO (in) + in_offset;
unsigned int nwords = HARD_REGNO_NREGS (regno, inmode); unsigned int nwords = HARD_REGNO_NREGS (regno, inmode);
if (! refers_to_regno_for_reload_p (regno, regno + nwords, out, (rtx*)0) if (! refers_to_regno_for_reload_p (regno, regno + nwords, out, (rtx*) 0)
&& ! hard_reg_set_here_p (regno, regno + nwords, && ! hard_reg_set_here_p (regno, regno + nwords,
PATTERN (this_insn)) PATTERN (this_insn))
&& (! earlyclobber && (! earlyclobber
...@@ -2344,7 +2344,7 @@ immune_p (x, y, ydata) ...@@ -2344,7 +2344,7 @@ immune_p (x, y, ydata)
struct decomposition xdata; struct decomposition xdata;
if (ydata.reg_flag) if (ydata.reg_flag)
return !refers_to_regno_for_reload_p (ydata.start, ydata.end, x, (rtx*)0); return !refers_to_regno_for_reload_p (ydata.start, ydata.end, x, (rtx*) 0);
if (ydata.safe) if (ydata.safe)
return 1; return 1;
...@@ -2623,7 +2623,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ...@@ -2623,7 +2623,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
; ;
else if (constraints[i][0] == 'p') else if (constraints[i][0] == 'p')
{ {
find_reloads_address (VOIDmode, (rtx*)0, find_reloads_address (VOIDmode, (rtx*) 0,
recog_data.operand[i], recog_data.operand[i],
recog_data.operand_loc[i], recog_data.operand_loc[i],
i, operand_type[i], ind_levels, insn); i, operand_type[i], ind_levels, insn);
...@@ -3685,7 +3685,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ...@@ -3685,7 +3685,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
{ {
operand_reloadnum[i] operand_reloadnum[i]
= push_reload (XEXP (recog_data.operand[i], 0), NULL_RTX, = push_reload (XEXP (recog_data.operand[i], 0), NULL_RTX,
&XEXP (recog_data.operand[i], 0), (rtx*)0, &XEXP (recog_data.operand[i], 0), (rtx*) 0,
MODE_BASE_REG_CLASS (VOIDmode), MODE_BASE_REG_CLASS (VOIDmode),
GET_MODE (XEXP (recog_data.operand[i], 0)), GET_MODE (XEXP (recog_data.operand[i], 0)),
VOIDmode, 0, 0, i, RELOAD_FOR_INPUT); VOIDmode, 0, 0, i, RELOAD_FOR_INPUT);
...@@ -4568,7 +4568,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) ...@@ -4568,7 +4568,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn)
tem = make_memloc (ad, regno); tem = make_memloc (ad, regno);
if (! strict_memory_address_p (GET_MODE (tem), XEXP (tem, 0))) if (! strict_memory_address_p (GET_MODE (tem), XEXP (tem, 0)))
{ {
find_reloads_address (GET_MODE (tem), (rtx*)0, XEXP (tem, 0), find_reloads_address (GET_MODE (tem), (rtx*) 0, XEXP (tem, 0),
&XEXP (tem, 0), opnum, ADDR_TYPE (type), &XEXP (tem, 0), opnum, ADDR_TYPE (type),
ind_levels, insn); ind_levels, insn);
} }
...@@ -4617,7 +4617,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) ...@@ -4617,7 +4617,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn)
return 0; return 0;
/* If we do not have one of the cases above, we must do the reload. */ /* If we do not have one of the cases above, we must do the reload. */
push_reload (ad, NULL_RTX, loc, (rtx*)0, MODE_BASE_REG_CLASS (mode), push_reload (ad, NULL_RTX, loc, (rtx*) 0, MODE_BASE_REG_CLASS (mode),
GET_MODE (ad), VOIDmode, 0, 0, opnum, type); GET_MODE (ad), VOIDmode, 0, 0, opnum, type);
return 1; return 1;
} }
...@@ -4717,7 +4717,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn) ...@@ -4717,7 +4717,7 @@ find_reloads_address (mode, memrefloc, ad, loc, opnum, type, ind_levels, insn)
{ {
/* Must use TEM here, not AD, since it is the one that will /* Must use TEM here, not AD, since it is the one that will
have any subexpressions reloaded, if needed. */ have any subexpressions reloaded, if needed. */
push_reload (tem, NULL_RTX, loc, (rtx*)0, push_reload (tem, NULL_RTX, loc, (rtx*) 0,
MODE_BASE_REG_CLASS (mode), GET_MODE (tem), MODE_BASE_REG_CLASS (mode), GET_MODE (tem),
VOIDmode, 0, VOIDmode, 0,
0, opnum, type); 0, opnum, type);
...@@ -5432,7 +5432,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5432,7 +5432,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
else else
{ {
reloadnum reloadnum
= push_reload (x, NULL_RTX, loc, (rtx*)0, = push_reload (x, NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : (context ? INDEX_REG_CLASS :
MODE_BASE_REG_CLASS (mode)), MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), GET_MODE (x), 0, 0, GET_MODE (x), GET_MODE (x), 0, 0,
...@@ -5473,7 +5473,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5473,7 +5473,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
XEXP (XEXP (x, 0), 0), &XEXP (XEXP (x, 0), 0), XEXP (XEXP (x, 0), 0), &XEXP (XEXP (x, 0), 0),
opnum, type, ind_levels, insn); opnum, type, ind_levels, insn);
reloadnum = push_reload (x, NULL_RTX, loc, (rtx*)0, reloadnum = push_reload (x, NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : (context ? INDEX_REG_CLASS :
MODE_BASE_REG_CLASS (mode)), MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
...@@ -5503,7 +5503,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5503,7 +5503,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
find_reloads_address (GET_MODE (x), loc, XEXP (x, 0), &XEXP (x, 0), find_reloads_address (GET_MODE (x), loc, XEXP (x, 0), &XEXP (x, 0),
opnum, ADDR_TYPE (type), ind_levels, insn); opnum, ADDR_TYPE (type), ind_levels, insn);
push_reload (*loc, NULL_RTX, loc, (rtx*)0, push_reload (*loc, NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
return 1; return 1;
...@@ -5525,7 +5525,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5525,7 +5525,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
that feeds this insn. */ that feeds this insn. */
if (reg_equiv_mem[regno] != 0) if (reg_equiv_mem[regno] != 0)
{ {
push_reload (reg_equiv_mem[regno], NULL_RTX, loc, (rtx*)0, push_reload (reg_equiv_mem[regno], NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : (context ? INDEX_REG_CLASS :
MODE_BASE_REG_CLASS (mode)), MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
...@@ -5554,7 +5554,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5554,7 +5554,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
|| !(context ? REGNO_OK_FOR_INDEX_P (regno) || !(context ? REGNO_OK_FOR_INDEX_P (regno)
: REGNO_MODE_OK_FOR_BASE_P (regno, mode)))) : REGNO_MODE_OK_FOR_BASE_P (regno, mode))))
{ {
push_reload (x, NULL_RTX, loc, (rtx*)0, push_reload (x, NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
return 1; return 1;
...@@ -5566,7 +5566,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5566,7 +5566,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
from before this insn to after it. */ from before this insn to after it. */
if (regno_clobbered_p (regno, this_insn, GET_MODE (x), 0)) if (regno_clobbered_p (regno, this_insn, GET_MODE (x), 0))
{ {
push_reload (x, NULL_RTX, loc, (rtx*)0, push_reload (x, NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)), (context ? INDEX_REG_CLASS : MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
return 1; return 1;
...@@ -5587,7 +5587,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5587,7 +5587,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
if (! (context ? REGNO_OK_FOR_INDEX_P (regno) if (! (context ? REGNO_OK_FOR_INDEX_P (regno)
: REGNO_MODE_OK_FOR_BASE_P (regno, mode))) : REGNO_MODE_OK_FOR_BASE_P (regno, mode)))
{ {
push_reload (x, NULL_RTX, loc, (rtx*)0, push_reload (x, NULL_RTX, loc, (rtx*) 0,
(context ? INDEX_REG_CLASS : (context ? INDEX_REG_CLASS :
MODE_BASE_REG_CLASS (mode)), MODE_BASE_REG_CLASS (mode)),
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
...@@ -5605,7 +5605,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn) ...@@ -5605,7 +5605,7 @@ find_reloads_address_1 (mode, x, context, loc, opnum, type, ind_levels, insn)
{ {
x = find_reloads_subreg_address (x, 0, opnum, type, x = find_reloads_subreg_address (x, 0, opnum, type,
ind_levels, insn); ind_levels, insn);
push_reload (x, NULL_RTX, loc, (rtx*)0, class, push_reload (x, NULL_RTX, loc, (rtx*) 0, class,
GET_MODE (x), VOIDmode, 0, 0, opnum, type); GET_MODE (x), VOIDmode, 0, 0, opnum, type);
return 1; return 1;
} }
...@@ -5681,7 +5681,7 @@ find_reloads_address_part (x, loc, class, mode, opnum, type, ind_levels) ...@@ -5681,7 +5681,7 @@ find_reloads_address_part (x, loc, class, mode, opnum, type, ind_levels)
opnum, type, ind_levels, 0); opnum, type, ind_levels, 0);
} }
push_reload (x, NULL_RTX, loc, (rtx*)0, class, push_reload (x, NULL_RTX, loc, (rtx*) 0, class,
mode, VOIDmode, 0, 0, opnum, type); mode, VOIDmode, 0, 0, opnum, type);
} }
...@@ -6045,7 +6045,7 @@ refers_to_regno_for_reload_p (regno, endregno, x, loc) ...@@ -6045,7 +6045,7 @@ refers_to_regno_for_reload_p (regno, endregno, x, loc)
if (reg_equiv_memory_loc[r]) if (reg_equiv_memory_loc[r])
return refers_to_regno_for_reload_p (regno, endregno, return refers_to_regno_for_reload_p (regno, endregno,
reg_equiv_memory_loc[r], reg_equiv_memory_loc[r],
(rtx*)0); (rtx*) 0);
if (reg_equiv_constant[r]) if (reg_equiv_constant[r])
return 0; return 0;
...@@ -6191,7 +6191,7 @@ reg_overlap_mentioned_for_reload_p (x, in) ...@@ -6191,7 +6191,7 @@ reg_overlap_mentioned_for_reload_p (x, in)
endregno = regno + (regno < FIRST_PSEUDO_REGISTER endregno = regno + (regno < FIRST_PSEUDO_REGISTER
? HARD_REGNO_NREGS (regno, GET_MODE (x)) : 1); ? HARD_REGNO_NREGS (regno, GET_MODE (x)) : 1);
return refers_to_regno_for_reload_p (regno, endregno, in, (rtx*)0); return refers_to_regno_for_reload_p (regno, endregno, in, (rtx*) 0);
} }
/* Return nonzero if anything in X contains a MEM. Look also for pseudo /* Return nonzero if anything in X contains a MEM. Look also for pseudo
...@@ -6446,7 +6446,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode) ...@@ -6446,7 +6446,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
&& refers_to_regno_for_reload_p (valueno, && refers_to_regno_for_reload_p (valueno,
(valueno (valueno
+ HARD_REGNO_NREGS (valueno, mode)), + HARD_REGNO_NREGS (valueno, mode)),
goal, (rtx*)0)) goal, (rtx*) 0))
return 0; return 0;
/* Reject registers that overlap GOAL. */ /* Reject registers that overlap GOAL. */
......
/* Reload pseudo regs into hard regs for insns that require hard regs. /* Reload pseudo regs into hard regs for insns that require hard regs.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001 Free Software Foundation, Inc. 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -4835,7 +4835,7 @@ reload_reg_free_for_value_p (start_regno, regno, opnum, type, value, out, ...@@ -4835,7 +4835,7 @@ reload_reg_free_for_value_p (start_regno, regno, opnum, type, value, out,
rtx reg = rld[i].reg_rtx; rtx reg = rld[i].reg_rtx;
if (reg && GET_CODE (reg) == REG if (reg && GET_CODE (reg) == REG
&& ((unsigned) regno - true_regnum (reg) && ((unsigned) regno - true_regnum (reg)
<= HARD_REGNO_NREGS (REGNO (reg), GET_MODE (reg)) - (unsigned)1) <= HARD_REGNO_NREGS (REGNO (reg), GET_MODE (reg)) - (unsigned) 1)
&& i != reloadnum) && i != reloadnum)
{ {
rtx other_input = rld[i].in; rtx other_input = rld[i].in;
......
/* RTL utility routines. /* RTL utility routines.
Copyright (C) 1987, 1988, 1991, 1994, 1997, 1998, 1999, 2000, 2001 Copyright (C) 1987, 1988, 1991, 1994, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -180,7 +180,7 @@ const unsigned char mode_wider_mode[NUM_MACHINE_MODES] = { ...@@ -180,7 +180,7 @@ const unsigned char mode_wider_mode[NUM_MACHINE_MODES] = {
#undef DEF_MACHMODE #undef DEF_MACHMODE
#define DEF_MACHMODE(SYM, NAME, CLASS, BITSIZE, SIZE, UNIT, WIDER) \ #define DEF_MACHMODE(SYM, NAME, CLASS, BITSIZE, SIZE, UNIT, WIDER) \
((BITSIZE) >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << (BITSIZE)) - 1, ((BITSIZE) >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT) 0 : ((unsigned HOST_WIDE_INT) 1 << (BITSIZE)) - 1,
/* Indexed by machine mode, gives mask of significant bits in mode. */ /* Indexed by machine mode, gives mask of significant bits in mode. */
......
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