Commit 6462fab0 by Joern Rennecke Committed by Joern Rennecke

arc.c (arc_conditional_register_usage): Use ARC_FIRST_SIMD_VR_REG / ARC_LAST_SIMD_VR_REG.

        * 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
parent 5d5f6720
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.
......
......@@ -1196,7 +1196,10 @@ arc_conditional_register_usage (void)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment