* config/arm/arm.md (load_multiple): Reject operand 2 greater than
MAX_LDM_STM_OPS.
(store_multiple): Likewise.
From-SVN: r222357
+2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.md (load_multiple): Reject operand 2 greater than
+ MAX_LDM_STM_OPS.
+ (store_multiple): Likewise.
+
2015-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm-protos.h (struct tune_params): Add issue_rate field.
/* Support only fixed point registers. */
if (!CONST_INT_P (operands[2])
- || INTVAL (operands[2]) > 14
+ || INTVAL (operands[2]) > MAX_LDM_STM_OPS
|| INTVAL (operands[2]) < 2
|| !MEM_P (operands[1])
|| !REG_P (operands[0])
/* Support only fixed point registers. */
if (!CONST_INT_P (operands[2])
- || INTVAL (operands[2]) > 14
+ || INTVAL (operands[2]) > MAX_LDM_STM_OPS
|| INTVAL (operands[2]) < 2
|| !REG_P (operands[1])
|| !MEM_P (operands[0])