mirror of git://gcc.gnu.org/git/gcc.git
rx.c (rx_mode_dependent_address_p): Allow offsets up to 16 bits.
* config/rx/rx.c (rx_mode_dependent_address_p): Allow offsets up to 16 bits. From-SVN: r204795
This commit is contained in:
parent
9572918137
commit
eb1c879cfd
|
|
@ -1,3 +1,8 @@
|
||||||
|
2013-11-14 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
|
* config/rx/rx.c (rx_mode_dependent_address_p): Allow offsets up
|
||||||
|
to 16 bits.
|
||||||
|
|
||||||
2013-11-14 Jeff Law <law@redhat.com>
|
2013-11-14 Jeff Law <law@redhat.com>
|
||||||
|
|
||||||
* tree-ssa-threadedge.c (thread_through_normal_block): Only push
|
* tree-ssa-threadedge.c (thread_through_normal_block): Only push
|
||||||
|
|
|
||||||
|
|
@ -344,9 +344,9 @@ rx_mode_dependent_address_p (const_rtx addr, addr_space_t as ATTRIBUTE_UNUSED)
|
||||||
|
|
||||||
case CONST_INT:
|
case CONST_INT:
|
||||||
/* REG+INT is only mode independent if INT is a
|
/* REG+INT is only mode independent if INT is a
|
||||||
multiple of 4, positive and will fit into 8-bits. */
|
multiple of 4, positive and will fit into 16-bits. */
|
||||||
if (((INTVAL (addr) & 3) == 0)
|
if (((INTVAL (addr) & 3) == 0)
|
||||||
&& IN_RANGE (INTVAL (addr), 4, 252))
|
&& IN_RANGE (INTVAL (addr), 4, 0xfffc))
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue