mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-12 03:16:50 +08:00
reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered output conflict with RELOAD_INPUT...
* reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered output conflict with RELOAD_INPUT reloads. From-SVN: r29935
This commit is contained in:
parent
c7847bc8f5
commit
57850c857c
@ -1,3 +1,8 @@
|
||||
Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
* reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
|
||||
an earlyclobbered output conflict with RELOAD_INPUT reloads.
|
||||
|
||||
Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
|
||||
|
@ -5258,7 +5258,7 @@ reload_reg_free_for_value_p (regno, opnum, type, value, out, reloadnum,
|
||||
if (! rld[i].in || ! rtx_equal_p (rld[i].in, value)
|
||||
|| rld[i].out || out)
|
||||
{
|
||||
int time2;
|
||||
int j, time2;
|
||||
switch (rld[i].when_needed)
|
||||
{
|
||||
case RELOAD_FOR_OTHER_ADDRESS:
|
||||
@ -5337,6 +5337,11 @@ reload_reg_free_for_value_p (regno, opnum, type, value, out, reloadnum,
|
||||
if (! rld[i].in || rtx_equal_p (rld[i].in, value))
|
||||
{
|
||||
time2 = MAX_RECOG_OPERANDS * 4 + 4;
|
||||
/* Earlyclobbered outputs must conflict with inputs. */
|
||||
for (j = 0; j < n_earlyclobbers; j++)
|
||||
if (reload_out[i] == reload_earlyclobbers[j])
|
||||
time2 = MAX_RECOG_OPERANDS * 4 + 3;
|
||||
|
||||
break;
|
||||
}
|
||||
time2 = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user