mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 04:38:58 +08:00
sh.c (barrier_align, push): Shut up compiler warnings.
* sh.c (barrier_align, push): Shut up compiler warnings. (initial_elimination_offset,sh_media_init_builtins): Likewise. (reg_no_subreg_operand): Delete. From-SVN: r55555
This commit is contained in:
parent
61fee9b3b4
commit
d042370eb0
@ -1,3 +1,9 @@
|
|||||||
|
Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
|
* sh.c (barrier_align, push): Shut up compiler warnings.
|
||||||
|
(initial_elimination_offset,sh_media_init_builtins): Likewise.
|
||||||
|
(reg_no_subreg_operand): Delete.
|
||||||
|
|
||||||
2002-07-17 Bo Thorsen <bo@suse.de>
|
2002-07-17 Bo Thorsen <bo@suse.de>
|
||||||
|
|
||||||
* config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
|
* config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
|
||||||
|
@ -3288,7 +3288,7 @@ barrier_align (barrier_or_label)
|
|||||||
/* If this is a very small table, we want to keep the alignment after
|
/* If this is a very small table, we want to keep the alignment after
|
||||||
the table to the minimum for proper code alignment. */
|
the table to the minimum for proper code alignment. */
|
||||||
return ((TARGET_SMALLCODE
|
return ((TARGET_SMALLCODE
|
||||||
|| (XVECLEN (pat, 1) * GET_MODE_SIZE (GET_MODE (pat))
|
|| ((unsigned) XVECLEN (pat, 1) * GET_MODE_SIZE (GET_MODE (pat))
|
||||||
<= (unsigned)1 << (CACHE_LOG - 2)))
|
<= (unsigned)1 << (CACHE_LOG - 2)))
|
||||||
? 1 << TARGET_SHMEDIA : CACHE_LOG);
|
? 1 << TARGET_SHMEDIA : CACHE_LOG);
|
||||||
}
|
}
|
||||||
@ -4309,7 +4309,7 @@ push (rn)
|
|||||||
&& FP_OR_XD_REGISTER_P (rn))
|
&& FP_OR_XD_REGISTER_P (rn))
|
||||||
{
|
{
|
||||||
if (FP_REGISTER_P (rn) && (rn - FIRST_FP_REG) & 1)
|
if (FP_REGISTER_P (rn) && (rn - FIRST_FP_REG) & 1)
|
||||||
return;
|
return NULL_RTX;
|
||||||
x = gen_push_4 (gen_rtx_REG (DFmode, rn));
|
x = gen_push_4 (gen_rtx_REG (DFmode, rn));
|
||||||
}
|
}
|
||||||
else if (TARGET_SH3E && FP_REGISTER_P (rn))
|
else if (TARGET_SH3E && FP_REGISTER_P (rn))
|
||||||
@ -5529,6 +5529,7 @@ initial_elimination_offset (from, to)
|
|||||||
|
|
||||||
if (from == RETURN_ADDRESS_POINTER_REGNUM
|
if (from == RETURN_ADDRESS_POINTER_REGNUM
|
||||||
&& (to == FRAME_POINTER_REGNUM || to == STACK_POINTER_REGNUM))
|
&& (to == FRAME_POINTER_REGNUM || to == STACK_POINTER_REGNUM))
|
||||||
|
{
|
||||||
if (TARGET_SH5)
|
if (TARGET_SH5)
|
||||||
{
|
{
|
||||||
int i, n = total_saved_regs_space;
|
int i, n = total_saved_regs_space;
|
||||||
@ -5581,7 +5582,8 @@ initial_elimination_offset (from, to)
|
|||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return total_auto_space;
|
return total_auto_space;
|
||||||
|
}
|
||||||
|
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
@ -5827,20 +5829,6 @@ general_movdst_operand (op, mode)
|
|||||||
return general_operand (op, mode);
|
return general_operand (op, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Accept a register, but not a subreg of any kind. This allows us to
|
|
||||||
avoid pathological cases in reload wrt data movement common in
|
|
||||||
int->fp conversion. */
|
|
||||||
|
|
||||||
int
|
|
||||||
reg_no_subreg_operand (op, mode)
|
|
||||||
register rtx op;
|
|
||||||
enum machine_mode mode;
|
|
||||||
{
|
|
||||||
if (GET_CODE (op) == SUBREG)
|
|
||||||
return 0;
|
|
||||||
return register_operand (op, mode);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Returns 1 if OP is a normal arithmetic register. */
|
/* Returns 1 if OP is a normal arithmetic register. */
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -7451,7 +7439,7 @@ sh_media_init_builtins ()
|
|||||||
const struct builtin_description *d;
|
const struct builtin_description *d;
|
||||||
|
|
||||||
memset (shared, 0, sizeof shared);
|
memset (shared, 0, sizeof shared);
|
||||||
for (d = bdesc; d - bdesc < sizeof bdesc / sizeof bdesc[0]; d++)
|
for (d = bdesc; d - bdesc < (int) (sizeof bdesc / sizeof bdesc[0]); d++)
|
||||||
{
|
{
|
||||||
tree type, arg_type;
|
tree type, arg_type;
|
||||||
int signature = d->signature;
|
int signature = d->signature;
|
||||||
|
Loading…
Reference in New Issue
Block a user