+2017-04-14 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/arc.c (arc_mode_dependent_address_p): Relax
+ conditions to take advantage of various optimizations.
+
2017-04-13 Jeff Law <law@redhat.com>
* config/mips.mips.md (zero_extendsidi2): Do not allow SP to appear
{
/* SYMBOL_REF is not mode dependent: it is either a small data reference,
which is valid for loads and stores, or a limm offset, which is valid for
- loads. */
- /* Scaled indices are scaled by the access mode; likewise for scaled
- offsets, which are needed for maximum offset stores. */
+ loads. Scaled indices are scaled by the access mode. */
if (GET_CODE (addr) == PLUS
- && (GET_CODE (XEXP ((addr), 0)) == MULT
- || (CONST_INT_P (XEXP ((addr), 1))
- && !SMALL_INT (INTVAL (XEXP ((addr), 1))))))
+ && GET_CODE (XEXP ((addr), 0)) == MULT)
return true;
return false;
}