* config/arc/arc.c (arc_conditional_register_usage):
Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG.
Also set reg_alloc_order for DMA config regs.
From-SVN: r203075
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
+
+ * config/arc/arc.c (arc_conditional_register_usage):
+ Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG.
+ Also set reg_alloc_order for DMA config regs.
+
+2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
Jeremy Bennett <jeremy.bennett@embecosm.com>
* doc/install.texi (--with-cpu): Mention ARC.
if (TARGET_SIMD_SET)
{
int i;
- for (i=64; i<88; i++)
+ for (i = ARC_FIRST_SIMD_VR_REG; i <= ARC_LAST_SIMD_VR_REG; i++)
+ reg_alloc_order [i] = i;
+ for (i = ARC_FIRST_SIMD_DMA_CONFIG_REG;
+ i <= ARC_LAST_SIMD_DMA_CONFIG_REG; i++)
reg_alloc_order [i] = i;
}
/* For Arctangent-A5 / ARC600, lp_count may not be read in an instruction