(find_barrier): When hi_const returns true, increment count_si by two
if found_si is true. From-SVN: r10495
This commit is contained in:
parent
2ad79487e4
commit
00e94d6531
|
@ -1226,7 +1226,15 @@ find_barrier (from)
|
||||||
rtx src = SET_SRC (PATTERN (from));
|
rtx src = SET_SRC (PATTERN (from));
|
||||||
|
|
||||||
if (hi_const (src))
|
if (hi_const (src))
|
||||||
found_hi = 1;
|
{
|
||||||
|
found_hi = 1;
|
||||||
|
/* We put the short constants before the long constants, so
|
||||||
|
we must count the length of short constants in the range
|
||||||
|
for the long constants. */
|
||||||
|
/* ??? This isn't optimal, but is easy to do. */
|
||||||
|
if (found_si)
|
||||||
|
count_si += 2;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
found_si = 1;
|
found_si = 1;
|
||||||
inc = (GET_MODE_SIZE (GET_MODE (src)) > 4) ? 4 : 2;
|
inc = (GET_MODE_SIZE (GET_MODE (src)) > 4) ? 4 : 2;
|
||||||
|
|
Loading…
Reference in New Issue